[PATCH 1/3] pinctrl: armada-37xx: Use int type to store negative error codes

Linus Walleij linus.walleij at linaro.org
Mon Sep 1 06:11:25 PDT 2025


On Sun, Aug 31, 2025 at 10:50 AM Qianfeng Rong <rongqianfeng at vivo.com> wrote:

> In armada_37xx_gpio_direction_output(), the 'ret' variable might store
> the negative error codes returned by regmap_update_bits(), and in
> armada_37xx_edge_both_irq_swap_pol(), the 'ret' variable directly
> stores -1, so the type of the 'ret' variable needs to be changed to
> int in both cases.
>
> No effect on runtime.
>
> Signed-off-by: Qianfeng Rong <rongqianfeng at vivo.com>

This patch (1/3) applied for next in the pinctrl tree.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list