aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@gmail.com>2008-10-30 12:51:32 -0400
committerPaul Mackerras <paulus@samba.org>2008-10-31 05:14:19 -0400
commit8ba4773aee23a5e2e1ce386c5bd86e407496de99 (patch)
tree969d6b5e5baec09199f24b2e19171349b6e1583a /arch/powerpc/boot
parent2dccbf4ea05d2c3603b8c1359019bf7148a316a5 (diff)
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>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r--arch/powerpc/boot/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/main.c b/arch/powerpc/boot/main.c
index ae32801ebd69..a28f02165e97 100644
--- a/arch/powerpc/boot/main.c
+++ b/arch/powerpc/boot/main.c
@@ -63,7 +63,7 @@ static struct addr_range prep_kernel(void)
63 */ 63 */
64 if ((unsigned long)_start < ei.loadsize) 64 if ((unsigned long)_start < ei.loadsize)
65 fatal("Insufficient memory for kernel at address 0!" 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 _start, ei.loadsize); 67 _start, ei.loadsize);
68 68
69 if ((unsigned long)_end < ei.memsize) 69 if ((unsigned long)_end < ei.memsize)