[ammarfaizi2-block:paulmck/linux-rcu/for-peterz.2022.05.25a 54/62] ERROR: modpost: "rcu_trc_cmpxchg_need_qs" [kernel/torture.ko] undefined!

From: kernel test robot
Date: Wed May 25 2022 - 15:45:51 EST


tree: https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/for-peterz.2022.05.25a
head: 4b2a6af8fe31e85fb2754b8da5072041a4dea471
commit: 0f7cb0c989a98c0d1e758e265021514bc6b595c0 [54/62] rcu-tasks: Atomically update .b.need_qs to obviate count
config: x86_64-randconfig-a011 (https://download.01.org/0day-ci/archive/20220526/202205260344.sqrr1y1S-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-1) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/ammarfaizi2/linux-block/commit/0f7cb0c989a98c0d1e758e265021514bc6b595c0
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/for-peterz.2022.05.25a
git checkout 0f7cb0c989a98c0d1e758e265021514bc6b595c0
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All error/warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from kernel/rcu/update.c:606:
kernel/rcu/tasks.h: In function 'rcu_trc_cmpxchg_need_qs':
>> kernel/rcu/tasks.h:1233:27: warning: variable 'trs_new' set but not used [-Wunused-but-set-variable]
1233 | union rcu_special trs_new = trs_old;
| ^~~~~~~
--
>> ERROR: modpost: "rcu_trc_cmpxchg_need_qs" [kernel/torture.ko] undefined!
>> ERROR: modpost: "rcu_trc_cmpxchg_need_qs" [kernel/rcu/rcuscale.ko] undefined!

--
0-DAY CI Kernel Test Service
https://01.org/lkp