]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
m68k: bitops: Fix find_*_bit() signatures
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 10 Sep 2025 15:16:13 +0000 (17:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2025 13:04:36 +0000 (14:04 +0100)
commit96eb1919881a54340f2d2bbe05a0109147a76269
tree7aa33450b36843c90063c211ed9cc8b1ea76269e
parent85fdb41968d57150b2e3a5c86754bab8e75bd026
m68k: bitops: Fix find_*_bit() signatures

[ Upstream commit 6d5674090543b89aac0c177d67e5fb32ddc53804 ]

The function signatures of the m68k-optimized implementations of the
find_{first,next}_{,zero_}bit() helpers do not match the generic
variants.

Fix this by changing all non-pointer inputs and outputs to "unsigned
long", and updating a few local variables.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202509092305.ncd9mzaZ-lkp@intel.com/
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: "Yury Norov (NVIDIA)" <yury.norov@gmail.com>
Link: https://patch.msgid.link/de6919554fbb4cd1427155c6bafbac8a9df822c8.1757517135.git.geert@linux-m68k.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/m68k/include/asm/bitops.h