Skip to contentSkip to conversation

arm: vt8500: Fix build warning in uncompress.h [for 3.7]

PATCH New Tony Prisk 1 participant 2 messages Oct 7, 2012

Subsystems (3)
lore
Share & tools
lore

Tony Prisk

author
#0 lore raw

PATCH 1/1 arm: vt8500: Fix build warning in uncompress.h [for 3.7]

This removes a build-time warning in uncompress.h due to incorrectly cast values being passed to readb/writeb.

---
 arch/arm/mach-vt8500/include/mach/uncompress.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-vt8500/include/mach/uncompress.h +1 -1
index bb9e2d2..1344d9f 100644
@@ -15,7 +15,7 @@
  *
  */
 
-#define UART0_PHYS 0xd8200000
+#define UART0_PHYS	(void *)0xd8200000
 #include <asm/io.h>
 
 static void putc(const char c)
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/1 arm: vt8500: Fix build warning in uncompress.h [for 3.7]

Quoted 13 lines · Tony Prisk

This removes a build-time warning in uncompress.h due to incorrectly cast values being passed to readb/writeb.

---
 arch/arm/mach-vt8500/include/mach/uncompress.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-vt8500/include/mach/uncompress.h +0 -0
index bb9e2d2..1344d9f 100644

arch/arm/mach-vt8500/include/mach/uncompress.h line 21

Quoted 8 lines
arch/arm/mach-vt8500/include/mach/uncompress.h +1 -1
@@ -15,7 +15,7 @@
  *
  */
 
-#define UART0_PHYS 0xd8200000
+#define UART0_PHYS	(void *)0xd8200000
 #include <asm/io.h>
 
 static void putc(const char c)

Please ignore this patch - I will correct as per Russell's advice.

Regards
Tony P