tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git 
rcu/test
head:   516c2f87d0d1204a9ea1b36298283f74056a7eab
commit: 4df5d8a622235d0b26aba92c881d190667e4d6c3 [55/64] rcutorture: Test 
runtime toggling of CPUs' callback offloading
config: riscv-randconfig-r036-20200923 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 
c32e69b2ce7abfb151a87ba363ac9e25abf7d417)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=4df5d8a622235d0b26aba92c881d190667e4d6c3
        git remote add rcu 
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
        git fetch --no-tags rcu rcu/test
        git checkout 4df5d8a622235d0b26aba92c881d190667e4d6c3
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>

All warnings (new ones prefixed by >>):

>> kernel/rcu/rcutorture.c:1507:13: warning: no previous prototype for function 
>> 'rcu_nocb_cpu_offload' [-Wmissing-prototypes]
   void __weak rcu_nocb_cpu_offload(int cpu) {}
               ^
   kernel/rcu/rcutorture.c:1507:1: note: declare 'static' if the function is 
not intended to be used outside of this translation unit
   void __weak rcu_nocb_cpu_offload(int cpu) {}
   ^
   static 
>> kernel/rcu/rcutorture.c:1508:13: warning: no previous prototype for function 
>> 'rcu_nocb_cpu_deoffload' [-Wmissing-prototypes]
   void __weak rcu_nocb_cpu_deoffload(int cpu) {}
               ^
   kernel/rcu/rcutorture.c:1508:1: note: declare 'static' if the function is 
not intended to be used outside of this translation unit
   void __weak rcu_nocb_cpu_deoffload(int cpu) {}
   ^
   static 
   2 warnings generated.

vim +/rcu_nocb_cpu_offload +1507 kernel/rcu/rcutorture.c

  1506  
> 1507  void __weak rcu_nocb_cpu_offload(int cpu) {}
> 1508  void __weak rcu_nocb_cpu_deoffload(int cpu) {}
  1509  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to