Skip to content

Commit

Permalink
ARM: S5P: VMALLOC_END should be unsigned long
Browse files Browse the repository at this point in the history
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'

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Kyungmin Park authored and Kukjin Kim committed Aug 23, 2010
1 parent 76be97c commit c1eea37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-s5pv210/include/mach/vmalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
#ifndef __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H __FILE__

#define VMALLOC_END (0xE0000000)
#define VMALLOC_END (0xE0000000UL)

#endif /* __ASM_ARCH_VMALLOC_H */
2 changes: 1 addition & 1 deletion arch/arm/mach-s5pv310/include/mach/vmalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
#ifndef __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H __FILE__

#define VMALLOC_END (0xF0000000)
#define VMALLOC_END (0xF0000000UL)

#endif /* __ASM_ARCH_VMALLOC_H */

0 comments on commit c1eea37

Please sign in to comment.