Re: [PATCH] gpio: rtd: Fix signedness bug in probe

From: Linus Walleij
Date: Fri Jan 12 2024 - 05:26:08 EST


On Fri, Jan 12, 2024 at 7:55 AM Dan Carpenter <dan.carpenter@linaroorg> wrote:

> The "data->irqs[]" array holds unsigned int so this error handling will
> not work correctly.
>
> Fixes: eee636bff0dc ("gpio: rtd: Add support for Realtek DHC(Digital Home Center) RTD SoCs")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Looks right to me!
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij