]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: mediatek: moore: Fix type in .pin_config_group_get() callback
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 30 Apr 2026 15:33:15 +0000 (17:33 +0200)
committerLinus Walleij <linusw@kernel.org>
Wed, 6 May 2026 19:05:15 +0000 (21:05 +0200)
commit3ca083fb4a85e66bf2e6503d7667c7e90bb7137b
tree6c8edb216810a3dda15d04905a950323df1bb899
parent2892054decdf01be2be2e45e5b9570124d8418c6
pinctrl: mediatek: moore: 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/mediatek/pinctrl-moore.c