* [kkdwivedi:res-lock-base 22/26] include/asm-generic/rqspinlock.h:40:12: error: conflicting types for 'resilient_tas_spin_lock'; have 'int(rqspinlock_t *, u64)' {aka 'int(struct rqspinlock *, long long unsigned int)'}
@ 2025-02-17 14:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-17 14:13 UTC (permalink / raw)
To: Kumar Kartikeya Dwivedi; +Cc: oe-kbuild-all
tree: https://github.com/kkdwivedi/linux res-lock-base
head: f998e0817b8a89691123f4a4a6e1277c22523695
commit: 6b89b1fcfbb4a0cc3ff978fdb42667cd3163c785 [22/26] bpf: Introduce rqspinlock kfuncs
config: x86_64-buildonly-randconfig-005-20250217 (https://download.01.org/0day-ci/archive/20250217/202502172203.h8E93U3V-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250217/202502172203.h8E93U3V-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/202502172203.h8E93U3V-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/x86/include/asm/rqspinlock.h:27,
from include/linux/bpf.h:33,
from include/linux/security.h:35,
from include/net/scm.h:9,
from include/linux/netlink.h:9,
from include/uapi/linux/neighbour.h:6,
from include/linux/netdevice.h:44,
from include/linux/etherdevice.h:21,
from net/devres.c:7:
>> include/asm-generic/rqspinlock.h:40:12: error: conflicting types for 'resilient_tas_spin_lock'; have 'int(rqspinlock_t *, u64)' {aka 'int(struct rqspinlock *, long long unsigned int)'}
40 | extern int resilient_tas_spin_lock(rqspinlock_t *lock, u64 timeout);
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/x86/include/asm/rqspinlock.h:17:12: note: previous declaration of 'resilient_tas_spin_lock' with type 'int(struct qspinlock *, u64)' {aka 'int(struct qspinlock *, long long unsigned int)'}
17 | extern int resilient_tas_spin_lock(struct qspinlock *lock, u64 timeout);
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +40 include/asm-generic/rqspinlock.h
b162e534420623 Kumar Kartikeya Dwivedi 2024-08-27 39
5effdf8488423d Kumar Kartikeya Dwivedi 2025-02-04 @40 extern int resilient_tas_spin_lock(rqspinlock_t *lock, u64 timeout);
5effdf8488423d Kumar Kartikeya Dwivedi 2025-02-04 41 #ifdef CONFIG_QUEUED_SPINLOCKS
d6a1899b88a315 Kumar Kartikeya Dwivedi 2024-11-18 42 extern int resilient_queued_spin_lock_slowpath(rqspinlock_t *lock, u32 val, u64 timeout);
5effdf8488423d Kumar Kartikeya Dwivedi 2025-02-04 43 #endif
d6a1899b88a315 Kumar Kartikeya Dwivedi 2024-11-18 44
:::::: The code at line 40 was first introduced by commit
:::::: 5effdf8488423d8a573cffea2958bb0ba3e177d0 rqspinlock: Add a test-and-set fallback
:::::: TO: Kumar Kartikeya Dwivedi <memxor@gmail.com>
:::::: CC: Kumar Kartikeya Dwivedi <memxor@gmail.com>
--
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:[~2025-02-17 14:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17 14:13 [kkdwivedi:res-lock-base 22/26] include/asm-generic/rqspinlock.h:40:12: error: conflicting types for 'resilient_tas_spin_lock'; have 'int(rqspinlock_t *, u64)' {aka 'int(struct rqspinlock *, long long unsigned int)'} kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.