[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdY14ZuAp+mg==M62draaaf897Ry-Nkh93UR132iUqnLvw@mail.gmail.com>
Date: Mon, 1 Sep 2025 15:11:25 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Qianfeng Rong <rongqianfeng@...o.com>
Cc: Andrew Lunn <andrew@...n.ch>, Gregory Clement <gregory.clement@...tlin.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>, Bartosz Golaszewski <brgl@...ev.pl>,
"moderated list:ARM/Marvell Kirkwood and Armada 370, 375, 38x,..." <linux-arm-kernel@...ts.infradead.org>,
"open list:PIN CONTROL SUBSYSTEM" <linux-gpio@...r.kernel.org>, open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] pinctrl: armada-37xx: Use int type to store negative
error codes
On Sun, Aug 31, 2025 at 10:50 AM Qianfeng Rong <rongqianfeng@...o.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@...o.com>
This patch (1/3) applied for next in the pinctrl tree.
Yours,
Linus Walleij
Powered by blists - more mailing lists