diff options
author | 2024-03-20 20:24:48 +0200 | |
---|---|---|
committer | 2024-03-25 12:50:41 +0200 | |
commit | 1eb2ac4a9f3f615181c83a5853c5ea9332d93e8c (patch) | |
tree | b89cbde6fe6dfa61fb24f5674a606a576d0b2cf4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | wifi: wcn36xx: buff_to_be(): fix sparse warnings (diff) | |
download | wireguard-linux-1eb2ac4a9f3f615181c83a5853c5ea9332d93e8c.tar.xz wireguard-linux-1eb2ac4a9f3f615181c83a5853c5ea9332d93e8c.zip |
wifi: wcn36xx: main: fix sparse warnings
Sparse warns:
drivers/net/wireless/ath/wcn36xx/main.c:758:58: warning: incorrect type in assignment (different base types)
drivers/net/wireless/ath/wcn36xx/main.c:758:58: expected unsigned short [usertype] vht_rx_mcs_map
drivers/net/wireless/ath/wcn36xx/main.c:758:58: got restricted __le16 [usertype] rx_mcs_map
drivers/net/wireless/ath/wcn36xx/main.c:760:58: warning: incorrect type in assignment (different base types)
drivers/net/wireless/ath/wcn36xx/main.c:760:58: expected unsigned short [usertype] vht_tx_mcs_map
drivers/net/wireless/ath/wcn36xx/main.c:760:58: got restricted __le16 [usertype] tx_mcs_map
le16_to_cpu() was just missing. Compile tested only.
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240320182449.3757215-4-kvalo@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions