public inbox for [email protected]
 help / color / mirror / Atom feed
* [ammarfaizi2-block:paulmck/linux-rcu/dev.2022.04.18a 22/22] kernel/rcu/tree_nocb.h:1162:14: error: 'rcu_nocb_is_setup' undeclared; did you mean 'rcu_nocb_setup'?
@ 2022-04-21  6:41 kernel test robot
  2022-04-21 13:35 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-04-21  6:41 UTC (permalink / raw)
  To: Joel Fernandes
  Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel, Paul E. McKenney

tree:   https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev.2022.04.18a
head:   d6932dca19b1a7cbccad9d4acede8229e61cf97a
commit: d6932dca19b1a7cbccad9d4acede8229e61cf97a [22/22] rcu/nocb: Add an option to offload all CPUs on boot
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220421/[email protected]/config)
compiler: mips-linux-gcc (GCC) 11.2.0
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/ammarfaizi2/linux-block/commit/d6932dca19b1a7cbccad9d4acede8229e61cf97a
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/dev.2022.04.18a
        git checkout d6932dca19b1a7cbccad9d4acede8229e61cf97a
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

   In file included from kernel/rcu/tree.c:5031:
   kernel/rcu/tree_nocb.h: In function 'rcu_init_nohz':
>> kernel/rcu/tree_nocb.h:1162:14: error: 'rcu_nocb_is_setup' undeclared (first use in this function); did you mean 'rcu_nocb_setup'?
    1162 |         if (!rcu_nocb_is_setup) {
         |              ^~~~~~~~~~~~~~~~~
         |              rcu_nocb_setup
   kernel/rcu/tree_nocb.h:1162:14: note: each undeclared identifier is reported only once for each function it appears in


vim +1162 kernel/rcu/tree_nocb.h

  1153	
  1154	void __init rcu_init_nohz(void)
  1155	{
  1156		int cpu;
  1157		bool need_rcu_nocb_mask = false;
  1158		bool offload_all = false;
  1159		struct rcu_data *rdp;
  1160	
  1161	#if defined(CONFIG_RCU_NOCB_CPU_DEFAULT_ALL)
> 1162		if (!rcu_nocb_is_setup) {
  1163			need_rcu_nocb_mask = true;
  1164			offload_all = true;
  1165		}
  1166	#endif
  1167	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ammarfaizi2-block:paulmck/linux-rcu/dev.2022.04.18a 22/22] kernel/rcu/tree_nocb.h:1162:14: error: 'rcu_nocb_is_setup' undeclared; did you mean 'rcu_nocb_setup'?
  2022-04-21  6:41 [ammarfaizi2-block:paulmck/linux-rcu/dev.2022.04.18a 22/22] kernel/rcu/tree_nocb.h:1162:14: error: 'rcu_nocb_is_setup' undeclared; did you mean 'rcu_nocb_setup'? kernel test robot
@ 2022-04-21 13:35 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2022-04-21 13:35 UTC (permalink / raw)
  To: kernel test robot
  Cc: Joel Fernandes, kbuild-all, GNU/Weeb Mailing List, linux-kernel

On Thu, Apr 21, 2022 at 02:41:04PM +0800, kernel test robot wrote:
> tree:   https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev.2022.04.18a
> head:   d6932dca19b1a7cbccad9d4acede8229e61cf97a
> commit: d6932dca19b1a7cbccad9d4acede8229e61cf97a [22/22] rcu/nocb: Add an option to offload all CPUs on boot
> config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220421/[email protected]/config)
> compiler: mips-linux-gcc (GCC) 11.2.0
> 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/ammarfaizi2/linux-block/commit/d6932dca19b1a7cbccad9d4acede8229e61cf97a
>         git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
>         git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/dev.2022.04.18a
>         git checkout d6932dca19b1a7cbccad9d4acede8229e61cf97a
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <[email protected]>

This one is no longer in tree, but a replacement should be on its way,
with attribution.

							Thanx, Paul

> All errors (new ones prefixed by >>):
> 
>    In file included from kernel/rcu/tree.c:5031:
>    kernel/rcu/tree_nocb.h: In function 'rcu_init_nohz':
> >> kernel/rcu/tree_nocb.h:1162:14: error: 'rcu_nocb_is_setup' undeclared (first use in this function); did you mean 'rcu_nocb_setup'?
>     1162 |         if (!rcu_nocb_is_setup) {
>          |              ^~~~~~~~~~~~~~~~~
>          |              rcu_nocb_setup
>    kernel/rcu/tree_nocb.h:1162:14: note: each undeclared identifier is reported only once for each function it appears in
> 
> 
> vim +1162 kernel/rcu/tree_nocb.h
> 
>   1153	
>   1154	void __init rcu_init_nohz(void)
>   1155	{
>   1156		int cpu;
>   1157		bool need_rcu_nocb_mask = false;
>   1158		bool offload_all = false;
>   1159		struct rcu_data *rdp;
>   1160	
>   1161	#if defined(CONFIG_RCU_NOCB_CPU_DEFAULT_ALL)
> > 1162		if (!rcu_nocb_is_setup) {
>   1163			need_rcu_nocb_mask = true;
>   1164			offload_all = true;
>   1165		}
>   1166	#endif
>   1167	
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://01.org/lkp

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-21 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21  6:41 [ammarfaizi2-block:paulmck/linux-rcu/dev.2022.04.18a 22/22] kernel/rcu/tree_nocb.h:1162:14: error: 'rcu_nocb_is_setup' undeclared; did you mean 'rcu_nocb_setup'? kernel test robot
2022-04-21 13:35 ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox