* [peterz-queue:locking/task_work 28/30] arch/x86/include/asm/atomic.h:204:9: error: implicit declaration of function 'try_cmpxchg'; did you mean '__try_cmpxchg'?
@ 2020-02-21 18:19 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-21 18:19 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2491 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/task_work
head: cb76f7aa8b6fd6aa66339ab69019d46696c0987f
commit: 5e548a1b2395f2cb70870aa98e96d00867ac18ec [28/30] asm-generic/atomic: Add try_cmpxchg() fallbacks
config: x86_64-rhel (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
git checkout 5e548a1b2395f2cb70870aa98e96d00867ac18ec
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/atomic.h:7:0,
from include/linux/crypto.h:15,
from arch/x86/kernel/asm-offsets.c:9:
arch/x86/include/asm/atomic.h: In function 'arch_atomic_try_cmpxchg':
>> arch/x86/include/asm/atomic.h:204:9: error: implicit declaration of function 'try_cmpxchg'; did you mean '__try_cmpxchg'? [-Werror=implicit-function-declaration]
return try_cmpxchg(&v->counter, old, new);
^~~~~~~~~~~
__try_cmpxchg
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:101: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1112: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:179: sub-make] Error 2
56 real 6 user 7 sys 24.12% cpu make prepare
vim +204 arch/x86/include/asm/atomic.h
5abbbbf0b0cd4ab Brian Gerst 2010-01-07 201
8bf705d130396e6 Dmitry Vyukov 2018-01-29 202 static __always_inline bool arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new)
a9ebf306f52c756 Peter Zijlstra 2017-02-01 203 {
a9ebf306f52c756 Peter Zijlstra 2017-02-01 @204 return try_cmpxchg(&v->counter, old, new);
a9ebf306f52c756 Peter Zijlstra 2017-02-01 205 }
58468425bac1b7f Peter Zijlstra 2020-01-24 206 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg
a9ebf306f52c756 Peter Zijlstra 2017-02-01 207
:::::: The code at line 204 was first introduced by commit
:::::: a9ebf306f52c756c4f9e50ee9a60cd6389d71344 locking/atomic: Introduce atomic_try_cmpxchg()
:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Ingo Molnar <mingo@kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 44254 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-21 18:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 18:19 [peterz-queue:locking/task_work 28/30] arch/x86/include/asm/atomic.h:204:9: error: implicit declaration of function 'try_cmpxchg'; did you mean '__try_cmpxchg'? kbuild 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.