linux-next: build failure after merge of the rcu tree

From: Stephen Rothwell
Date: Thu Sep 17 2020 - 01:19:18 EST


Hi all,

After merging the rcu tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from kernel/rcu/update.c:578:
kernel/rcu/tasks.h:601:20: error: static declaration of 'show_rcu_tasks_classic_gp_kthread' follows non-static declaration
601 | static inline void show_rcu_tasks_classic_gp_kthread(void) { }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/rcu/update.c:49:
kernel/rcu/rcu.h:537:6: note: previous declaration of 'show_rcu_tasks_classic_gp_kthread' was here
537 | void show_rcu_tasks_classic_gp_kthread(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

675d3ca52626 ("rcutorture: Make grace-period kthread report match RCU flavor being tested")

I have used the rcu tree from next-20200916 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpHi1utt3t4g.pgp
Description: OpenPGP digital signature