net/wireless/reg.c:2011:13: warning: stack frame size of 1256 bytes in function 'handle_band'
From: kernel test robot <hidden>
Date: 2021-03-13 20:44:26
Also in:
lkml, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f296bfd5cd04cbb49b8fc9585adc280ab2b58624 commit: c637693b20da8706b7f48d96882c9c80ae935151 ubsan: remove UBSAN_MISC in favor of individual options date: 3 months ago config: mips-randconfig-r034-20210313 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dfd27ebbd0eb137c9a439b7c537bb87ba903efd3) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c637693b20da8706b7f48d96882c9c80ae935151 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout c637693b20da8706b7f48d96882c9c80ae935151 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All warnings (new ones prefixed by >>):
quoted
net/wireless/reg.c:2011:13: warning: stack frame size of 1256 bytes in function 'handle_band' [-Wframe-larger-than=]
static void handle_band(struct wiphy *wiphy,
^
1 warning generated.
vim +/handle_band +2011 net/wireless/reg.c
7c9ff7e232ec45 Markus Theil 2020-08-03 2010
7ca43d03b12914 Luis R. Rodriguez 2010-10-20 @2011 static void handle_band(struct wiphy *wiphy,
fdc9d7b2863ce6 Johannes Berg 2012-12-03 2012 enum nl80211_reg_initiator initiator,
fdc9d7b2863ce6 Johannes Berg 2012-12-03 2013 struct ieee80211_supported_band *sband)
8318d78a44d49a Johannes Berg 2008-01-24 2014 {
a92a3ce72483d7 Luis R. Rodriguez 2009-01-07 2015 unsigned int i;
a92a3ce72483d7 Luis R. Rodriguez 2009-01-07 2016
fdc9d7b2863ce6 Johannes Berg 2012-12-03 2017 if (!sband)
fdc9d7b2863ce6 Johannes Berg 2012-12-03 2018 return;
8318d78a44d49a Johannes Berg 2008-01-24 2019
8318d78a44d49a Johannes Berg 2008-01-24 2020 for (i = 0; i < sband->n_channels; i++)
fdc9d7b2863ce6 Johannes Berg 2012-12-03 2021 handle_channel(wiphy, initiator, &sband->channels[i]);
8318d78a44d49a Johannes Berg 2008-01-24 2022 }
8318d78a44d49a Johannes Berg 2008-01-24 2023
:::::: The code at line 2011 was first introduced by commit
:::::: 7ca43d03b1291481bdf894bbaec5d580e7684e7d cfg80211: pass the reg hint initiator to helpers
:::::: TO: Luis R. Rodriguez [off-list ref]
:::::: CC: John W. Linville [off-list ref]
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Attachments
- .config.gz [application/gzip] 29709 bytes