Messages in this thread | | | Date | Mon, 31 Jan 2022 20:17:09 +0800 | From | kernel test robot <> | Subject | [jpirko-mlxsw:ubridge 24/39] drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c:687:1: warning: the frame size of 1056 bytes is larger than 1024 bytes |
| |
tree: https://github.com/jpirko/linux_mlxsw ubridge head: c28f9c08c88cef81d174cecf88f8e426f3bc3aeb commit: c136514a00f9392d94f357b2cedbf5e04c910c44 [24/39] mlxsw: spectrum_fid: Configure layer 3 egress VID classification config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20220131/202201312057.VGGmaz9I-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/c136514a00f9392d94f357b2cedbf5e04c910c44 git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw git fetch --no-tags jpirko-mlxsw ubridge git checkout c136514a00f9392d94f357b2cedbf5e04c910c44 # 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:687:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=] 687 | } | ^ 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:510:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=] 510 | } | ^
vim +687 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c
672 673 static int 674 mlxsw_sp_fid_erif_eport_to_vid_map_one(const struct mlxsw_sp_fid *fid, 675 u16 rif_index, u16 local_port, u16 vid, 676 bool valid) 677 { 678 u8 port_page = local_port / (MLXSW_REG_REIV_REC_MAX_COUNT - 1); 679 u8 rec_num = local_port % MLXSW_REG_REIV_REC_MAX_COUNT; 680 struct mlxsw_sp *mlxsw_sp = fid->fid_family->mlxsw_sp; 681 char reiv_pl[MLXSW_REG_REIV_LEN]; 682 683 mlxsw_reg_reiv_pack(reiv_pl, port_page, rif_index); 684 mlxsw_reg_reiv_rec_update_set(reiv_pl, rec_num, true); 685 mlxsw_reg_reiv_rec_evid_set(reiv_pl, rec_num, valid ? vid : 0); 686 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(reiv), reiv_pl); > 687 } 688
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |