* [jpirko-mlxsw:ubridge 24/24] drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:688:1: warning: the frame size of 1056 bytes is larger than 1024 bytes
@ 2022-01-10 20:41 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-10 20:41 UTC (permalink / raw)
To: Amit Cohen; +Cc: kbuild-all, linux-kernel
tree: https://github.com/jpirko/linux_mlxsw ubridge
head: 0643bb3b26318a01d878d01f6f06f73f7a4fd302
commit: 0643bb3b26318a01d878d01f6f06f73f7a4fd302 [24/24] mlxsw: spectrum_fid:
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220111/202201110412.gyFzNBL2-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.2.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://github.com/jpirko/linux_mlxsw/commit/0643bb3b26318a01d878d01f6f06f73f7a4fd302
git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
git fetch --no-tags jpirko-mlxsw ubridge
git checkout 0643bb3b26318a01d878d01f6f06f73f7a4fd302
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc 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: In function 'mlxsw_sp_fid_erif_eport_to_vid_map_one.isra':
>> drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:688:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
688 | }
| ^
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c: In function 'mlxsw_sp_fid_erif_eport_to_vid_map':
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:516:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
516 | }
| ^
vim +688 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c
673
674 static int
675 mlxsw_sp_fid_erif_eport_to_vid_map_one(const struct mlxsw_sp_fid *fid,
676 u16 rif_index, u16 local_port, u16 vid,
677 bool valid)
678 {
679 u8 port_page = local_port / (MLXSW_REG_REIV_REC_MAX_COUNT - 1);
680 u8 rec_num = local_port % MLXSW_REG_REIV_REC_MAX_COUNT;
681 struct mlxsw_sp *mlxsw_sp = fid->fid_family->mlxsw_sp;
682 char reiv_pl[MLXSW_REG_REIV_LEN];
683
684 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index);
685 mlxsw_reg_reiv_rec_update_set(reiv_pl, rec_num, true);
686 mlxsw_reg_reiv_rec_evid_set(reiv_pl, rec_num, valid ? vid : 0);
687 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(reiv), reiv_pl);
> 688 }
689
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* [jpirko-mlxsw:ubridge 24/24] drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:688:1: warning: the frame size of 1056 bytes is larger than 1024 bytes
@ 2022-01-10 20:41 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-10 20:41 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2700 bytes --]
tree: https://github.com/jpirko/linux_mlxsw ubridge
head: 0643bb3b26318a01d878d01f6f06f73f7a4fd302
commit: 0643bb3b26318a01d878d01f6f06f73f7a4fd302 [24/24] mlxsw: spectrum_fid:
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220111/202201110412.gyFzNBL2-lkp(a)intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.2.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://github.com/jpirko/linux_mlxsw/commit/0643bb3b26318a01d878d01f6f06f73f7a4fd302
git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
git fetch --no-tags jpirko-mlxsw ubridge
git checkout 0643bb3b26318a01d878d01f6f06f73f7a4fd302
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc 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: In function 'mlxsw_sp_fid_erif_eport_to_vid_map_one.isra':
>> drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:688:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
688 | }
| ^
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c: In function 'mlxsw_sp_fid_erif_eport_to_vid_map':
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:516:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
516 | }
| ^
vim +688 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c
673
674 static int
675 mlxsw_sp_fid_erif_eport_to_vid_map_one(const struct mlxsw_sp_fid *fid,
676 u16 rif_index, u16 local_port, u16 vid,
677 bool valid)
678 {
679 u8 port_page = local_port / (MLXSW_REG_REIV_REC_MAX_COUNT - 1);
680 u8 rec_num = local_port % MLXSW_REG_REIV_REC_MAX_COUNT;
681 struct mlxsw_sp *mlxsw_sp = fid->fid_family->mlxsw_sp;
682 char reiv_pl[MLXSW_REG_REIV_LEN];
683
684 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index);
685 mlxsw_reg_reiv_rec_update_set(reiv_pl, rec_num, true);
686 mlxsw_reg_reiv_rec_evid_set(reiv_pl, rec_num, valid ? vid : 0);
687 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(reiv), reiv_pl);
> 688 }
689
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-10 20:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 20:41 [jpirko-mlxsw:ubridge 24/24] drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:688:1: warning: the frame size of 1056 bytes is larger than 1024 bytes kernel test robot
2022-01-10 20:41 ` kernel test robot
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.