From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C39A8460E for ; Fri, 18 Feb 2022 00:57:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645145847; x=1676681847; h=date:from:to:cc:subject:message-id:mime-version; bh=Vj2CsOTUkQBHhjNBO3qfYzU6/jLsbz73fewBTx19X8E=; b=QllaDTV/1FmRpdb57kzUE9b48YveJcfhCtX6Gr4yO9EIBS6/KGudw9be g944ZI6NdG5ZqeNEykrredLI5YChhTKYMsD1E1jSJrSBBsgEeJoODsec8 kHxDC+Fgh+2smG5QTevgNY0JArQ9ZssrJ4ZhMIP+iVSCADZMunF+kyL9x s4v7nhuqkak/qxYB73wT0xAl233k6lj82r1w+D3dcRQwEYBx3THfJlgTg hEBbszKEZ9MxLqnitHXZQkuYR5f6N7Wt0+tz3TxIMSo0G+ML6mdaKFNrM ZiODhNv9jPh/rQcLoTvfO6EBGdjjV4TPM7gIZa2Ixc3hxTEjXmH8z2fF0 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10261"; a="275612418" X-IronPort-AV: E=Sophos;i="5.88,377,1635231600"; d="scan'208";a="275612418" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2022 16:55:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,377,1635231600"; d="scan'208";a="682263638" Received: from lkp-server01.sh.intel.com (HELO 6f05bf9e3301) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 17 Feb 2022 16:55:07 -0800 Received: from kbuild by 6f05bf9e3301 with local (Exim 4.92) (envelope-from ) id 1nKrYB-0000mT-Ag; Fri, 18 Feb 2022 00:55:07 +0000 Date: Fri, 18 Feb 2022 08:54:38 +0800 From: kernel test robot To: Amit Cohen 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' Message-ID: <202202180823.WrBulKvy-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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 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 :::::: CC: Amit Cohen --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org