]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcbebda837398cd1f0d6e8017c01e0c8b0a7a0963
tree50eb6a60a9c56fc2eaa10d06eb62d28f105058bb
parentff28558f6dc49d60ab099475a3055447dbdcaa66
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