[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202308250940.ak8AUxEz-lkp@intel.com>
Date: Fri, 25 Aug 2023 09:26:31 +0800
From: kernel test robot <lkp@...el.com>
To: "Paul E. McKenney" <paulmck@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [paulmck-rcu:dev.2023.08.22a 61/69]
kernel/locking/locktorture.c:279:13: warning: no previous prototype for
function 'spinlock_dump'
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: mips-randconfig-r025-20230825 (https://download.01.org/0day-ci/archive/20230825/202308250940.ak8AUxEz-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230825/202308250940.ak8AUxEz-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308250940.ak8AUxEz-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/locking/locktorture.c:279:13: warning: no previous prototype for function 'spinlock_dump' [-Wmissing-prototypes]
279 | void __weak spinlock_dump(spinlock_t *sp, bool full)
| ^
kernel/locking/locktorture.c:279:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
279 | void __weak spinlock_dump(spinlock_t *sp, bool full)
| ^
| static
1 warning generated.
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
Powered by blists - more mailing lists