drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9012:13: warning: stack frame size of 8504 bytes in function 'rt2800_init_rfcsr'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ad347abe4a9876b1f65f408ab467137e88f77eb4
commit: 02c587733c8161355a43e6e110c2e29bd0acff72 kasan: remove redundant config option
date:   8 weeks ago
config: x86_64-randconfig-a002-20210612 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d2012d965d60c3258b3a69d024491698f8aec386)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=02c587733c8161355a43e6e110c2e29bd0acff72
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 02c587733c8161355a43e6e110c2e29bd0acff72
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/ralink/rt2x00/rt2800lib.c:9012:13: warning: stack frame size of 8504 bytes in function 'rt2800_init_rfcsr' [-Wframe-larger-than=]
   static void rt2800_init_rfcsr(struct rt2x00_dev *rt2x00dev)
               ^
   1 warning generated.


vim +/rt2800_init_rfcsr +9012 drivers/net/wireless/ralink/rt2x00/rt2800lib.c

41977e86c984fc drivers/net/wireless/ralink/rt2x00/rt2800lib.c Roman Yeryomin            2017-03-21  9011  
074f25295b78dc drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2013-04-17 @9012  static void rt2800_init_rfcsr(struct rt2x00_dev *rt2x00dev)
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9013  {
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9014  	if (rt2800_is_305x_soc(rt2x00dev)) {
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9015  		rt2800_init_rfcsr_305x_soc(rt2x00dev);
074f25295b78dc drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2013-04-17  9016  		return;
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9017  	}
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9018  
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9019  	switch (rt2x00dev->chip.rt) {
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9020  	case RT3070:
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9021  	case RT3071:
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9022  	case RT3090:
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9023  		rt2800_init_rfcsr_30xx(rt2x00dev);
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9024  		break;
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9025  	case RT3290:
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9026  		rt2800_init_rfcsr_3290(rt2x00dev);
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9027  		break;
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9028  	case RT3352:
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9029  		rt2800_init_rfcsr_3352(rt2x00dev);
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9030  		break;
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9031  	case RT3390:
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9032  		rt2800_init_rfcsr_3390(rt2x00dev);
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9033  		break;
d0e61a0f7cca51 drivers/net/wireless/ralink/rt2x00/rt2800lib.c Gabor Juhos               2019-04-24  9034  	case RT3883:
d0e61a0f7cca51 drivers/net/wireless/ralink/rt2x00/rt2800lib.c Gabor Juhos               2019-04-24  9035  		rt2800_init_rfcsr_3883(rt2x00dev);
d0e61a0f7cca51 drivers/net/wireless/ralink/rt2x00/rt2800lib.c Gabor Juhos               2019-04-24  9036  		break;
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9037  	case RT3572:
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9038  		rt2800_init_rfcsr_3572(rt2x00dev);
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9039  		break;
ab7078ac3d920e drivers/net/wireless/rt2x00/rt2800lib.c        Gabor Juhos               2013-07-08  9040  	case RT3593:
ab7078ac3d920e drivers/net/wireless/rt2x00/rt2800lib.c        Gabor Juhos               2013-07-08  9041  		rt2800_init_rfcsr_3593(rt2x00dev);
ab7078ac3d920e drivers/net/wireless/rt2x00/rt2800lib.c        Gabor Juhos               2013-07-08  9042  		break;
98e71f44c51d0a drivers/net/wireless/ralink/rt2x00/rt2800lib.c Serge Vasilugin           2017-01-20  9043  	case RT5350:
98e71f44c51d0a drivers/net/wireless/ralink/rt2x00/rt2800lib.c Serge Vasilugin           2017-01-20  9044  		rt2800_init_rfcsr_5350(rt2x00dev);
98e71f44c51d0a drivers/net/wireless/ralink/rt2x00/rt2800lib.c Serge Vasilugin           2017-01-20  9045  		break;
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9046  	case RT5390:
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9047  		rt2800_init_rfcsr_5390(rt2x00dev);
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9048  		break;
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9049  	case RT5392:
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9050  		rt2800_init_rfcsr_5392(rt2x00dev);
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9051  		break;
0c9e5fb9190ac4 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2013-03-16  9052  	case RT5592:
0c9e5fb9190ac4 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2013-03-16  9053  		rt2800_init_rfcsr_5592(rt2x00dev);
074f25295b78dc drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2013-04-17  9054  		break;
41977e86c984fc drivers/net/wireless/ralink/rt2x00/rt2800lib.c Roman Yeryomin            2017-03-21  9055  	case RT6352:
41977e86c984fc drivers/net/wireless/ralink/rt2x00/rt2800lib.c Roman Yeryomin            2017-03-21  9056  		rt2800_init_rfcsr_6352(rt2x00dev);
41977e86c984fc drivers/net/wireless/ralink/rt2x00/rt2800lib.c Roman Yeryomin            2017-03-21  9057  		break;
d5374ef13ebda6 drivers/net/wireless/rt2x00/rt2800lib.c        Stanislaw Gruszka         2012-12-12  9058  	}
fcf5154118849c drivers/net/wireless/rt2x00/rt2800lib.c        Bartlomiej Zolnierkiewicz 2009-11-04  9059  }
b9a07ae9d9e096 drivers/net/wireless/rt2x00/rt2800lib.c        Ivo van Doorn             2010-08-23  9060  

:::::: The code at line 9012 was first introduced by commit
:::::: 074f25295b78dca7a0f65b87a16bebe493aab4f9 rt2800: cleanup rt2800_init_rfcsr

:::::: TO: Stanislaw Gruszka <stf_xl@xxxxx>
:::::: CC: John W. Linville <linville@xxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux