drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c:2106:1: warning: the frame size of 1112 bytes is larger than 1024 bytes

From: kbuild test robot
Date: Sun Apr 03 2016 - 07:03:46 EST


Hi Arnd,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f7eeb8a87c033d126ff6b8c35405ba5dc4e55754
commit: b33c8ff4431a343561e2319f17c14286f2aa52e2 tracing: Fix freak link error caused by branch tracer
date: 7 weeks ago
config: i386-randconfig-sb0-04031855 (attached as .config)
reproduce:
git checkout b33c8ff4431a343561e2319f17c14286f2aa52e2
# save the attached .config to linux build tree
make ARCH=i386

All warnings (new ones prefixed by >>):

drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c: In function '_rtl92ee_read_txpower_info_from_hwpg':
>> drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c:2106:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^

vim +2106 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c

b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2090 }
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2091
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2092 efu->thermalmeter[0] = efu->eeprom_thermalmeter;
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2093 RTPRINT(rtlpriv, FINIT, INIT_TXPOWER,
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2094 "thermalmeter = 0x%x\n", efu->eeprom_thermalmeter);
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2095
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2096 if (!autoload_fail) {
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2097 efu->eeprom_regulatory = hwinfo[EEPROM_RF_BOARD_OPTION_92E]
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2098 & 0x07;
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2099 if (hwinfo[EEPROM_RF_BOARD_OPTION_92E] == 0xFF)
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2100 efu->eeprom_regulatory = 0;
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2101 } else {
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2102 efu->eeprom_regulatory = 0;
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2103 }
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2104 RTPRINT(rtlpriv, FINIT, INIT_TXPOWER,
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2105 "eeprom_regulatory = 0x%x\n", efu->eeprom_regulatory);
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 @2106 }
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2107
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2108 static void _rtl92ee_read_adapter_info(struct ieee80211_hw *hw)
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2109 {
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2110 struct rtl_priv *rtlpriv = rtl_priv(hw);
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2111 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw));
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2112 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw));
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2113 u16 i, usvalue;
b1a3bfc9 drivers/net/wireless/rtlwifi/rtl8192ee/hw.c Larry Finger 2014-09-26 2114 u8 hwinfo[HWSET_MAX_SIZE];

:::::: The code at line 2106 was first introduced by commit
:::::: b1a3bfc97cd95681c511515534b84843998f3ea0 rtlwifi: rtl8192ee: Move driver from staging to the regular tree

:::::: TO: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
:::::: CC: John W. Linville <linville@xxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data