sparc: fix format string argument for prom_printf()
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 29 Sep 2012 03:14:49 +0000 (03:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Oct 2012 03:20:34 +0000 (23:20 -0400)
commit5da444aae54f64575a60f1d596ed7706e3089fb0
tree50eb6a60a9c56fc2eaa10d06eb62d28f105058bb
parent97da37b35fc56ed7b2b1583208be0d1327ddcf30
sparc: fix format string argument for prom_printf()

prom_printf() takes printf style arguments.  Specifing GCC's format
attribute reveals that there are several wrong usages of prom_printf().

This fixes those wrong format strings and arguments, and also leaves
format attributes in order to detect similar mistakes at compile time.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/oplib_32.h
arch/sparc/include/asm/oplib_64.h
arch/sparc/kernel/hvapi.c
arch/sparc/kernel/prom_64.c
arch/sparc/kernel/traps_64.c
arch/sparc/mm/init_64.c
arch/sparc/mm/iommu.c