VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Matthew Wilcox <willy@infradead.org> 2019-01-03 15:26:41 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2019-01-04 13:13:46 -0800 commit: 3fc2579e6f162fcff964f5aa01c8a29438ca5c05 parent: e6310f0fb5cd3f65244dbdef2fb264859891c7ec
Commit Summary:
fls: change parameter to unsigned int
Diffstat:
1 file changed, 1 insertion, 2 deletions
diff --git a/arch/ia64/include/asm/bitops.h b/arch/ia64/include/asm/bitops.h
index 56a774bf13fa..2f24ee6459d2 100644
--- a/arch/ia64/include/asm/bitops.h
+++ b/arch/ia64/include/asm/bitops.h
@@ -388,8 +388,7 @@ ia64_fls (unsigned long x)
  * Find the last (most significant) bit set.  Returns 0 for x==0 and
  * bits are numbered from 1..32 (e.g., fls(9) == 4).
  */
-static inline int
-fls (int t)
+static inline int fls(unsigned int t)
 {
 	unsigned long x = t & 0xffffffffu;