llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Re: [RFC PATCH net 2/2] net/smc: Resolve the race between SMC-R link access and clear
       [not found] <1640683240-62472-3-git-send-email-guwen@linux.alibaba.com>
@ 2021-12-28 11:56 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-28 11:56 UTC (permalink / raw)
  To: Wen Gu; +Cc: llvm, kbuild-all

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-race-in-smc-link-group-termination/20211228-172133
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git 79b69a83705e621b258ac6d8ae6d3bfdb4b930aa
config: i386-randconfig-a012-20211228 (https://download.01.org/0day-ci/archive/20211228/202112281902.funtfcTC-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7171af744543433ac75b232eb7dfdaef7efd4d7a)
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/0day-ci/linux/commit/effcb39cf4a6a501f01235f3ba3420c8736ce18a
        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=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash net/smc/

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 >>):

>> 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 = SMC_LNK_UNUSED;
  1227	}
  1228	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-28 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1640683240-62472-3-git-send-email-guwen@linux.alibaba.com>
2021-12-28 11:56 ` [RFC PATCH net 2/2] net/smc: Resolve the race between SMC-R link access and clear kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).