summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/common.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-03-19 00:30:54 (GMT)
committerKalle Valo <kvalo@qca.qualcomm.com>2012-03-20 09:49:45 (GMT)
commit7084beeadb9b3cf5d8783210a1e4b281b07fa6cd (patch)
tree4ea6cbd8fbe752446126ea88ff7b0a34ab1922bc /drivers/net/wireless/ath/ath6kl/common.h
parentf0446ea9c11243bcfe8559f0033a5e4790b0d95b (diff)
downloadlinux-7084beeadb9b3cf5d8783210a1e4b281b07fa6cd.tar.xz
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.h3
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 a60e78c..71f5450 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