Skip to contentSkip to conversation

Fix ebony build warnings

PATCH New Geoff Levand 1 participant 1 message Jan 11, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix ebony build warnings

ebony-fix-warnings-05.01.11.patch:

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

---

 ebony.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/ppc/platforms/4xx/ebony.c +1 -1
@@ -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