1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/ath/wcn36xx
Kalle Valo 1eb2ac4a9f 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
2024-03-25 12:50:41 +02:00
..
debug.c wifi: wcn36xx: Add debugfs entry to read firmware feature strings 2022-07-29 16:24:38 +03:00
debug.h wifi: wcn36xx: Add debugfs entry to read firmware feature strings 2022-07-29 16:24:38 +03:00
dxe.c wifi: wcn36xx: remove unnecessary (void*) conversions 2023-09-21 11:08:22 +03:00
dxe.h wifi: wcn36xx: add support for pronto-v3 2023-03-15 12:15:50 +02:00
firmware.c wifi: wcn36xx: Move capability bitmap to string translation function to firmware.c 2022-07-29 16:24:38 +03:00
firmware.h wifi: wcn36xx: Move capability bitmap to string translation function to firmware.c 2022-07-29 16:24:38 +03:00
hal.h wifi: wcn36xx: fix repeated words in comments 2022-09-19 15:43:02 +03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
main.c wifi: wcn36xx: main: fix sparse warnings 2024-03-25 12:50:41 +02:00
Makefile wifi: wcn36xx: Move firmware feature bit storage to dedicated firmware.c file 2022-07-29 16:24:38 +03:00
pmc.c Revert "wcn36xx: Disable bmps when encryption is disabled" 2021-10-27 10:43:31 +03:00
pmc.h
smd.c wifi: wcn36xx: remove unnecessary (void*) conversions 2023-09-21 11:08:22 +03:00
smd.h wifi: wcn36xx: Annotate struct wcn36xx_hal_ind_msg with __counted_by 2023-09-21 11:09:31 +03:00
testmode.c wifi: wcn36xx: remove unnecessary (void*) conversions 2023-09-21 11:08:22 +03:00
testmode.h wcn36xx: Replace zero-length array with flexible-array 2020-05-13 19:03:06 +03:00
testmode_i.h wcn36xx: Add support for Factory Test Mode (FTM) 2018-05-25 13:17:28 +03:00
txrx.c wifi: wcn36xx: buff_to_be(): fix sparse warnings 2024-03-25 12:50:41 +02:00
txrx.h wcn36xx: Implement tx_rate reporting 2022-03-30 11:04:25 +03:00
wcn36xx.h wifi: wcn36xx: buff_to_be(): fix sparse warnings 2024-03-25 12:50:41 +02:00