[PATCH] h8300 fix warning

From: Yoshinori Sato
Date: Thu Jan 20 2005 - 11:40:27 EST


o update argument type

Signed-off-by: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>

===== 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
<ysato@xxxxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/