Skip to contentSkip to conversation

arm: tegra: VMALLOC_END should be unsigned long

PATCH New Olof Johansson 2 participants 2 messages Aug 18, 2010 – Aug 22, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: tegra: VMALLOC_END should be unsigned long

Silences following build warning:

arch/arm/mm/init.c: In function 'mem_init':
arch/arm/mm/init.c:644: warning: format '%08lx' expects type 'long unsigned int', but argument 12 has type 'unsigned int'

---
 arch/arm/mach-tegra/include/mach/vmalloc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-tegra/include/mach/vmalloc.h +1 -1
index 267a141..fd6aa65 100644
@@ -23,6 +23,6 @@
 
 #include <asm/sizes.h>
 
-#define VMALLOC_END        0xFE000000
+#define VMALLOC_END        0xFE000000UL
 
 #endif
Signature · 1 line
1.5.6.5
#1 lore raw

PATCH 1/1 arm: tegra: VMALLOC_END should be unsigned long

Quoted 22 lines · Olof Johansson

Silences following build warning:

arch/arm/mm/init.c: In function 'mem_init':
arch/arm/mm/init.c:644: warning: format '%08lx' expects type 'long unsigned int', but argument 12 has type 'unsigned int'

---
?arch/arm/mach-tegra/include/mach/vmalloc.h | ? ?2 +- ?1 files changed, 1 insertions(+), 1 deletions(-)

arch/arm/mach-tegra/include/mach/vmalloc.h +0 -0
index 267a141..fd6aa65 100644
@@ -23,6 +23,6 @@
 

?#include <asm/sizes.h>

arch/arm/mach-tegra/include/mach/vmalloc.h +1 -1
-#define VMALLOC_END ? ? ? ?0xFE000000
+#define VMALLOC_END ? ? ? ?0xFE000000UL
Quoted 9 lines

?#endif
--
1.5.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo at vger.kernel.org
More majordomo info at ?http://vger.kernel.org/majordomo-info.html

Ack, queued for an rc pull request