drivers/net/wireless/cisco/airo.c:7198:1: warning: the frame size of 1068 bytes is larger than 1024 bytes

From: kbuild test robot
Date: Thu Feb 11 2016 - 10:28:55 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 721675fcf277cfd345117d3abae1c5590c5fdfd4
commit: c6d308534aef6c99904bf5862066360ae067abc4 UBSAN: run-time undefined behavior sanity checker
date: 3 weeks ago
config: i386-randconfig-h0-02112243 (attached as .config)
reproduce:
git checkout c6d308534aef6c99904bf5862066360ae067abc4
# save the attached .config to linux build tree
make ARCH=i386

All warnings (new ones prefixed by >>):

drivers/net/wireless/cisco/airo.c: In function 'airo_get_aplist':
>> drivers/net/wireless/cisco/airo.c:7198:1: warning: the frame size of 1068 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^

vim +7198 drivers/net/wireless/cisco/airo.c

^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7182 | status_rid.bssid[i][4]
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7183 | status_rid.bssid[i][5]);
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7184 i++) {
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7185 memcpy(address[i].sa_data,
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7186 status_rid.bssid[i], ETH_ALEN);
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7187 address[i].sa_family = ARPHRD_ETHER;
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7188 }
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7189 } else {
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7190 dwrq->flags = 1; /* Should be define'd */
7f59ebb5 drivers/net/wireless/airo.c Dan Carpenter 2012-06-18 7191 memcpy(extra + sizeof(struct sockaddr) * i, qual,
7f59ebb5 drivers/net/wireless/airo.c Dan Carpenter 2012-06-18 7192 sizeof(struct iw_quality) * i);
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7193 }
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7194 dwrq->length = i;
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7195
998a5a7d drivers/net/wireless/airo.c Frank Seidel 2009-02-25 7196 kfree(qual);
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7197 return 0;
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 @7198 }
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7199
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7200 /*------------------------------------------------------------------*/
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7201 /*
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7202 * Wireless Handler : Initiate Scan
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7203 */
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7204 static int airo_set_scan(struct net_device *dev,
^1da177e drivers/net/wireless/airo.c Linus Torvalds 2005-04-16 7205 struct iw_request_info *info,
9930ccee drivers/net/wireless/airo.c David Kilroy 2008-09-13 7206 struct iw_point *dwrq,

:::::: The code at line 7198 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data