]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: single: Fix type in .pin_config_group_get() callback
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 30 Apr 2026 15:33:18 +0000 (17:33 +0200)
committerLinus Walleij <linusw@kernel.org>
Wed, 6 May 2026 19:05:15 +0000 (21:05 +0200)
commit13fffbc21e3019ff69bed077dc68bd6a614cf3c5
tree61350f2466d1fddad73628976448b6129777115e
parent3ca083fb4a85e66bf2e6503d7667c7e90bb7137b
pinctrl: single: Fix type in .pin_config_group_get() callback

On 64-bit platforms, "unsigned long" is 64-bit.  Hence checking if all
"unsigned long" configuration values are equal should be done using an
"unsigned long" temporary.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/pinctrl-single.c