From: kernel test robot <lkp@intel.com>
To: Moshe Tal <moshet@nvidia.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Saeed Mahameed <saeedm@nvidia.com>,
Tariq Toukan <tariqt@nvidia.com>
Subject: [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'
Date: Wed, 6 Jul 2022 16:41:16 +0800 [thread overview]
Message-ID: <202207061612.xOfK0eiz-lkp@intel.com> (raw)
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
reply other threads:[~2022-07-06 8:41 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=202207061612.xOfK0eiz-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=moshet@nvidia.com \
--cc=saeedm@nvidia.com \
--cc=tariqt@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®