diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2012-06-20 11:47:26 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 11:46:37 -0800 |
commit | 3ec1dc266051fc58d977a269f9807b4f987a93ef (patch) | |
tree | cbce9c464830dc19ad5dfc4478c93693097a2402 /arch | |
parent | 6df5eea2553e9b66c2ef1f68dfd4b8867e2ff740 (diff) |
rtlwifi: rtl8192se: Fix gcc 4.7.x warning
commit f761b6947dde42890beea59b020e1be87491809e upstream.
With gcc 4.7.x, the following warning is issued as the routine that sets
the array has the possibility of not initializing the values:
CC [M] drivers/net/wireless/rtlwifi/rtl8192se/phy.o
drivers/net/wireless/rtlwifi/rtl8192se/phy.c: In function ‘rtl92s_phy_set_txpower’:
drivers/net/wireless/rtlwifi/rtl8192se/phy.c:1268:23: warning: ‘ofdmpowerLevel[0]’ may be used uninitialized in this function [-Wuninitialized]
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions