ath10k: fix recently introduced checkpatch warning
authorKalle Valo <quic_kvalo@quicinc.com>
Mon, 6 Jun 2022 14:29:57 +0000 (17:29 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 8 Jun 2022 08:19:10 +0000 (11:19 +0300)
commitcc2609eda6981d65b3b1c81e2807910d718b2b98
treecc1259ca9038dbb37122f14f15d6133c2a855e9b
parent3926e0c12238a8053ed5a598b5b84c6cf2adacab
ath10k: fix recently introduced checkpatch warning

I updated my checkpatch and saw new warnings:

drivers/net/wireless/ath/ath10k/qmi.c:593: Prefer strscpy over strlcpy - see: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
drivers/net/wireless/ath/ath10k/qmi.c:598: Prefer strscpy over strlcpy - see: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
drivers/net/wireless/ath/ath10k/htt_rx.c:3565: Integer promotion: Using 'h' in '%04hx' is unnecessary

Compile tested only.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220606142957.23721-1-kvalo@kernel.org
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/qmi.c