From: Michal Simek Date: Mon, 6 Jul 2009 06:21:09 +0000 (+0200) Subject: microblaze: Fix cast warning for init.c X-Git-Tag: MMI-PSA29.97-13-9~27471^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db6e3f91efd2cf61b9965f722902199cf54adc4f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git microblaze: Fix cast warning for init.c Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c index b5a701cd71e0..8d92c4efe9a4 100644 --- a/arch/microblaze/mm/init.c +++ b/arch/microblaze/mm/init.c @@ -80,15 +80,15 @@ void __init setup_memory(void) memory_size = memory_end - memory_start; PAGE_OFFSET = memory_start; printk(KERN_INFO "%s: Main mem: 0x%x-0x%x, " - "size 0x%08x\n", __func__, memory_start, - memory_end, memory_size); + "size 0x%08x\n", __func__, (u32) memory_start, + (u32) memory_end, (u32) memory_size); break; } } if (!memory_start || !memory_end) { panic("%s: Missing memory setting 0x%08x-0x%08x\n", - __func__, memory_start, memory_end); + __func__, (u32) memory_start, (u32) memory_end); } /* reservation of region where is the kernel */