[paulmck-rcu:dev.2023.08.22a 61/69] kernel/locking/locktorture.c:279:13: warning: no previous prototype for 'spinlock_dump'
From: kernel test robot
Date: Thu Aug 24 2023 - 21:40:43 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2023.08.22a
head: 354957ec11dc80eac68c4b1e10c237d69adc1833
commit: bdd8d60bd4047aa4a7dc207789dc4ad0dfd5f07e [61/69] EXP qspinlock: Dump lock state, add call from locktorture
config: arm-randconfig-r031-20230825 (https://download.01.org/0day-ci/archive/20230825/202308250944.F8nVkKh9-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230825/202308250944.F8nVkKh9-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308250944.F8nVkKh9-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> kernel/locking/locktorture.c:279:13: warning: no previous prototype for 'spinlock_dump' [-Wmissing-prototypes]
279 | void __weak spinlock_dump(spinlock_t *sp, bool full)
| ^~~~~~~~~~~~~
vim +/spinlock_dump +279 kernel/locking/locktorture.c
278
> 279 void __weak spinlock_dump(spinlock_t *sp, bool full)
280 {
281 pr_alert("%s __weak stub invoked.\n", __func__);
282 }
283
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki