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

From: Stephen Rothwell
Date: Mon Mar 09 2020 - 22:27:13 EST


Hi all,

After merging the rcu tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

WARNING: "rcu_tasks_rude_wait_gp" [vmlinux] is a static EXPORT_SYMBOL_GPL

Introduced by commit

cbd703932774 ("rcu-tasks: Add an RCU-tasks rude variant")

Why is all that code in a header file? Do you intend to have those
functions defined in each C file that includes kernel/rcu/tasks.h?

--
Cheers,
Stephen Rothwell

Attachment: pgpvJXjbe3L5O.pgp
Description: OpenPGP digital signature