[PATCH] pinctrl: mediatek: Fix the invalid conditions
Linus Walleij
linus.walleij at linaro.org
Tue Apr 15 00:45:45 PDT 2025
On Sat, Mar 29, 2025 at 3:45 AM Hao Chang <ot_chhao.chang at mediatek.com> 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@mediatek.com/T/
> Signed-off-by: Hao Chang <ot_chhao.chang at mediatek.com>
> Signed-off-by: Qingliang Li <qingliang.li at mediatek.com>
Patch applied as nonurgent fix.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list