2005-01-20 16:35:41

by Yoshinori Sato

[permalink] [raw]
Subject: [PATCH] h8300 fix warning

o update argument type

Signed-off-by: Yoshinori Sato <[email protected]>

===== include/asm-h8300/bitops.h 1.10 vs edited =====
--- 1.10/include/asm-h8300/bitops.h 2004-11-12 16:38:42 +09:00
+++ edited/include/asm-h8300/bitops.h 2005-01-20 23:14:39 +09:00
@@ -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;

--
Yoshinori Sato
<[email protected]>