[PATCH] ARM: (trivial) fix format warning in arch/arm/mm/init.c

[PATCH] ARM: (trivial) fix format warning in arch/arm/mm/init.c

Post by MichaMiros » Tue, 21 Sep 2010 09:10:02


/mnt/src/linux-git/arch/arm/mm/init.c: In function em_init
/mnt/src/linux-git/arch/arm/mm/init.c:548:4: warning: format 4dexpects type nt but argument 22 has type ong int /mnt/src/linux-git/arch/arm/mm/init.c:548:4: warning: format 4dexpects type nt but argument 25 has type ong int /mnt/src/linux-git/arch/arm/mm/init.c:548:4: warning: format 4dexpects type nt but argument 28 has type ong int
(with gcc-4.5.1)

Signed-off-by: Micha<Mirosaw
---
arch/arm/mm/init.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

Patch against current linux.git (after 2.6.36-rc4).


diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index 7185b00..009797d 100644
--- a/arch/arm/mm/init.c
+++ b/arch/arm/mm/init.c
@@ -521,9 +521,9 @@ void __init mem_init(void)
" pkmap : 0x%08lx - 0x%08lx (%4ld MB)\n"
#endif
" modules : 0x%08lx - 0x%08lx (%4ld MB)\n"
- " .init : 0x%p" " - 0x%p" " (%4d kB)\n"
- " .text : 0x%p" " - 0x%p" " (%4d kB)\n"
- " .data : 0x%p" " - 0x%p" " (%4d kB)\n",
+ " .init : 0x%p" " - 0x%p" " (%4ld kB)\n"
+ " .text : 0x%p" " - 0x%p" " (%4ld kB)\n"
+ " .data : 0x%p" " - 0x%p" " (%4ld kB)\n",

MLK(UL(CONFIG_VECTORS_BASE), UL(CONFIG_VECTORS_BASE) +
(PAGE_SIZE)),
--
1.7.1

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/