Re: [PATCH] rtlwifi: Fix size of wireless mode variable

2016-03-08 Thread Kalle Valo
Larry Finger writes: >> I can't find commit acc6907b87a9 from any of my trees. And oddly enough >> I can't either any commits with title "rtlwifi: Fix warning from >> ieee80211_get_tx_rates() when using 5G". I can fix it before commiting >> but what should I use? >> >>

Re: [PATCH] rtlwifi: Fix size of wireless mode variable

2016-03-07 Thread Larry Finger
On 03/07/2016 06:38 AM, Kalle Valo wrote: Larry Finger writes: 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

Re: [PATCH] rtlwifi: Fix size of wireless mode variable

2016-03-07 Thread Kalle Valo
Larry Finger writes: > 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)' > >