Skip to content

Commit

Permalink
msm: make constant unsigned long to correct format warning
Browse files Browse the repository at this point in the history
Define VMALLOC_END as an unsigned long to match expected type.
Eliminates a warning:

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

Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
  • Loading branch information
David Brown authored and Daniel Walker committed Nov 16, 2010
1 parent d2c5d21 commit 44d4a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/include/mach/vmalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#ifndef __ASM_ARCH_MSM_VMALLOC_H
#define __ASM_ARCH_MSM_VMALLOC_H

#define VMALLOC_END 0xd0000000
#define VMALLOC_END 0xd0000000UL

#endif

0 comments on commit 44d4a4f

Please sign in to comment.