lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 11 Jan 2022 04:41:39 +0800
From:   kernel test robot <lkp@...el.com>
To:     Amit Cohen <amcohen@...dia.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [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

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ