linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* net/wireless/reg.c:2011:13: warning: stack frame size of 1256 bytes in function 'handle_band'
@ 2021-03-13 20:42 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-13 20:42 UTC (permalink / raw)
  To: Kees Cook
  Cc: kbuild-all, clang-built-linux, linux-kernel, Andrew Morton,
	Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 2949 bytes --]

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 <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> 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 <lrodriguez@atheros.com>
:::::: CC: John W. Linville <linville@tuxdriver.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29709 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-13 20:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-13 20:42 net/wireless/reg.c:2011:13: warning: stack frame size of 1256 bytes in function 'handle_band' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox