diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2013-03-19 15:25:20 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-20 08:55:26 -0400 |
commit | 0d4e67174b03e3dcfe75ce7ec488770a5d443bf4 (patch) | |
tree | 6fa94f73f3da6ea4035d852e89bbdc0d2bc7c167 /drivers/net/wireless/ath/ath5k | |
parent | 856a850afdd778fad7ded4240d333a8c3b05b136 (diff) | |
download | linux-0d4e67174b03e3dcfe75ce7ec488770a5d443bf4.tar.bz2 |
ath6kl: fix size_t printf warnings
My new tracing code for ath6kl introduced these warnings on 64-bit:
trace.h:38:1: warning: format '%d' expects argument of type 'int',
but argument 4 has type 'size_t' [-Wformat]
trace.h:61:1: warning: format '%d' expects argument of type 'int',
but argument 4 has type 'size_t' [-Wformat]
trace.h:84:1: warning: format '%d' expects argument of type 'int',
but argument 6 has type 'size_t' [-Wformat]
trace.h:119:1: warning: format '%d' expects argument of type 'int',
but argument 7 has type 'size_t' [-Wformat]
trace.h:173:1: warning: format '%d' expects argument of type 'int',
but argument 3 has type 'size_t' [-Wformat]
trace.h:193:1: warning: format '%d' expects argument of type 'int',
but argument 5 has type 'size_t' [-Wformat]
trace.h:221:1: warning: format '%d' expects argument of type 'int',
but argument 5 has type 'size_t' [-Wformat]
Fix them by using %zd.
Reported-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k')
0 files changed, 0 insertions, 0 deletions