]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Add gcc format warnings to zImage printf()
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 22 Mar 2007 05:59:13 +0000 (16:59 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 26 Mar 2007 05:11:20 +0000 (15:11 +1000)
commitfae59c39e885148acf42320fe0d4ebf4cb3e9231
tree1c3f09ebf61bb5d27012bcd2d21d788246072030
parent9da82a6dee9db4cd5ae7a74ab4f51afb52b6efb9
[POWERPC] Add gcc format warnings to zImage printf()

This patch adds the correct attributes to the zImage's versions of
printf to make gcc generate format string mismatch warnings.  It also
corrects several minor problems with format strings in the zImage thus
discovered.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/main.c
arch/powerpc/boot/stdio.h