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

From: Stephen Rothwell <[email-masked]>
Date: Thu, 22 Apr 2021 14:10:16 +1000

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.

-- 
Cheers,
Stephen Rothwell