diff options
author | Tom Rix <trix@redhat.com> | 2021-01-28 06:49:28 -0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-02-04 09:39:10 +0200 |
commit | bb2d2dfd3c93cd5b26535694a46450c0c3d21bb1 (patch) | |
tree | 1ca21aa5cff498ccd9047a3ca144d7b441ae6931 /drivers/net/wireless/ath/ath11k/trace.h | |
parent | 779750bb153da37fb99388a7aad888c7798dc58a (diff) |
ath11k: remove h from printk format specifier
This change fixes the checkpatch warning described in this commit
commit cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of
unnecessary %h[xudi] and %hh[xudi]")
Standard integer promotion is already done and %hx and %hhx is useless
so do not encourage the use of %hh[xudi] or %h[xudi].
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210128144928.2557605-1-trix@redhat.com
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/trace.h')
-rw-r--r-- | drivers/net/wireless/ath/ath11k/trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath11k/trace.h b/drivers/net/wireless/ath/ath11k/trace.h index 66d0aae7816c..d2d2a3cb0826 100644 --- a/drivers/net/wireless/ath/ath11k/trace.h +++ b/drivers/net/wireless/ath/ath11k/trace.h @@ -43,7 +43,7 @@ TRACE_EVENT(ath11k_htt_pktlog, ), TP_printk( - "%s %s size %hu pktlog_checksum %d", + "%s %s size %u pktlog_checksum %d", __get_str(driver), __get_str(device), __entry->buf_len, |