lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202009251324.VWJgq5Dk%lkp@intel.com>
Date:   Fri, 25 Sep 2020 13:19:28 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Paul E. McKenney" <paulmck@...nel.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org
Subject: [rcu:rcu/test 55/64] kernel/rcu/rcutorture.c:1507:13: warning: no
 previous prototype for function 'rcu_nocb_cpu_offload'

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 <lkp@...el.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-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (26827 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ