From: Larry Finger Date: Wed, 20 Jun 2012 16:47:26 +0000 (-0500) Subject: rtlwifi: rtl8192se: Fix gcc 4.7.x warning X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a25b5adbc6b283c17a025a706b926faf51e06478;p=pandora-kernel.git 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 Signed-off-by: John W. Linville Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed