Kalle Valo <kvalo@xxxxxxxxxx> writes: > From: Kalle Valo <quic_kvalo@xxxxxxxxxxx> > > 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@xxxxxxxxxxx> Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>