]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: remove h from printk format specifier
authorTom Rix <trix@redhat.com>
Thu, 28 Jan 2021 14:49:28 +0000 (06:49 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 4 Feb 2021 07:39:10 +0000 (09:39 +0200)
commit2ed3bb4facba6c05efef765643bc19b746bae4e4
tree1ca21aa5cff498ccd9047a3ca144d7b441ae6931
parente6046d9ebe1c855982808121e2070c3cf10d7b49
ath11k: remove h from printk format specifier

This change fixes the checkpatch warning described in this commit
commit deabdf7d821e ("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
drivers/net/wireless/ath/ath11k/dp_rx.c
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/trace.h
drivers/net/wireless/ath/ath11k/wmi.c