linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [rcu:dev.2020.03.16a 60/68] kernel/rcu/tasks.h:1000:37: error: 'rcu_tasks_rude' undeclared; did you mean 'rcu_tasks_qs'?
@ 2020-03-17 21:28 kbuild test robot
  2020-03-17 22:25 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2020-03-17 21:28 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1726 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.03.16a
head:   ad7a7c12b09555e7c488ee3be512d549cd78a2c0
commit: 277258c315b7c732948e47718de02c6908d1745e [60/68] rcu-tasks: Add RCU tasks to rcutorture writer stall output
config: arc-defconfig (attached as .config)
compiler: arc-elf-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 277258c315b7c732948e47718de02c6908d1745e
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from kernel/rcu/update.c:562:
   kernel/rcu/tasks.h: In function 'show_rcu_tasks_gp_kthreads':
>> kernel/rcu/tasks.h:1000:37: error: 'rcu_tasks_rude' undeclared (first use in this function); did you mean 'rcu_tasks_qs'?
    1000 |  show_rcu_tasks_generic_gp_kthread(&rcu_tasks_rude, "");
         |                                     ^~~~~~~~~~~~~~
         |                                     rcu_tasks_qs
   kernel/rcu/tasks.h:1000:37: note: each undeclared identifier is reported only once for each function it appears in

vim +1000 kernel/rcu/tasks.h

   996	
   997	void show_rcu_tasks_gp_kthreads(void)
   998	{
   999		show_rcu_tasks_generic_gp_kthread(&rcu_tasks, "");
> 1000		show_rcu_tasks_generic_gp_kthread(&rcu_tasks_rude, "");
  1001		show_rcu_tasks_trace_gp_kthread();
  1002	}
  1003	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 9222 bytes --]

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

* Re: [rcu:dev.2020.03.16a 60/68] kernel/rcu/tasks.h:1000:37: error: 'rcu_tasks_rude' undeclared; did you mean 'rcu_tasks_qs'?
  2020-03-17 21:28 [rcu:dev.2020.03.16a 60/68] kernel/rcu/tasks.h:1000:37: error: 'rcu_tasks_rude' undeclared; did you mean 'rcu_tasks_qs'? kbuild test robot
@ 2020-03-17 22:25 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2020-03-17 22:25 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-kernel

On Wed, Mar 18, 2020 at 05:28:25AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.03.16a
> head:   ad7a7c12b09555e7c488ee3be512d549cd78a2c0
> commit: 277258c315b7c732948e47718de02c6908d1745e [60/68] rcu-tasks: Add RCU tasks to rcutorture writer stall output
> config: arc-defconfig (attached as .config)
> compiler: arc-elf-gcc (GCC) 9.2.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 277258c315b7c732948e47718de02c6908d1745e
>         # save the attached .config to linux build tree
>         GCC_VERSION=9.2.0 make.cross ARCH=arc 
> 
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from kernel/rcu/update.c:562:
>    kernel/rcu/tasks.h: In function 'show_rcu_tasks_gp_kthreads':
> >> kernel/rcu/tasks.h:1000:37: error: 'rcu_tasks_rude' undeclared (first use in this function); did you mean 'rcu_tasks_qs'?
>     1000 |  show_rcu_tasks_generic_gp_kthread(&rcu_tasks_rude, "");
>          |                                     ^~~~~~~~~~~~~~
>          |                                     rcu_tasks_qs
>    kernel/rcu/tasks.h:1000:37: note: each undeclared identifier is reported only once for each function it appears in

Good catch!  Will fix!!!

							Thanx, Paul

> vim +1000 kernel/rcu/tasks.h
> 
>    996	
>    997	void show_rcu_tasks_gp_kthreads(void)
>    998	{
>    999		show_rcu_tasks_generic_gp_kthread(&rcu_tasks, "");
> > 1000		show_rcu_tasks_generic_gp_kthread(&rcu_tasks_rude, "");
>   1001		show_rcu_tasks_trace_gp_kthread();
>   1002	}
>   1003	
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org



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

end of thread, other threads:[~2020-03-17 22:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-17 21:28 [rcu:dev.2020.03.16a 60/68] kernel/rcu/tasks.h:1000:37: error: 'rcu_tasks_rude' undeclared; did you mean 'rcu_tasks_qs'? kbuild test robot
2020-03-17 22:25 ` 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;
as well as URLs for NNTP newsgroup(s).