Skip to contentSkip to conversation

h8300 fix warning

PATCH New Yoshinori Sato 1 participant 1 message Jan 20, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 h8300 fix warning

o update argument type

===== include/asm-h8300/bitops.h 1.10 vs edited =====

include/asm-h8300/bitops.h +1 -1
@@ -196,7 +196,7 @@
 	return result;
 }
 
-static __inline__ int find_next_zero_bit (void * addr, int size, int offset)
+static __inline__ int find_next_zero_bit (const unsigned long * addr, int size, int offset)
 {
 	unsigned long *p = (unsigned long *)(((unsigned long)addr + (offset >> 3)) & ~3);
 	unsigned long result = offset & ~31UL;
Signature · 2 lines
Yoshinori Sato
<[email protected]>