mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [saeed:net-next 1/52] drivers/net/ethernet/mellanox/mlx5/core/en_main.c:3404:12: warning: stack frame size (1104) exceeds limit (1024) in 'mlx5e_setup_tc_mqprio'
@ 2022-07-06  8:41 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-06  8:41 UTC (permalink / raw)
  To: Moshe Tal; +Cc: llvm, kbuild-all, linux-kernel, Saeed Mahameed, Tariq Toukan

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git net-next
head:   f42c9d1eb0a1e2c7f986e0c2f6b362fddd0cdae7
commit: b229566876d91a99322a682e98beaa68dc38f9c9 [1/52] net/mlx5e: Fix mqprio_rl handling on devlink reload
config: powerpc-powernv_defconfig (https://download.01.org/0day-ci/archive/20220706/202207061612.xOfK0eiz-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f553287b588916de09c66e3e32bf75e5060f967f)
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 powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git/commit/?id=b229566876d91a99322a682e98beaa68dc38f9c9
        git remote add saeed https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git
        git fetch --no-tags saeed net-next
        git checkout b229566876d91a99322a682e98beaa68dc38f9c9
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/net/ethernet/mellanox/mlx5/core/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/net/ethernet/mellanox/mlx5/core/en_main.c:3404:12: warning: stack frame size (1104) exceeds limit (1024) in 'mlx5e_setup_tc_mqprio' [-Wframe-larger-than]
   static int mlx5e_setup_tc_mqprio(struct mlx5e_priv *priv,
              ^
   1 warning generated.


vim +/mlx5e_setup_tc_mqprio +3404 drivers/net/ethernet/mellanox/mlx5/core/en_main.c

b229566876d91a Moshe Tal    2022-05-04  3403  
e2aeac448f06ac Tariq Toukan 2021-07-06 @3404  static int mlx5e_setup_tc_mqprio(struct mlx5e_priv *priv,
e2aeac448f06ac Tariq Toukan 2021-07-06  3405  				 struct tc_mqprio_qopt_offload *mqprio)
e2aeac448f06ac Tariq Toukan 2021-07-06  3406  {
e2aeac448f06ac Tariq Toukan 2021-07-06  3407  	/* MQPRIO is another toplevel qdisc that can't be attached
e2aeac448f06ac Tariq Toukan 2021-07-06  3408  	 * simultaneously with the offloaded HTB.
e2aeac448f06ac Tariq Toukan 2021-07-06  3409  	 */
e2aeac448f06ac Tariq Toukan 2021-07-06  3410  	if (WARN_ON(priv->htb.maj_id))
e2aeac448f06ac Tariq Toukan 2021-07-06  3411  		return -EINVAL;
e2aeac448f06ac Tariq Toukan 2021-07-06  3412  
e2aeac448f06ac Tariq Toukan 2021-07-06  3413  	switch (mqprio->mode) {
e2aeac448f06ac Tariq Toukan 2021-07-06  3414  	case TC_MQPRIO_MODE_DCB:
e2aeac448f06ac Tariq Toukan 2021-07-06  3415  		return mlx5e_setup_tc_mqprio_dcb(priv, &mqprio->qopt);
ec60c4581bd952 Tariq Toukan 2021-08-11  3416  	case TC_MQPRIO_MODE_CHANNEL:
ec60c4581bd952 Tariq Toukan 2021-08-11  3417  		return mlx5e_setup_tc_mqprio_channel(priv, mqprio);
e2aeac448f06ac Tariq Toukan 2021-07-06  3418  	default:
e2aeac448f06ac Tariq Toukan 2021-07-06  3419  		return -EOPNOTSUPP;
e2aeac448f06ac Tariq Toukan 2021-07-06  3420  	}
e2aeac448f06ac Tariq Toukan 2021-07-06  3421  }
e2aeac448f06ac Tariq Toukan 2021-07-06  3422  

:::::: The code at line 3404 was first introduced by commit
:::::: e2aeac448f06ac6c6bee41a7ebecf814f7a57eef net/mlx5e: Maintain MQPRIO mode parameter

:::::: TO: Tariq Toukan <tariqt@nvidia.com>
:::::: CC: Saeed Mahameed <saeedm@nvidia.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-07-06  8:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-06  8:41 [saeed:net-next 1/52] drivers/net/ethernet/mellanox/mlx5/core/en_main.c:3404:12: warning: stack frame size (1104) exceeds limit (1024) in 'mlx5e_setup_tc_mqprio' 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

all inboxes | Powered by JetHome®