Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Apr 22, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

In file included from kernel/rcu/update.c:584:
kernel/rcu/tasks.h:1404:20: error: static declaration of 'show_rcu_tasks_gp_kthreads' follows non-static declaration
1404 | static inline void show_rcu_tasks_gp_kthreads(void) {}

      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/rcu/update.c:49:
kernel/rcu/rcu.h:440:6: note: previous declaration of 'show_rcu_tasks_gp_kthreads' was here
  440 | void show_rcu_tasks_gp_kthreads(void);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

4bf02dd6048d ("tasks-rcu: Make show_rcu_tasks_gp_kthreads() be static inline")

I have used the rcu tree from next-20210421 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 (arm multi_v7_defconfig) failed like this:

In file included from kernel/rcu/update.c:584:
kernel/rcu/tasks.h:1404:20: error: static declaration of 'show_rcu_tasks_gp_kthreads' follows non-static declaration
1404 | static inline void show_rcu_tasks_gp_kthreads(void) {}

      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/rcu/update.c:49:
kernel/rcu/rcu.h:440:6: note: previous declaration of 'show_rcu_tasks_gp_kthreads' was here
  440 | void show_rcu_tasks_gp_kthreads(void);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 5 lines

Caused by commit

4bf02dd6048d ("tasks-rcu: Make show_rcu_tasks_gp_kthreads() be static inline")

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

Well, that is one commit that isn't going into the upcoming merge window!

I have (allegedly) fixed it with attribution, but also moved it out of my -next pile. I will update rcu/next after a quick round of tests.

Apologies for the hassle!

Thanx, Paul