Skip to contentSkip to conversation

sparc: fix format string argument for prom_printf()

PATCH David Miller 1 participant 1 message Oct 3, 2012

lore
Share & tools
lore

David Miller

author Applied
#0 lore raw

From: Akinobu Mita <[email protected]>
Date: Sat, 29 Sep 2012 22:14:49 +0900

Quoted 7 lines

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.

Applied, thank you.