Skip to content

Commit

Permalink
ath6kl: Add __printf verification to ath6kl_printk
Browse files Browse the repository at this point in the history
Make sure printf formats and arguments match.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
  • Loading branch information
Joe Perches authored and Kalle Valo committed Mar 20, 2012
1 parent f0446ea commit 7084bee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/wireless/ath/ath6kl/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7084bee

Please sign in to comment.