OpenCloudOS-Kernel/drivers/net/wireless/rtlwifi/rtl8192de
Yunlian Jiang ec71997eff rtlwifi: initialize local array and set value.
GCC 4.8 is spitting out uninitialized-variable warnings against
"drivers/net/wireless/rtlwifi/rtl8192de/dm.c".

drivers/net/wireless/rtlwifi/rtl8192de/dm.c:941:31:
error: 'ofdm_index_old[1]' may be used uninitialized in this
function [-Werror=maybe-uninitialized]
     rtlpriv->dm.ofdm_index[i] = ofdm_index_old[i];

This patch adds initialization to the variable and properly sets its value.

Signed-off-by: Yunlian Jiang <yunlian@google.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-06-10 15:37:34 -04:00
..
Makefile rtlwifi: rtl8192de: Modify Kconfig and Makefile routines for new driver 2011-06-27 15:09:38 -04:00
def.h rtl8192de: Clean up and fix 92D cut version constants and macros. 2012-04-12 15:06:06 -04:00
dm.c rtlwifi: initialize local array and set value. 2013-06-10 15:37:34 -04:00
dm.h rtlwifi: rtl8192de: Convert driver to use private dm structs 2012-04-23 15:35:33 -04:00
fw.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-10-02 13:38:27 -07:00
fw.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
hw.c rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192de: rtl8723ae: Add changes required by adding rtl81988ee 2013-04-01 16:20:53 -04:00
hw.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
led.c rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
led.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
phy.c rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192de: rtl8723ae: Add changes required by adding rtl81988ee 2013-04-01 16:20:53 -04:00
phy.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
reg.h rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192de: rtl8723ae: Add changes required by adding rtl81988ee 2013-04-01 16:20:53 -04:00
rf.c rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192se: rtl8192de: Shorten some variable names 2012-10-30 16:17:54 -04:00
rf.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
sw.c rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192de: rtl8723ae: Add changes required by adding rtl81988ee 2013-04-01 16:20:53 -04:00
sw.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
table.c rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
table.h rtl8192de: Update copyright dates 2012-01-24 14:08:38 -05:00
trx.c mac80211: Use a cfg80211_chan_def in ieee80211_hw_conf_chan 2013-03-25 19:19:35 +01:00
trx.h mac80211: move TX station pointer and restructure TX 2012-07-31 16:18:39 +02:00