linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][PPC32] Fix ebony build warnings
@ 2005-01-11 20:35 Geoff Levand
  0 siblings, 0 replies; only message in thread
From: Geoff Levand @ 2005-01-11 20:35 UTC (permalink / raw)
  To: mporter; +Cc: linux-kernel

ebony-fix-warnings-05.01.11.patch:

This patch fixes some 'makes pointer from integer without a cast' build 
warnings for ebony.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> for CELF
---

 ebony.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.10.orig/arch/ppc/platforms/4xx/ebony.c	2004-12-24 13:35:40.000000000 -0800
+++ fixed/arch/ppc/platforms/4xx/ebony.c	2005-01-11 12:27:13.253449121 -0800
@@ -179,7 +179,7 @@
 }
 
 #define PCIX_WRITEL(value, offset) \
-	(writel(value, (u32)pcix_reg_base+offset))
+	(writel(value, (void*)((u32)pcix_reg_base+offset)))
 
 /*
  * FIXME: This is only here to "make it work".  This will move


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-11 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-11 20:35 [PATCH][PPC32] Fix ebony build warnings Geoff Levand

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).