]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: bitops: Change __fls to return and accept unsigned long
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 27 May 2022 11:53:44 +0000 (13:53 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 6 Jul 2022 12:07:04 +0000 (14:07 +0200)
commit8002b573e54d3b7ea4a0a7d930e4b27af5a95399
tree55399971f7e46905db9ccff767959e3b715d3cd0
parentbd53cc8e9c9cf5f8a0dadf3d8ccdc01d88b3195f
m68k: bitops: Change __fls to return and accept unsigned long

As per asm-generic definition and other architectures __fls should
return and accept unsigned long as its parameter.

No functional change is expected as return value should fit in unsigned
long.

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20220527115345.2588775-3-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/bitops.h