Content-Type: multipart/mixed; boundary="===============9051408625266942752==" 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 20:06:51 +0800 Message-ID: <202112281939.XfmBhts7-lkp@intel.com> In-Reply-To: <1640683240-62472-3-git-send-email-guwen@linux.alibaba.com> List-Id: --===============9051408625266942752== 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-r006-20211228 (https://download.01.org/0day-ci/arch= ive/20211228/202112281939.XfmBhts7-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # 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 make W=3D1 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 '__smcr_li= nk_clear' [-Wmissing-prototypes] 1221 | void __smcr_link_clear(struct smc_link *lnk) | ^~~~~~~~~~~~~~~~~ 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 --===============9051408625266942752==--