linux/drivers/net/wireless/ath
Kalle Valo f09e3b774f wifi: ath9k: eeprom: fix sparse endian warnings
Sparse warns:

drivers/net/wireless/ath/ath9k/eeprom_9287.c:82:9: warning: cast to restricted __le16
drivers/net/wireless/ath/ath9k/eeprom_9287.c:82:9: warning: cast from restricted __le32
drivers/net/wireless/ath/ath9k/eeprom_9287.c:83:9: warning: cast to restricted __le16
drivers/net/wireless/ath/ath9k/eeprom_9287.c:83:9: warning: cast from restricted __le32
drivers/net/wireless/ath/ath9k/eeprom_def.c:138:9: warning: cast to restricted __le16
drivers/net/wireless/ath/ath9k/eeprom_def.c:138:9: warning: cast from restricted __le32
drivers/net/wireless/ath/ath9k/eeprom_def.c:139:9: warning: cast to restricted __le16
drivers/net/wireless/ath/ath9k/eeprom_def.c:139:9: warning: cast from restricted __le32
drivers/net/wireless/ath/ath9k/eeprom_def.c:140:9: warning: cast to restricted __le16
drivers/net/wireless/ath/ath9k/eeprom_def.c:140:9: warning: cast from restricted __le32
drivers/net/wireless/ath/ath9k/eeprom_4k.c:79:9: warning: cast to restricted __le16
drivers/net/wireless/ath/ath9k/eeprom_4k.c:79:9: warning: cast from restricted __le32

antCtrlChain is an array of __le32 so le32_to_cpu() needs to be used.

Compile tested only.

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://msgid.link/20240320170656.3534265-4-kvalo@kernel.org
2024-03-25 12:51:37 +02:00
..
ar5523 wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
ath5k wifi: mac80211: simplify non-chanctx drivers 2024-02-08 12:58:32 +01:00
ath6kl wifi: ath6kl: fix sparse warnings 2024-03-25 12:50:41 +02:00
ath9k wifi: ath9k: eeprom: fix sparse endian warnings 2024-03-25 12:51:37 +02:00
ath10k wifi: ath: Convert sprintf/snprintf to sysfs_emit 2024-03-25 12:49:27 +02:00
ath11k wifi: ath: Convert sprintf/snprintf to sysfs_emit 2024-03-25 12:49:27 +02:00
ath12k wifi: ath12k: Refactor error handler of Rxdma replenish 2024-03-21 13:38:13 +02:00
carl9170 ath.git patches for v6.9 2024-02-22 12:41:45 +02:00
wcn36xx wifi: wcn36xx: main: fix sparse warnings 2024-03-25 12:50:41 +02:00
wil6210 wifi: wil6210: fix sparse warnings 2024-03-25 12:50:42 +02:00
Kconfig wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices 2022-11-29 12:49:06 +02:00
Makefile wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices 2022-11-29 12:49:06 +02:00
ath.h wifi: ath: Silence memcpy run-time false positive warning 2023-02-17 18:24:16 +02:00
debug.c
dfs_pattern_detector.c wifi: ath: dfs_pattern_detector: Use flex array to simplify code 2023-10-02 19:58:33 +03:00
dfs_pattern_detector.h
dfs_pri_detector.c
dfs_pri_detector.h
hw.c wifi: ath: fix repeated words in comments 2022-07-18 13:04:50 +03:00
key.c wifi: ath: Use is_multicast_ether_addr() to check multicast Ether address 2023-08-25 10:39:28 +03:00
main.c
reg.h
regd.c Revert "ath: add support for special 0x0 regulatory domain" 2022-03-07 19:45:08 +02:00
regd.h ath: regdom: extend South Korea regulatory domain support 2021-12-08 10:37:38 +02:00
regd_common.h ath: regdom: extend South Korea regulatory domain support 2021-12-08 10:37:38 +02:00
spectral_common.h ath: Replace zero-length arrays with flexible-array members 2022-02-21 12:26:28 +02:00
trace.c
trace.h tracing/ath: Use the new __vstring() helper 2022-07-15 17:44:40 -04:00