Explorar o código

microblaze: Fix cast warning for init.c

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek %!s(int64=16) %!d(string=hai) anos
pai
achega
db6e3f91ef
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      arch/microblaze/mm/init.c

+ 3 - 3
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 */