diff options
author | Joe Perches <joe@perches.com> | 2012-03-18 17:30:54 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-03-20 11:49:45 +0200 |
commit | 7084beeadb9b3cf5d8783210a1e4b281b07fa6cd (patch) | |
tree | 4ea6cbd8fbe752446126ea88ff7b0a34ab1922bc /drivers/net/wireless | |
parent | f0446ea9c11243bcfe8559f0033a5e4790b0d95b (diff) |
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')
-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 a60e78c0472..71f54501464 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 |