Re: linux-next: build failure after merge of the rcu tree
From: Paul E. McKenney
Date: Thu Sep 17 2020 - 18:01:48 EST
On Thu, Sep 17, 2020 at 03:19:09PM +1000, Stephen Rothwell wrote:
> 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.
Please accept my apologies for the hassle! I believe that I finally
have this straightened out.
Please ignore if you already pulled -rcu for today, as I previously
set rcu/next back to a commit preceding the offending one.
Thanx, Paul