[GIT RFC PULL rcu/urgent] Fix rcu-tasks compilation warning

From: Paul E. McKenney
Date: Mon Sep 21 2020 - 15:37:05 EST


Hello!

This pull request contains a single commit that fixes a bug that
was introduced in the last merge window. This bug causes a compiler
warning complaining about show_rcu_tasks_classic_gp_kthread() being an
unused static function in !SMP kernels. The fix is straightforward,
just adding an "inline" to make this a static inline function, thus
avoiding the warning. This bug was reported by Laurent Pinchart (CCed),
who would like it fixed sooner rather than later. So:

The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/urgent

for you to fetch changes up to 78edc005f477a4987ee0a5d96bfe117295c231fd:

rcu-tasks: Prevent complaints of unused show_rcu_tasks_classic_gp_kthread() (2020-09-16 16:32:36 -0700)

----------------------------------------------------------------
Paul E. McKenney (1):
rcu-tasks: Prevent complaints of unused show_rcu_tasks_classic_gp_kthread()

kernel/rcu/tasks.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)