提交 7084beea 编写于 作者: J Joe Perches 提交者: Kalle Valo

ath6kl: Add __printf verification to ath6kl_printk

Make sure printf formats and arguments match.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 f0446ea9
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册