linux_dsm_epyc7002/drivers/net/wireless/realtek/rtlwifi
Larry Finger 73fb270592 rtlwifi: Fix size of wireless mode variable
Smatch reports the following warning:

  CHECK   drivers/net/wireless/realtek/rtlwifi/rc.c
drivers/net/wireless/realtek/rtlwifi/rc.c:144 _rtl_rc_rate_set_series() warn: impossible condition '(wireless_mode == 256) => (0-255 == 256)'

This warning arises because commit acc6907b87a9 ("rtlwifi: Fix warning
from ieee80211_get_tx_rates() when using 5G") now checks the wireless
mode for WIRELESS_MODE_AC_ONLY (BIT(8)) in _rtl_rc_rate_set_series().
As a result, all quantities used to store the wireless mode must be u16.

This patch also reorders struct rtl_sta_info to save a little space.

Fixes: d76d65fd26 ("rtlwifi: fix broken VHT support")
Reported-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-03-08 12:31:17 +02:00
..
btcoexist rtlwifi: btcoexist: re-use %*ph specifier to hexdump 2015-11-26 15:01:56 +02:00
rtl8188ee rtlwifi: pass struct rtl_stats by reference as it is more efficient 2016-03-07 14:25:00 +02:00
rtl8192c
rtl8192ce rtlwifi: rtl8192ce: Fix handling of module parameters 2015-12-30 17:06:36 +02:00
rtl8192cu rtlwifi: rtl8192cu: Add missing parameter setup 2015-12-30 17:06:38 +02:00
rtl8192de rtlwifi: rtl8192de: Convert driver to use common 5G channels 2016-02-25 12:01:36 +02:00
rtl8192ee rtlwifi: pass struct rtl_stats by reference as it is more efficient 2016-03-07 14:25:00 +02:00
rtl8192se rtlwifi: rtl8192se: Fix module parameter initialization 2015-12-30 17:06:36 +02:00
rtl8723ae rtlwifi: pass struct rtl_stats by reference as it is more efficient 2016-03-07 14:25:00 +02:00
rtl8723be rtlwifi: pass struct rtl_stats by reference as it is more efficient 2016-03-07 14:25:00 +02:00
rtl8723com rtlwifi: Delete unnecessary checks before the function call "kfree_skb" 2015-11-26 14:55:27 +02:00
rtl8821ae rtlwifi: Fix size of wireless mode variable 2016-03-08 12:31:17 +02:00
base.c
base.h
cam.c
cam.h
core.c rtlwifi: Change long delays to sleeps 2016-03-07 14:12:49 +02:00
core.h
debug.c
debug.h
efuse.c
efuse.h
Kconfig
Makefile
pci.c rtlwifi: pass struct rtl_stats by reference as it is more efficient 2016-03-07 14:25:00 +02:00
pci.h
ps.c
ps.h
pwrseqcmd.h
rc.c rtlwifi: Fix size of wireless mode variable 2016-03-08 12:31:17 +02:00
rc.h
regd.c rtlwifi: rtl8821ae: Fix 5G failure when EEPROM is incorrectly encoded 2016-01-25 15:21:38 +02:00
regd.h
stats.c
stats.h
usb.c rtlwifi: fix memory leak for USB device 2015-12-11 13:48:42 +02:00
usb.h
wifi.h rtlwifi: Fix size of wireless mode variable 2016-03-08 12:31:17 +02:00