diff options
author | Joe Perches <joe@perches.com> | 2012-03-19 01:30:54 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-03-20 10:49:45 +0100 |
commit | 7084beeadb9b3cf5d8783210a1e4b281b07fa6cd (patch) | |
tree | 4ea6cbd8fbe752446126ea88ff7b0a34ab1922bc /drivers/net/wireless/ath/ath6kl/common.h | |
parent | ath6kl: Add ARP offload related statistic info in tgt_stats (diff) | |
download | linux-7084beeadb9b3cf5d8783210a1e4b281b07fa6cd.tar.xz linux-7084beeadb9b3cf5d8783210a1e4b281b07fa6cd.zip |
ath6kl: Add __printf verification to ath6kl_printk
Make sure printf formats and arguments match.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/common.h')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/common.h b/drivers/net/wireless/ath/ath6kl/common.h index a60e78c0472f..71f54501464a 100644 --- a/drivers/net/wireless/ath/ath6kl/common.h +++ b/drivers/net/wireless/ath/ath6kl/common.h @@ -22,7 +22,8 @@ #define ATH6KL_MAX_IE 256 -extern int ath6kl_printk(const char *level, const char *fmt, ...); +extern __printf(2, 3) +int ath6kl_printk(const char *level, const char *fmt, ...); /* * Reflects the version of binary interface exposed by ATH6KL target |