diff options
author | Joe Perches <joe@perches.com> | 2014-03-18 17:59:47 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-19 15:15:47 -0400 |
commit | 5fe1b76a9fac5224ff31fc3bce62ba273b65ced1 (patch) | |
tree | a7d9313dc3f01ade5d9dbc00ac6ac3df4a4271a8 /drivers/net/wireless/rsi/rsi_main.h | |
parent | 8ace189d1ae363f02a58150760d3e6b2c813f8aa (diff) |
rsi: Add pr_fmt,__printf, fix format & arg mismatch
Emit a prefix for the rsi_dbg messages.
Fix the format and argument mismatch and add
__printf(2, 3) to try to avoid more.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rsi/rsi_main.h')
-rw-r--r-- | drivers/net/wireless/rsi/rsi_main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rsi/rsi_main.h b/drivers/net/wireless/rsi/rsi_main.h index e97e6ad07562..2cb73e7edb98 100644 --- a/drivers/net/wireless/rsi/rsi_main.h +++ b/drivers/net/wireless/rsi/rsi_main.h @@ -40,7 +40,7 @@ #define FSM_MAC_INIT_DONE 6 extern u32 rsi_zone_enabled; -extern void rsi_dbg(u32 zone, const char *fmt, ...); +extern __printf(2, 3) void rsi_dbg(u32 zone, const char *fmt, ...); #define RSI_MAX_VIFS 1 #define NUM_EDCA_QUEUES 4 |