* [PATCH] h8300 fix warning
@ 2005-01-20 16:30 Yoshinori Sato
0 siblings, 0 replies; only message in thread
From: Yoshinori Sato @ 2005-01-20 16:30 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
o update argument type
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
===== 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@users.sourceforge.jp>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-20 16:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-20 16:30 [PATCH] h8300 fix warning Yoshinori Sato
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).