[rcu:dev.2020.03.17a 61/80] kernel/rcu/tasks.h:1000:37: error: 'rcu_tasks_rude' undeclared; did you mean 'rcu_tasks_qs'?

From: kbuild test robot
Date: Thu Mar 19 2020 - 07:01:53 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.03.17a
head: 0b42559abf67253005cca061233987ae9a2849a4
commit: 589081348a37ec02d9b067aa08d4a771ae590e1e [61/80] rcu-tasks: Add RCU tasks to rcutorture writer stall output
config: nds32-defconfig (attached as .config)
compiler: nds32le-linux-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 589081348a37ec02d9b067aa08d4a771ae590e1e
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=nds32

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

Note: the rcu/dev.2020.03.17a HEAD 0b42559abf67253005cca061233987ae9a2849a4 builds fine.
It only hurts bisectibility.

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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip