Skip to content

Commit

Permalink
ARM: SAMSUNG: Fix on build warning regarding VMALLOC_END type
Browse files Browse the repository at this point in the history
Fix this 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'

And removes the useless parens and white space.

Reported-by: Kyungmin Park <[email protected]>
Signed-off-by: Kukjin Kim <[email protected]>
Cc: Ben Dooks <[email protected]>
  • Loading branch information
kgene committed Aug 27, 2010
1 parent c1eea37 commit 15cae77
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2410/include/mach/vmalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
#ifndef __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H

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

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

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

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

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

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

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

#endif /* __ASM_ARCH_VMALLOC_H */

0 comments on commit 15cae77

Please sign in to comment.