linux_dsm_epyc7002/drivers/net/wireless
Luis R. Rodriguez a98aa7ae14 ath9k_hw: fix sparse complaint on ar9003_switch_com_spdt_get()
This fixes this sparse complaint:

make C=2 CF="-D__CHECK_ENDIAN__" M=drivers/net/wireless/ath/

  CHECK   drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21: warning: incorrect type in assignment (different base types)
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21:    expected restricted __le32 [usertype] val
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3544:21:    got restricted __le16 [usertype] switchcomspdt
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21: warning: incorrect type in assignment (different base types)
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21:    expected restricted __le32 [usertype] val
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3546:21:    got restricted __le16 [usertype] switchcomspdt

The eep->modalHeader5G.switchcomspdt is a le16 and we return u16,
so just return le16_to_cpu().

Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-01-04 14:30:40 -05:00
..
ath ath9k_hw: fix sparse complaint on ar9003_switch_com_spdt_get() 2012-01-04 14:30:40 -05:00
b43 b43: N-PHY: reorder functions: random cleanups 2011-12-19 14:40:49 -05:00
b43legacy Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
brcm80211 brcm80211: fmac: add Kconfig option for SDIO bus support 2011-12-19 14:40:48 -05:00
hostap hostap_cs: add ID for Canon K30225 2011-11-28 14:44:00 -05:00
ipw2x00 wireless: use strlcpy routine in .get_drvinfo 2011-11-17 15:44:50 -05:00
iwlegacy iwlegacy: Use kcalloc instead of kzalloc to allocate array 2011-12-06 16:05:24 -05:00
iwlwifi iwlagn: fix (remove) use of PAGE_SIZE 2011-12-21 15:06:10 -05:00
iwmc3200wifi Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux 2011-11-22 14:05:46 -05:00
libertas libertas: clean up scan thread handling 2011-12-21 15:06:10 -05:00
libertas_tf
mwifiex mwifiex: fix issues in band configuration code 2011-12-21 15:06:14 -05:00
orinoco Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux 2011-11-22 14:05:46 -05:00
p54 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2011-12-02 15:44:03 -05:00
prism54 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2011-12-02 15:44:03 -05:00
rt2x00 rt2800: Add support for the Fujitsu Stylistic Q550 2011-12-21 15:06:10 -05:00
rtl818x
rtlwifi rtlwifi: Fix locking problem introduces with commit 6539306b 2011-12-19 14:40:48 -05:00
wl12xx wl12xx: mark no sched scan only after FW event 2011-12-20 22:30:16 +02:00
wl1251 wireless: Remove redundant spi driver bus initialization 2011-11-28 14:43:58 -05:00
zd1211rw
adm8211.c
adm8211.h
airo_cs.c
airo.c
airo.h
at76c50x-usb.c wireless: at76c50x: follow rename pack_hex_byte to hex_byte_pack 2011-10-31 17:30:57 -07:00
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig
mac80211_hwsim.c mac80211_hwsim: fix wmediumd_pid 2011-12-16 09:30:42 -05:00
mac80211_hwsim.h
Makefile iwlegacy: rename remaining IWLs to ILs 2011-11-15 11:25:42 +01:00
mwl8k.c mwl8k: Call ieee80211_stop_tx_ba_cb_irqsafe for already deleted BA stream 2011-12-21 15:06:11 -05:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: remove unused macro 2011-11-21 16:22:09 -05:00
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h