* [paulmck-rcu:dev.2023.08.24a 72/74] kernel/locking/qspinlock.c:779:23: warning: no previous declaration for '__pv_spinlock_dump'
@ 2023-09-03 14:30 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-03 14:30 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.2023.08.24a
head: ed763051f63059bdb6d728c0890993eab8833feb
commit: c0aaeb8f1165a2624a6ed4d8c2a5f340e4b91158 [72/74] squash! EXP qspinlock: Dump lock state, add call from locktorture
config: x86_64-randconfig-003-20230903 (https://download.01.org/0day-ci/archive/20230903/202309032246.VhgyldbK-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230903/202309032246.VhgyldbK-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/202309032246.VhgyldbK-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/locking/qspinlock.c:784:0:
kernel/locking/qspinlock_paravirt.h:493:1: warning: no previous declaration for '__pv_queued_spin_unlock_slowpath' [-Wmissing-declarations]
__pv_queued_spin_unlock_slowpath(struct qspinlock *lock, u8 locked)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/locking/qspinlock.c:785:0:
kernel/locking/qspinlock.c:691:29: error: redefinition of 'next_to_cpu_idx'
static struct mcs_spinlock *next_to_cpu_idx(struct mcs_spinlock *msp, int *cpup, int *idxp)
^~~~~~~~~~~~~~~
kernel/locking/qspinlock.c:691:29: note: previous definition of 'next_to_cpu_idx' was here
static struct mcs_spinlock *next_to_cpu_idx(struct mcs_spinlock *msp, int *cpup, int *idxp)
^~~~~~~~~~~~~~~
>> kernel/locking/qspinlock.c:779:23: warning: no previous declaration for '__pv_spinlock_dump' [-Wmissing-declarations]
#define spinlock_dump __pv_spinlock_dump
^
kernel/locking/qspinlock.c:712:6: note: in expansion of macro 'spinlock_dump'
void spinlock_dump(spinlock_t *sp, bool full)
^~~~~~~~~~~~~
vim +/__pv_spinlock_dump +779 kernel/locking/qspinlock.c
775
776 #undef queued_spin_lock_slowpath
777 #define queued_spin_lock_slowpath __pv_queued_spin_lock_slowpath
778 #define queued_spin_lock_slowpath_diags __pv_queued_spin_lock_slowpath_diags
> 779 #define spinlock_dump __pv_spinlock_dump
780 #define tail_to_cpu __pv_tail_to_cpu
781 #define tail_to_idx __pv_tail_to_idx
782 #define next_to_prev __pv_next_to_prev
783
--
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:[~2023-09-03 14:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-03 14:30 [paulmck-rcu:dev.2023.08.24a 72/74] kernel/locking/qspinlock.c:779:23: warning: no previous declaration for '__pv_spinlock_dump' 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