Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Fix format string warning in arch/powerpc/boot/main.c

Fix format string warning in arch/powerpc/boot/main.c. Also correct
a typo ("uncomressed") on the same line.

BOOTCC arch/powerpc/boot/main.o
arch/powerpc/boot/main.c: In function 'prep_kernel':
arch/powerpc/boot/main.c:65: warning: format '%08x' expects type
'unsigned int', but argument 3 has type 'long unsigned int'

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

Jon Smirl and committed by
Paul Mackerras
8ba4773a 2dccbf4e

+1 -1
+1 -1
arch/powerpc/boot/main.c
··· 63 63 */ 64 64 if ((unsigned long)_start < ei.loadsize) 65 65 fatal("Insufficient memory for kernel at address 0!" 66 - " (_start=%p, uncomressed size=%08x)\n\r", 66 + " (_start=%p, uncompressed size=%08lx)\n\r", 67 67 _start, ei.loadsize); 68 68 69 69 if ((unsigned long)_end < ei.memsize)