mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Saeed Mahameed <saeedm@nvidia.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org
Subject: [saeed:net-next 46/50] drivers/net/ethernet/mellanox/mlx5/core/en_main.c:3867:5: warning: stack frame size (1120) exceeds limit (1024) in 'mlx5e_set_features'
Date: Sun, 17 Jul 2022 20:59:49 +0800	[thread overview]
Message-ID: <202207172048.I1B682Ok-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git net-next
head:   fbb84e645ecffed83efc79743bce152dd7d122a8
commit: 5f0d554cf45f149e9ecc57b6cb43a49a18968151 [46/50] Merge branch 'patchq/501993' into mlx5-queue
config: riscv-randconfig-r013-20220717 (https://download.01.org/0day-ci/archive/20220717/202207172048.I1B682Ok-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 45067f8fbf61284839c739807c2da2e2505661eb)
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 riscv cross compiling tool for clang build
        # apt-get install binutils-riscv-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git/commit/?id=5f0d554cf45f149e9ecc57b6cb43a49a18968151
        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 5f0d554cf45f149e9ecc57b6cb43a49a18968151
        # 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=riscv 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:3867:5: warning: stack frame size (1120) exceeds limit (1024) in 'mlx5e_set_features' [-Wframe-larger-than]
   int mlx5e_set_features(struct net_device *netdev, netdev_features_t features)
       ^
   drivers/net/ethernet/mellanox/mlx5/core/en_main.c:3438:12: warning: stack frame size (1104) exceeds limit (1024) in 'mlx5e_setup_tc' [-Wframe-larger-than]
   static int mlx5e_setup_tc(struct net_device *dev, enum tc_setup_type type,
              ^
   2 warnings generated.


vim +/mlx5e_set_features +3867 drivers/net/ethernet/mellanox/mlx5/core/en_main.c

0e405443e803a3c Gal Pressman 2016-04-24  3866  
d3cbd4254df8817 Chris Mi     2019-05-16 @3867  int mlx5e_set_features(struct net_device *netdev, netdev_features_t features)
0e405443e803a3c Gal Pressman 2016-04-24  3868  {
992d8a4e38f0527 Gal Pressman 2021-11-29  3869  	netdev_features_t oper_features = features;
be0f780bc50a002 Gal Pressman 2018-01-11  3870  	int err = 0;
be0f780bc50a002 Gal Pressman 2018-01-11  3871  

:::::: The code at line 3867 was first introduced by commit
:::::: d3cbd4254df881777e2efb68ee10ede0d9dc0647 net/mlx5e: Add ndo_set_feature for uplink representor

:::::: TO: Chris Mi <chrism@mellanox.com>
:::::: CC: Saeed Mahameed <saeedm@mellanox.com>

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

                 reply	other threads:[~2022-07-17 13:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202207172048.I1B682Ok-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=saeedm@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®