Skip to contentSkip to conversation

*** add lost UL suffix to VMALLOC_END ***

PATCH New Barry Song 3 participants 6 messages Jul 8, 2011

Subsystems (3)
lore
Share & tools
lore

Barry Song

author
#0 lore raw

cover *** add lost UL suffix to VMALLOC_END ***

After grepping, several platforms lost the UL suffix for VMALLOC_END.

Barry Song (3):
ARM: CNS3XXX: add UL suffix to VMALLOC_END to ensure it is properly
typed
ARM: LPC32XXX: add UL suffix to VMALLOC_END to ensure it is properly
typed
ARM: NUC93X: add UL suffix to VMALLOC_END to ensure it is properly
typed

 arch/arm/mach-cns3xxx/include/mach/vmalloc.h |    2 +-
 arch/arm/mach-lpc32xx/include/mach/vmalloc.h |    2 +-
 arch/arm/mach-nuc93x/include/mach/vmalloc.h  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog

author
#1 lore raw

PATCH 1/3 ARM: CNS3XXX: add UL suffix to VMALLOC_END to ensure it is properly typed

---
 arch/arm/mach-cns3xxx/include/mach/vmalloc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-cns3xxx/include/mach/vmalloc.h +1 -1
index 4d381ec..1dd231d 100644
@@ -8,4 +8,4 @@
  * published by the Free Software Foundation.
  */
 
-#define VMALLOC_END		0xd8000000
+#define VMALLOC_END		0xd8000000UL
Signature · 6 lines
1.7.1



Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
author
#2 lore raw

PATCH 2/3 ARM: LPC32XXX: add UL suffix to VMALLOC_END to ensure it is properly typed

In reply to Barry Song
---
 arch/arm/mach-lpc32xx/include/mach/vmalloc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-lpc32xx/include/mach/vmalloc.h +1 -1
index d1d936c..720fa43 100644
@@ -19,6 +19,6 @@
 #ifndef __ASM_ARCH_VMALLOC_H
 #define __ASM_ARCH_VMALLOC_H
 
-#define VMALLOC_END	0xF0000000
+#define VMALLOC_END	0xF0000000UL
 
 #endif
Signature · 6 lines
1.7.1



Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
author
#3 lore raw

PATCH 3/3 ARM: NUC93X: add UL suffix to VMALLOC_END to ensure it is properly typed

In reply to Barry Song
---
 arch/arm/mach-nuc93x/include/mach/vmalloc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-nuc93x/include/mach/vmalloc.h +1 -1
index 98a21b8..7d11a5f 100644
@@ -18,6 +18,6 @@
 #ifndef __ASM_ARCH_VMALLOC_H
 #define __ASM_ARCH_VMALLOC_H
 
-#define VMALLOC_END	  (0xE0000000)
+#define VMALLOC_END	  0xE0000000UL
 
 #endif /* __ASM_ARCH_VMALLOC_H */
Signature · 6 lines
1.7.1



Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
#4 lore raw

cover *** add lost UL suffix to VMALLOC_END ***

In reply to Barry Song
Quoted 9 lines · Barry Song

After grepping, several platforms lost the UL suffix for VMALLOC_END.

Barry Song (3):
ARM: CNS3XXX: add UL suffix to VMALLOC_END to ensure it is properly
typed
ARM: LPC32XXX: add UL suffix to VMALLOC_END to ensure it is properly
typed
ARM: NUC93X: add UL suffix to VMALLOC_END to ensure it is properly
typed

All looks fine to me, thanks. Arnd - are you going to pick these up? If so...

for all three.

#5 lore raw

cover *** add lost UL suffix to VMALLOC_END ***

Quoted 11 lines · Russell King - ARM Linux
Quoted 9 lines · Barry Song

After grepping, several platforms lost the UL suffix for VMALLOC_END.

Barry Song (3):
ARM: CNS3XXX: add UL suffix to VMALLOC_END to ensure it is properly
typed
ARM: LPC32XXX: add UL suffix to VMALLOC_END to ensure it is properly
typed
ARM: NUC93X: add UL suffix to VMALLOC_END to ensure it is properly
typed

Quoted 4 lines

All looks fine to me, thanks. Arnd - are you going to pick these up? If so...

Applied to arm-soc/next/fixes, thanks!

Arnd