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)
commit6f08e51cdbe08370ad0a8580d0d6ea6ffdfed46d
tree55399971f7e46905db9ccff767959e3b715d3cd0
parentb5d263cde50a455815cd714445b71f2554c8a888
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