Re: [PATCH] pinctrl: mediatek: Fix the invalid conditions

From: Linus Walleij
Date: Tue Apr 15 2025 - 03:46:47 EST


On Sat, Mar 29, 2025 at 3:45 AM Hao Chang <ot_chhao.chang@xxxxxxxxxxxx> wrote:

> The variable count_reg_names is defined as an int type and cannot be
> directly compared to an unsigned int. To resolve this issue,
> first verify the correctness of count_reg_names.
>
> https://lore.kernel.org/all/5ae93d42e4c4e70fb33bf35dcc37caebf324c8d3.camel@xxxxxxxxxxxx/T/
> Signed-off-by: Hao Chang <ot_chhao.chang@xxxxxxxxxxxx>
> Signed-off-by: Qingliang Li <qingliang.li@xxxxxxxxxxxx>

Patch applied as nonurgent fix.

Yours,
Linus Walleij