oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [arm-integrator:kernel-in-vmalloc-v6.2-rc3-just-ttbr0-split 30/30] net/ethtool/ioctl.c:2536:1: warning: the frame size of 1120 bytes is larger than 1024 bytes
@ 2023-03-14 13:41 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-14 13:41 UTC (permalink / raw)
  To: Linus Walleij; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git kernel-in-vmalloc-v6.2-rc3-just-ttbr0-split
head:   8c7a9ba4d5ab142c56f970395de2c419dbcd0a72
commit: 8c7a9ba4d5ab142c56f970395de2c419dbcd0a72 [30/30] switch PGD/TTBR0 in <asm/uaccess-asm.h>
config: arm-randconfig-r046-20230313 (https://download.01.org/0day-ci/archive/20230314/202303142100.KIUtk9qg-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git/commit/?id=8c7a9ba4d5ab142c56f970395de2c419dbcd0a72
        git remote add arm-integrator https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
        git fetch --no-tags arm-integrator kernel-in-vmalloc-v6.2-rc3-just-ttbr0-split
        git checkout 8c7a9ba4d5ab142c56f970395de2c419dbcd0a72
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpio/ fs/ net/ethtool/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303142100.KIUtk9qg-lkp@intel.com/

All warnings (new ones prefixed by >>):

   net/ethtool/ioctl.c: In function 'ethtool_get_per_queue_coalesce':
>> net/ethtool/ioctl.c:2536:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    2536 | }
         | ^
--
   drivers/gpio/gpiolib-cdev.c: In function 'linereq_create':
>> drivers/gpio/gpiolib-cdev.c:1768:1: warning: the frame size of 1136 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    1768 | }
         | ^


vim +2536 net/ethtool/ioctl.c

f0db9b07341584 net/core/ethtool.c Govindarajulu Varadarajan 2014-09-03  2506  
3499e87ea0413e net/core/ethtool.c Arnd Bergmann             2019-03-07  2507  static noinline_for_stack int
3499e87ea0413e net/core/ethtool.c Arnd Bergmann             2019-03-07  2508  ethtool_get_per_queue_coalesce(struct net_device *dev,
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2509  			       void __user *useraddr,
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2510  			       struct ethtool_per_queue_op *per_queue_opt)
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2511  {
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2512  	u32 bit;
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2513  	int ret;
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2514  	DECLARE_BITMAP(queue_mask, MAX_NUM_QUEUE);
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2515  
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2516  	if (!dev->ethtool_ops->get_per_queue_coalesce)
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2517  		return -EOPNOTSUPP;
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2518  
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2519  	useraddr += sizeof(*per_queue_opt);
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2520  
3aa56885e51683 net/core/ethtool.c Yury Norov                2018-02-06  2521  	bitmap_from_arr32(queue_mask, per_queue_opt->queue_mask,
3aa56885e51683 net/core/ethtool.c Yury Norov                2018-02-06  2522  			  MAX_NUM_QUEUE);
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2523  
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2524  	for_each_set_bit(bit, queue_mask, MAX_NUM_QUEUE) {
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2525  		struct ethtool_coalesce coalesce = { .cmd = ETHTOOL_GCOALESCE };
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2526  
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2527  		ret = dev->ethtool_ops->get_per_queue_coalesce(dev, bit, &coalesce);
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2528  		if (ret != 0)
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2529  			return ret;
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2530  		if (copy_to_user(useraddr, &coalesce, sizeof(coalesce)))
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2531  			return -EFAULT;
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2532  		useraddr += sizeof(coalesce);
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2533  	}
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2534  
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2535  	return 0;
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19 @2536  }
421797b1aa363c net/core/ethtool.c Kan Liang                 2016-02-19  2537  

:::::: The code at line 2536 was first introduced by commit
:::::: 421797b1aa363cb897f29f7d365e068dc9d9db81 net/ethtool: support get coalesce per queue

:::::: TO: Kan Liang <kan.liang@intel.com>
:::::: CC: David S. Miller <davem@davemloft.net>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

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

only message in thread, other threads:[~2023-03-14 13:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-14 13:41 [arm-integrator:kernel-in-vmalloc-v6.2-rc3-just-ttbr0-split 30/30] net/ethtool/ioctl.c:2536:1: warning: the frame size of 1120 bytes is larger than 1024 bytes 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;
as well as URLs for NNTP newsgroup(s).