diff options
author | Joe Perches <joe@perches.com> | 2017-03-30 15:57:23 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-04-13 15:43:39 +0300 |
commit | 169345d40d0fa05c4fdcec67835b008d24cfcf26 (patch) | |
tree | 17b077d21aba9b273f518bc6557b6bfa36bb2680 /drivers/net/wireless/ath/ath6kl/htc_pipe.c | |
parent | 37ff1b0df37af1f45d94674c83f65fc5ad4a3c73 (diff) | |
download | linux-stable-169345d40d0fa05c4fdcec67835b008d24cfcf26.tar.gz linux-stable-169345d40d0fa05c4fdcec67835b008d24cfcf26.tar.bz2 linux-stable-169345d40d0fa05c4fdcec67835b008d24cfcf26.zip |
ath6kl: add __printf verification to ath6kl_dbg
Fix fallout too.
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Steve deRosier <derosier@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/htc_pipe.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/htc_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc_pipe.c b/drivers/net/wireless/ath/ath6kl/htc_pipe.c index ca1a18c86c0d..d127a08d60df 100644 --- a/drivers/net/wireless/ath/ath6kl/htc_pipe.c +++ b/drivers/net/wireless/ath/ath6kl/htc_pipe.c @@ -995,7 +995,7 @@ static int ath6kl_htc_pipe_rx_complete(struct ath6kl *ar, struct sk_buff *skb, if (netlen < (payload_len + HTC_HDR_LENGTH)) { ath6kl_dbg(ATH6KL_DBG_HTC, - "HTC Rx: insufficient length, got:%d expected =%u\n", + "HTC Rx: insufficient length, got:%d expected =%zu\n", netlen, payload_len + HTC_HDR_LENGTH); status = -EINVAL; goto free_skb; |