projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0446ea
)
ath6kl: Add __printf verification to ath6kl_printk
author
Joe Perches
<joe@perches.com>
Mon, 19 Mar 2012 00:30:54 +0000
(17:30 -0700)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Tue, 20 Mar 2012 09:49:45 +0000
(11:49 +0200)
Make sure printf formats and arguments match.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/common.h
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath6kl/common.h
b/drivers/net/wireless/ath/ath6kl/common.h
index
a60e78c
..
71f5450
100644
(file)
--- 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