Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 3 messages Sep 17, 2020 – Sep 18, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 14 lines · Stephen Rothwell

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);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 5 lines

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

#2 lore raw

Hi Paul,

Quoted 20 lines · On Thu, 17 Sep 2020 15:01:45 -0700 "Paul E. McKenney" <[email protected]>…
Quoted 18 lines · Stephen Rothwell

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")

Quoted 7 lines
Quoted 1 line

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.

No worries, I have the new one.

Signature · 2 lines
Cheers,
Stephen Rothwell