]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: bitops: Change __fls to return unsigned long
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 27 May 2022 11:53:43 +0000 (13:53 +0200)
committerVineet Gupta <vgupta@kernel.org>
Mon, 17 Oct 2022 23:32:12 +0000 (16:32 -0700)
commit42e07b845a65c52f3e19cc7c13806eacc29fda08
tree22ca85515cb46f994eaba13b440ee76de0931606
parent2e93fd7861ffeb894478a61f85d1b7e5daba05c9
ARC: bitops: Change __fls to return unsigned long

As per asm-generic definition and other architectures __fls should
return unsigned long.

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>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
arch/arc/include/asm/bitops.h