Content-Type: multipart/mixed; boundary="===============6362878763778089418==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH net 2/2] net/smc: Resolve the race between SMC-R link access and clear Date: Tue, 28 Dec 2021 19:56:31 +0800 Message-ID: <202112281902.funtfcTC-lkp@intel.com> In-Reply-To: <1640683240-62472-3-git-send-email-guwen@linux.alibaba.com> List-Id: --===============6362878763778089418== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Wen, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on net/master] url: https://github.com/0day-ci/linux/commits/Wen-Gu/net-smc-Fix-for-rac= e-in-smc-link-group-termination/20211228-172133 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git 79b69= a83705e621b258ac6d8ae6d3bfdb4b930aa config: i386-randconfig-a012-20211228 (https://download.01.org/0day-ci/arch= ive/20211228/202112281902.funtfcTC-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7171af= 744543433ac75b232eb7dfdaef7efd4d7a) reproduce (this is a W=3D1 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/0day-ci/linux/commit/effcb39cf4a6a501f01235f3b= a3420c8736ce18a git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Wen-Gu/net-smc-Fix-for-race-in-smc= -link-group-termination/20211228-172133 git checkout effcb39cf4a6a501f01235f3ba3420c8736ce18a # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash net/smc/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> net/smc/smc_core.c:1221:6: warning: no previous prototype for function '= __smcr_link_clear' [-Wmissing-prototypes] void __smcr_link_clear(struct smc_link *lnk) ^ net/smc/smc_core.c:1221:1: note: declare 'static' if the function is not= intended to be used outside of this translation unit void __smcr_link_clear(struct smc_link *lnk) ^ static = 1 warning generated. vim +/__smcr_link_clear +1221 net/smc/smc_core.c 1220 = > 1221 void __smcr_link_clear(struct smc_link *lnk) 1222 { 1223 smc_wr_free_link_mem(lnk); 1224 smc_lgr_put(lnk->lgr); /* lgr_hold in smcr_link_init() */ 1225 memset(lnk, 0, sizeof(struct smc_link)); 1226 lnk->state =3D SMC_LNK_UNUSED; 1227 } 1228 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============6362878763778089418==--