Content-Type: multipart/mixed; boundary="===============3009779695288479602==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH] completion: introduce complete_put() helper function Date: Mon, 06 Dec 2021 15:17:23 +0800 Message-ID: <202112061502.0pJtOzSU-lkp@intel.com> In-Reply-To: <20211206040319.7063-1-yajun.deng@linux.dev> List-Id: --===============3009779695288479602== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Yajun, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/sched/core] [also build test WARNING on v5.16-rc4 next-20211203] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Yajun-Deng/completion-intr= oduce-complete_put-helper-function/20211206-120632 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 8c92606= ab81086db00cbb73347d124b4eb169b7e config: hexagon-randconfig-r031-20211206 (https://download.01.org/0day-ci/a= rchive/20211206/202112061502.0pJtOzSU-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project f50be8= eb0a12a61d23db6cda452c693001d76898) 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/6d181628873250fd66a8f2da1= 9182fec95973b6e git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Yajun-Deng/completion-introduce-co= mplete_put-helper-function/20211206-120632 git checkout 6d181628873250fd66a8f2da19182fec95973b6e # 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=3Dhexagon SHELL=3D/bin/bash kernel/sched/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/sched/completion.c:41:6: warning: no previous prototype for funct= ion 'complete_put' [-Wmissing-prototypes] void complete_put(refcount_t *r, struct completion *x) ^ kernel/sched/completion.c:41:1: note: declare 'static' if the function i= s not intended to be used outside of this translation unit void complete_put(refcount_t *r, struct completion *x) ^ static = 1 warning generated. vim +/complete_put +41 kernel/sched/completion.c 40 = > 41 void complete_put(refcount_t *r, struct completion *x) 42 { 43 if (refcount_dec_and_test(r)) 44 complete(x); 45 } 46 EXPORT_SYMBOL(complete_put); 47 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============3009779695288479602==--