]> 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)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 15 Sep 2025 12:30:21 +0000 (14:30 +0200)
commit6d5674090543b89aac0c177d67e5fb32ddc53804
tree72716ffb89bfd97bdd70c0e34e69e31bdb971436
parentac1440de1ba39fbd68da7fbcc4b1885685aa69e1
m68k: bitops: Fix find_*_bit() signatures

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
arch/m68k/include/asm/bitops.h