[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175749210857.28519.13259779376506560732.b4-ty@linaro.org>
Date: Wed, 10 Sep 2025 10:15:11 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Yinbo Zhu <zhuyinbo@...ngson.cn>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Yao Zi <ziyao@...root.org>,
Huacai Chen <chenhuacai@...nel.org>,
linux-gpio@...r.kernel.org,
Colin Ian King <colin.i.king@...il.com>
Cc: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] gpio: loongson-64bit: Fix a less than zero check on an unsigned int struct field
From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
On Tue, 09 Sep 2025 20:03:56 +0100, Colin Ian King wrote:
> Currently the error check from the call to platform_get_irq is always
> false because an unsigned int chip->irq.parents[i] is being used to
> to perform the less than zero error check. Fix this by using the int
> variable ret to perform the check.
>
>
Applied, thanks!
[1/1] gpio: loongson-64bit: Fix a less than zero check on an unsigned int struct field
https://git.kernel.org/brgl/linux/c/4c91b0ee35db07ae017dce067c64364c7e95faae
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Powered by blists - more mailing lists