From: kernel test robot <lkp@intel.com>
To: Amit Cohen <amcohen@nvidia.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [jpirko-mlxsw:ubridge 44/50] drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:818:1: warning: stack frame size (1080) exceeds limit (1024) in 'mlxsw_sp_fid_erif_eport_to_vid_map_one'
Date: Fri, 18 Feb 2022 08:54:38 +0800 [thread overview]
Message-ID: <202202180823.WrBulKvy-lkp@intel.com> (raw)
tree: https://github.com/jpirko/linux_mlxsw ubridge
head: a9a4f2bd50dde60a52d9dda03d38875255fe0b9c
commit: df1dd79ad7b8bcecdae432f7ce94ded5a2358f20 [44/50] WIP: Add FID families
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220218/202202180823.WrBulKvy-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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://github.com/jpirko/linux_mlxsw/commit/df1dd79ad7b8bcecdae432f7ce94ded5a2358f20
git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
git fetch --no-tags jpirko-mlxsw ubridge
git checkout df1dd79ad7b8bcecdae432f7ce94ded5a2358f20
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/net/ethernet/mellanox/mlxsw/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:545:12: warning: stack frame size (1096) exceeds limit (1024) in 'mlxsw_sp_fid_erif_eport_to_vid_map' [-Wframe-larger-than]
static int mlxsw_sp_fid_erif_eport_to_vid_map(struct mlxsw_sp_fid *fid,
^
>> drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:818:1: warning: stack frame size (1080) exceeds limit (1024) in 'mlxsw_sp_fid_erif_eport_to_vid_map_one' [-Wframe-larger-than]
mlxsw_sp_fid_erif_eport_to_vid_map_one(const struct mlxsw_sp_fid *fid,
^
2 warnings generated.
vim +/mlxsw_sp_fid_erif_eport_to_vid_map_one +818 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c
237f4f76837b01 Amit Cohen 2022-01-06 816
e6f8d1542cdc49 Amit Cohen 2022-01-10 817 static int
e6f8d1542cdc49 Amit Cohen 2022-01-10 @818 mlxsw_sp_fid_erif_eport_to_vid_map_one(const struct mlxsw_sp_fid *fid,
e6f8d1542cdc49 Amit Cohen 2022-01-10 819 u16 rif_index, u16 local_port, u16 vid,
e6f8d1542cdc49 Amit Cohen 2022-01-10 820 bool valid)
e6f8d1542cdc49 Amit Cohen 2022-01-10 821 {
e6f8d1542cdc49 Amit Cohen 2022-01-10 822 u8 port_page = local_port / (MLXSW_REG_REIV_REC_MAX_COUNT - 1);
e6f8d1542cdc49 Amit Cohen 2022-01-10 823 u8 rec_num = local_port % MLXSW_REG_REIV_REC_MAX_COUNT;
e6f8d1542cdc49 Amit Cohen 2022-01-10 824 struct mlxsw_sp *mlxsw_sp = fid->fid_family->mlxsw_sp;
e6f8d1542cdc49 Amit Cohen 2022-01-10 825 char reiv_pl[MLXSW_REG_REIV_LEN];
e6f8d1542cdc49 Amit Cohen 2022-01-10 826
e6f8d1542cdc49 Amit Cohen 2022-01-10 827 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index);
e6f8d1542cdc49 Amit Cohen 2022-01-10 828 mlxsw_reg_reiv_rec_update_set(reiv_pl, rec_num, true);
e6f8d1542cdc49 Amit Cohen 2022-01-10 829 mlxsw_reg_reiv_rec_evid_set(reiv_pl, rec_num, valid ? vid : 0);
e6f8d1542cdc49 Amit Cohen 2022-01-10 830 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(reiv), reiv_pl);
e6f8d1542cdc49 Amit Cohen 2022-01-10 831 }
e6f8d1542cdc49 Amit Cohen 2022-01-10 832
:::::: The code at line 818 was first introduced by commit
:::::: e6f8d1542cdc497206db6e9cd460cba6ca34e9a3 mlxsw: spectrum_fid: Configure layer 3 egress VID classification
:::::: TO: Amit Cohen <amcohen@nvidia.com>
:::::: CC: Amit Cohen <amcohen@nvidia.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [jpirko-mlxsw:ubridge 44/50] drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:818:1: warning: stack frame size (1080) exceeds limit (1024) in 'mlxsw_sp_fid_erif_eport_to_vid_map_one'
Date: Fri, 18 Feb 2022 08:54:38 +0800 [thread overview]
Message-ID: <202202180823.WrBulKvy-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3681 bytes --]
tree: https://github.com/jpirko/linux_mlxsw ubridge
head: a9a4f2bd50dde60a52d9dda03d38875255fe0b9c
commit: df1dd79ad7b8bcecdae432f7ce94ded5a2358f20 [44/50] WIP: Add FID families
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220218/202202180823.WrBulKvy-lkp(a)intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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://github.com/jpirko/linux_mlxsw/commit/df1dd79ad7b8bcecdae432f7ce94ded5a2358f20
git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
git fetch --no-tags jpirko-mlxsw ubridge
git checkout df1dd79ad7b8bcecdae432f7ce94ded5a2358f20
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/net/ethernet/mellanox/mlxsw/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:545:12: warning: stack frame size (1096) exceeds limit (1024) in 'mlxsw_sp_fid_erif_eport_to_vid_map' [-Wframe-larger-than]
static int mlxsw_sp_fid_erif_eport_to_vid_map(struct mlxsw_sp_fid *fid,
^
>> drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:818:1: warning: stack frame size (1080) exceeds limit (1024) in 'mlxsw_sp_fid_erif_eport_to_vid_map_one' [-Wframe-larger-than]
mlxsw_sp_fid_erif_eport_to_vid_map_one(const struct mlxsw_sp_fid *fid,
^
2 warnings generated.
vim +/mlxsw_sp_fid_erif_eport_to_vid_map_one +818 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c
237f4f76837b01 Amit Cohen 2022-01-06 816
e6f8d1542cdc49 Amit Cohen 2022-01-10 817 static int
e6f8d1542cdc49 Amit Cohen 2022-01-10 @818 mlxsw_sp_fid_erif_eport_to_vid_map_one(const struct mlxsw_sp_fid *fid,
e6f8d1542cdc49 Amit Cohen 2022-01-10 819 u16 rif_index, u16 local_port, u16 vid,
e6f8d1542cdc49 Amit Cohen 2022-01-10 820 bool valid)
e6f8d1542cdc49 Amit Cohen 2022-01-10 821 {
e6f8d1542cdc49 Amit Cohen 2022-01-10 822 u8 port_page = local_port / (MLXSW_REG_REIV_REC_MAX_COUNT - 1);
e6f8d1542cdc49 Amit Cohen 2022-01-10 823 u8 rec_num = local_port % MLXSW_REG_REIV_REC_MAX_COUNT;
e6f8d1542cdc49 Amit Cohen 2022-01-10 824 struct mlxsw_sp *mlxsw_sp = fid->fid_family->mlxsw_sp;
e6f8d1542cdc49 Amit Cohen 2022-01-10 825 char reiv_pl[MLXSW_REG_REIV_LEN];
e6f8d1542cdc49 Amit Cohen 2022-01-10 826
e6f8d1542cdc49 Amit Cohen 2022-01-10 827 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index);
e6f8d1542cdc49 Amit Cohen 2022-01-10 828 mlxsw_reg_reiv_rec_update_set(reiv_pl, rec_num, true);
e6f8d1542cdc49 Amit Cohen 2022-01-10 829 mlxsw_reg_reiv_rec_evid_set(reiv_pl, rec_num, valid ? vid : 0);
e6f8d1542cdc49 Amit Cohen 2022-01-10 830 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(reiv), reiv_pl);
e6f8d1542cdc49 Amit Cohen 2022-01-10 831 }
e6f8d1542cdc49 Amit Cohen 2022-01-10 832
:::::: The code at line 818 was first introduced by commit
:::::: e6f8d1542cdc497206db6e9cd460cba6ca34e9a3 mlxsw: spectrum_fid: Configure layer 3 egress VID classification
:::::: TO: Amit Cohen <amcohen@nvidia.com>
:::::: CC: Amit Cohen <amcohen@nvidia.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next reply other threads:[~2022-02-18 0:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-18 0:54 kernel test robot [this message]
2022-02-18 0:54 ` [jpirko-mlxsw:ubridge 44/50] drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:818:1: warning: stack frame size (1080) exceeds limit (1024) in 'mlxsw_sp_fid_erif_eport_to_vid_map_one' kernel test robot
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=202202180823.WrBulKvy-lkp@intel.com \
--to=lkp@intel.com \
--cc=amcohen@nvidia.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.