drivers/scsi/BusLogic.c:2554:1: warning: the frame size of 1148 bytes is larger than 1024 bytes
From: kbuild test robot
Date: Sun Oct 16 2016 - 22:07:57 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1001354ca34179f3db924eb66672442a173147dc
commit: 0766f788eb727e2e330d55d30545db65bcf2623f latent_entropy: Mark functions with __latent_entropy
date: 6 days ago
config: i386-randconfig-c0-10170932 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout 0766f788eb727e2e330d55d30545db65bcf2623f
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/scsi/BusLogic.c: In function 'blogic_init':
>> drivers/scsi/BusLogic.c:2554:1: warning: the frame size of 1148 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
vim +2554 drivers/scsi/BusLogic.c
839cb99e Khalid Aziz 2013-05-16 2538 remove Host Adapter from the list of registered
839cb99e Khalid Aziz 2013-05-16 2539 BusLogic Host Adapters, destroy the CCBs, Release
839cb99e Khalid Aziz 2013-05-16 2540 the System Resources, and Unregister the SCSI
^1da177e Linus Torvalds 2005-04-16 2541 Host.
^1da177e Linus Torvalds 2005-04-16 2542 */
839cb99e Khalid Aziz 2013-05-16 2543 blogic_destroy_ccbs(myadapter);
839cb99e Khalid Aziz 2013-05-16 2544 blogic_relres(myadapter);
839cb99e Khalid Aziz 2013-05-16 2545 list_del(&myadapter->host_list);
839cb99e Khalid Aziz 2013-05-16 2546 scsi_host_put(host);
d2afb3ae Daniel Walker 2006-08-14 2547 ret = -ENODEV;
^1da177e Linus Torvalds 2005-04-16 2548 }
^1da177e Linus Torvalds 2005-04-16 2549 }
839cb99e Khalid Aziz 2013-05-16 2550 kfree(adapter);
839cb99e Khalid Aziz 2013-05-16 2551 kfree(blogic_probeinfo_list);
839cb99e Khalid Aziz 2013-05-16 2552 blogic_probeinfo_list = NULL;
d2afb3ae Daniel Walker 2006-08-14 2553 return ret;
^1da177e Linus Torvalds 2005-04-16 @2554 }
^1da177e Linus Torvalds 2005-04-16 2555
^1da177e Linus Torvalds 2005-04-16 2556
^1da177e Linus Torvalds 2005-04-16 2557 /*
839cb99e Khalid Aziz 2013-05-16 2558 blogic_deladapter releases all resources previously acquired to
^1da177e Linus Torvalds 2005-04-16 2559 support a specific Host Adapter, including the I/O Address range, and
^1da177e Linus Torvalds 2005-04-16 2560 unregisters the BusLogic Host Adapter.
^1da177e Linus Torvalds 2005-04-16 2561 */
^1da177e Linus Torvalds 2005-04-16 2562
:::::: The code at line 2554 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: application/gzip