Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7084beea authored by Joe Perches's avatar Joe Perches Committed by Kalle Valo
Browse files

ath6kl: Add __printf verification to ath6kl_printk



Make sure printf formats and arguments match.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent f0446ea9
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -22,7 +22,8 @@


#define ATH6KL_MAX_IE			256
#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
 * Reflects the version of binary interface exposed by ATH6KL target