drivers/edac/amd64_edac.c:3012:1: warning: the frame size of 1100 bytes is larger than 1024 bytes

From: kbuild test robot
Date: Tue Oct 25 2016 - 20:03:32 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9fe68cad6e74967b88d0c6aeca7d9cd6b6e91942
commit: 0766f788eb727e2e330d55d30545db65bcf2623f latent_entropy: Mark functions with __latent_entropy
date: 2 weeks ago
config: i386-randconfig-h1-10260742 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 0766f788eb727e2e330d55d30545db65bcf2623f
# save the attached .config to linux build tree
make ARCH=i386

All warnings (new ones prefixed by >>):

drivers/edac/amd64_edac.c: In function 'amd64_edac_init':
>> drivers/edac/amd64_edac.c:3012:1: warning: the frame size of 1100 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^

vim +3012 drivers/edac/amd64_edac.c

f5b10c45 Tomasz Pala 2014-11-02 2996 #endif
f5b10c45 Tomasz Pala 2014-11-02 2997
de0336b3 Borislav Petkov 2016-04-27 2998 printk(KERN_INFO "AMD64 EDAC driver v%s\n", EDAC_AMD64_VERSION);
de0336b3 Borislav Petkov 2016-04-27 2999
7d6034d3 Doug Thompson 2009-04-27 3000 return 0;
7d6034d3 Doug Thompson 2009-04-27 3001
56b34b91 Borislav Petkov 2009-12-21 3002 err_pci:
56b34b91 Borislav Petkov 2009-12-21 3003 msrs_free(msrs);
56b34b91 Borislav Petkov 2009-12-21 3004 msrs = NULL;
cc4d8860 Borislav Petkov 2010-10-13 3005
360b7f3c Borislav Petkov 2010-10-15 3006 err_free:
360b7f3c Borislav Petkov 2010-10-15 3007 kfree(ecc_stngs);
360b7f3c Borislav Petkov 2010-10-15 3008 ecc_stngs = NULL;
360b7f3c Borislav Petkov 2010-10-15 3009
56b34b91 Borislav Petkov 2009-12-21 3010 err_ret:
7d6034d3 Doug Thompson 2009-04-27 3011 return err;
7d6034d3 Doug Thompson 2009-04-27 @3012 }
7d6034d3 Doug Thompson 2009-04-27 3013
7d6034d3 Doug Thompson 2009-04-27 3014 static void __exit amd64_edac_exit(void)
7d6034d3 Doug Thompson 2009-04-27 3015 {
3f37a36b Borislav Petkov 2016-05-06 3016 int i;
3f37a36b Borislav Petkov 2016-05-06 3017
d1ea71cd Borislav Petkov 2013-12-15 3018 if (pci_ctl)
d1ea71cd Borislav Petkov 2013-12-15 3019 edac_pci_release_generic_ctl(pci_ctl);
7d6034d3 Doug Thompson 2009-04-27 3020

:::::: The code at line 3012 was first introduced by commit
:::::: 7d6034d3213e2dd1c0f8678e11064007413011c4 amd64_edac: add module registration routines

:::::: TO: Doug Thompson <dougthompson@xxxxxxxxxxxx>
:::::: CC: Borislav Petkov <borislav.petkov@xxxxxxx>

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

Attachment: .config.gz
Description: application/gzip