bitop warnings
PATCH 1/1 bitop warnings
Hi Tony:
I don't believe this has been submitted. It removes many compiler warnings.
thanks,
bob
Signed-off-by Bob Picco <[email protected]>
arch/ia64/lib/bitop.c +1 -1
@@ -8,7 +8,7 @@* Find next zero bit in a bitmap reasonably efficiently.. */ -int __find_next_zero_bit (void *addr,unsigned long size,unsigned long offset) +int __find_next_zero_bit (const void *addr,unsigned long size,unsigned long offset) {unsigned long *p = ((unsigned long *) addr) + (offset >>6 );unsigned long result = offset & ~63UL ;
include/asm-ia64/bitops.h +1 -1
@@ -359,7 +359,7 @@ hweight64 (unsigned long x)#endif /* __KERNEL__ */ -extern int __find_next_zero_bit (void *addr,unsigned long size, +extern int __find_next_zero_bit (const void *addr,unsigned long size,unsigned long offset);extern int __find_next_bit (const void *addr,unsigned long size,unsigned long offset);