* [paulmck-rcu:dev.2024.07.04a 51/60] kernel/rcu/tasks.h:2048:13: warning: 'test_rcu_tasks_callback' defined but not used
@ 2024-07-05 2:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-07-05 2:57 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: oe-kbuild-all, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2024.07.04a
head: eb325da54c0ff3147fa6dc7be2a313f45715f904
commit: 9bd3378dd10ba24793a049b5c71f87e01ddb3b51 [51/60] rcu-tasks: Remove RCU Tasks Rude asynchronous APIs
config: i386-buildonly-randconfig-002-20240705 (https://download.01.org/0day-ci/archive/20240705/202407051058.MZAxjsJZ-lkp@intel.com/config)
compiler: gcc-9 (Ubuntu 9.5.0-4ubuntu2) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240705/202407051058.MZAxjsJZ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407051058.MZAxjsJZ-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/rcu/update.c:656:
>> kernel/rcu/tasks.h:2048:13: warning: 'test_rcu_tasks_callback' defined but not used [-Wunused-function]
2048 | static void test_rcu_tasks_callback(struct rcu_head *rhp)
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/rcu/update.c:656:
>> kernel/rcu/tasks.h:399:13: warning: 'rcu_barrier_tasks_generic' defined but not used [-Wunused-function]
399 | static void rcu_barrier_tasks_generic(struct rcu_tasks *rtp)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/test_rcu_tasks_callback +2048 kernel/rcu/tasks.h
bfba7ed084f8ab Uladzislau Rezki (Sony 2020-12-09 2047)
bfba7ed084f8ab Uladzislau Rezki (Sony 2020-12-09 @2048) static void test_rcu_tasks_callback(struct rcu_head *rhp)
bfba7ed084f8ab Uladzislau Rezki (Sony 2020-12-09 2049) {
bfba7ed084f8ab Uladzislau Rezki (Sony 2020-12-09 2050) struct rcu_tasks_test_desc *rttd =
bfba7ed084f8ab Uladzislau Rezki (Sony 2020-12-09 2051) container_of(rhp, struct rcu_tasks_test_desc, rh);
bfba7ed084f8ab Uladzislau Rezki (Sony 2020-12-09 2052)
bfba7ed084f8ab Uladzislau Rezki (Sony 2020-12-09 2053) pr_info("Callback from %s invoked.\n", rttd->name);
bfba7ed084f8ab Uladzislau Rezki (Sony 2020-12-09 2054)
1cf1144e8473e8 Paul E. McKenney 2022-06-07 2055 rttd->notrun = false;
bfba7ed084f8ab Uladzislau Rezki (Sony 2020-12-09 2056) }
bfba7ed084f8ab Uladzislau Rezki (Sony 2020-12-09 2057)
:::::: The code at line 2048 was first introduced by commit
:::::: bfba7ed084f8ab0269a5a1d2f51b07865456c334 rcu-tasks: Add RCU-tasks self tests
:::::: TO: Uladzislau Rezki (Sony) <urezki@gmail.com>
:::::: CC: Paul E. McKenney <paulmck@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-07-05 2:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-05 2:57 [paulmck-rcu:dev.2024.07.04a 51/60] kernel/rcu/tasks.h:2048:13: warning: 'test_rcu_tasks_callback' defined but not used kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox