rtlwifi: rtl8192ce: rtl8192cu: Fix most sparse warnings
Fix most sparse warnings in rtlwifi, rtl8192ce and rtl8192cu drivers. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
76c34f910a
commit
d3bb1429a2
@@ -235,7 +235,7 @@ void read_efuse(struct ieee80211_hw *hw, u16 _offset, u16 _size_byte, u8 *pbuf)
|
||||
{
|
||||
struct rtl_priv *rtlpriv = rtl_priv(hw);
|
||||
struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw));
|
||||
u8 efuse_tbl[rtlpriv->cfg->maps[EFUSE_HWSET_MAX_SIZE]];
|
||||
u8 efuse_tbl[HWSET_MAX_SIZE];
|
||||
u8 rtemp8[1];
|
||||
u16 efuse_addr = 0;
|
||||
u8 offset, wren;
|
||||
@@ -245,7 +245,7 @@ void read_efuse(struct ieee80211_hw *hw, u16 _offset, u16 _size_byte, u8 *pbuf)
|
||||
rtlpriv->cfg->maps[EFUSE_MAX_SECTION_MAP];
|
||||
const u32 efuse_len =
|
||||
rtlpriv->cfg->maps[EFUSE_REAL_CONTENT_SIZE];
|
||||
u16 efuse_word[efuse_max_section][EFUSE_MAX_WORD_UNIT];
|
||||
u16 efuse_word[EFUSE_MAX_SECTION][EFUSE_MAX_WORD_UNIT];
|
||||
u16 efuse_utilized = 0;
|
||||
u8 efuse_usage;
|
||||
|
||||
|
Reference in New Issue
Block a user