Re: kernel/rcu/tasks.h:1070:37: error: ârcu_tasks_rudeâ undeclared

From: Paul E. McKenney
Date: Wed Mar 18 2020 - 12:05:15 EST


On Wed, Mar 18, 2020 at 09:26:01PM +0530, Naresh Kamboju wrote:
> The arm64 build failed on linux-next master branch.
>
> make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm64
> CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache
> aarch64-linux-gnu-gcc" O=build Image
>
> In file included from ../kernel/rcu/update.c:562:
> ../kernel/rcu/tasks.h: In function âshow_rcu_tasks_gp_kthreadsâ:
> ../kernel/rcu/tasks.h:1070:37: error: ârcu_tasks_rudeâ undeclared
> (first use in this function); did you mean ârcu_tasks_qsâ?
> 1070 | show_rcu_tasks_generic_gp_kthread(&rcu_tasks_rude, "");
> | ^~~~~~~~~~~~~~
> | rcu_tasks_qs
> ../kernel/rcu/tasks.h:1070:37: note: each undeclared identifier is
> reported only once for each function it appears in
>
> Ref:
> https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/476084417

Good catch, but kbuild test robot beat you to it. A fix is on its
way, and thank you for your testing efforts!

Thanx, Paul