tree:
https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
atomics/arch-atomic
head: 11e2a4a373daf878d565ed5d53c35e4351d63221
commit: a3a90a873f0a64157c7e11ac1edd78f1106ef29d [20/33] locking/atomic: m68k: move to
ARCH_ATOMIC
config: m68k-defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id...
git remote add mark-rutland
https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark-rutland atomics/arch-atomic
git checkout a3a90a873f0a64157c7e11ac1edd78f1106ef29d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the mark-rutland/atomics/arch-atomic HEAD 11e2a4a373daf878d565ed5d53c35e4351d63221
builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from include/linux/atomic.h:87,
from include/linux/rcupdate.h:25,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from arch/m68k/kernel/asm-offsets.c:15:
include/asm-generic/atomic-long.h: In function 'atomic_long_add_return':
include/asm-generic/atomic-long.h:553:9: error: implicit declaration of function
'atomic_add_return'; did you mean 'atomic64_add_return'?
[-Werror=implicit-function-declaration]
553 | return atomic_add_return(i, v);
| ^~~~~~~~~~~~~~~~~
| atomic64_add_return
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_add':
include/asm-generic/atomic-long.h:577:9: error: implicit declaration of function
'atomic_fetch_add'; did you mean 'atomic64_fetch_add'?
[-Werror=implicit-function-declaration]
577 | return atomic_fetch_add(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_add
include/asm-generic/atomic-long.h: In function 'atomic_long_sub_return':
include/asm-generic/atomic-long.h:607:9: error: implicit declaration of function
'atomic_sub_return'; did you mean 'atomic64_sub_return'?
[-Werror=implicit-function-declaration]
607 | return atomic_sub_return(i, v);
| ^~~~~~~~~~~~~~~~~
| atomic64_sub_return
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_sub':
include/asm-generic/atomic-long.h:631:9: error: implicit declaration of function
'atomic_fetch_sub'; did you mean 'atomic64_fetch_sub'?
[-Werror=implicit-function-declaration]
631 | return atomic_fetch_sub(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_sub
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_and':
include/asm-generic/atomic-long.h:769:9: error: implicit declaration of function
'atomic_fetch_and'; did you mean 'atomic64_fetch_and'?
[-Werror=implicit-function-declaration]
769 | return atomic_fetch_and(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_and
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_or':
include/asm-generic/atomic-long.h:829:9: error: implicit declaration of function
'atomic_fetch_or'; did you mean 'atomic64_fetch_or'?
[-Werror=implicit-function-declaration]
829 | return atomic_fetch_or(i, v);
| ^~~~~~~~~~~~~~~
| atomic64_fetch_or
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_xor':
include/asm-generic/atomic-long.h:859:9: error: implicit declaration of function
'atomic_fetch_xor'; did you mean 'atomic64_fetch_xor'?
[-Werror=implicit-function-declaration]
859 | return atomic_fetch_xor(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_xor
include/asm-generic/atomic-long.h: In function 'atomic_long_xchg':
> include/asm-generic/atomic-long.h:883:9: error: implicit
declaration of function 'atomic_xchg'; did you mean 'atomic64_xchg'?
[-Werror=implicit-function-declaration]
883 | return atomic_xchg(v, i);
| ^~~~~~~~~~~
| atomic64_xchg
include/asm-generic/atomic-long.h: In function 'atomic_long_cmpxchg':
> include/asm-generic/atomic-long.h:907:9: error: implicit
declaration of function 'atomic_cmpxchg'; did you mean 'atomic64_cmpxchg'?
[-Werror=implicit-function-declaration]
907 | return atomic_cmpxchg(v, old,
new);
| ^~~~~~~~~~~~~~
| atomic64_cmpxchg
cc1: some warnings being treated as errors
--
In file included from include/linux/atomic.h:87,
from include/linux/rcupdate.h:25,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from arch/m68k/kernel/asm-offsets.c:15:
include/asm-generic/atomic-long.h: In function 'atomic_long_add_return':
include/asm-generic/atomic-long.h:553:9: error: implicit declaration of function
'atomic_add_return'; did you mean 'atomic64_add_return'?
[-Werror=implicit-function-declaration]
553 | return atomic_add_return(i, v);
| ^~~~~~~~~~~~~~~~~
| atomic64_add_return
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_add':
include/asm-generic/atomic-long.h:577:9: error: implicit declaration of function
'atomic_fetch_add'; did you mean 'atomic64_fetch_add'?
[-Werror=implicit-function-declaration]
577 | return atomic_fetch_add(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_add
include/asm-generic/atomic-long.h: In function 'atomic_long_sub_return':
include/asm-generic/atomic-long.h:607:9: error: implicit declaration of function
'atomic_sub_return'; did you mean 'atomic64_sub_return'?
[-Werror=implicit-function-declaration]
607 | return atomic_sub_return(i, v);
| ^~~~~~~~~~~~~~~~~
| atomic64_sub_return
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_sub':
include/asm-generic/atomic-long.h:631:9: error: implicit declaration of function
'atomic_fetch_sub'; did you mean 'atomic64_fetch_sub'?
[-Werror=implicit-function-declaration]
631 | return atomic_fetch_sub(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_sub
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_and':
include/asm-generic/atomic-long.h:769:9: error: implicit declaration of function
'atomic_fetch_and'; did you mean 'atomic64_fetch_and'?
[-Werror=implicit-function-declaration]
769 | return atomic_fetch_and(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_and
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_or':
include/asm-generic/atomic-long.h:829:9: error: implicit declaration of function
'atomic_fetch_or'; did you mean 'atomic64_fetch_or'?
[-Werror=implicit-function-declaration]
829 | return atomic_fetch_or(i, v);
| ^~~~~~~~~~~~~~~
| atomic64_fetch_or
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_xor':
include/asm-generic/atomic-long.h:859:9: error: implicit declaration of function
'atomic_fetch_xor'; did you mean 'atomic64_fetch_xor'?
[-Werror=implicit-function-declaration]
859 | return atomic_fetch_xor(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_xor
include/asm-generic/atomic-long.h: In function 'atomic_long_xchg':
> include/asm-generic/atomic-long.h:883:9: error: implicit
declaration of function 'atomic_xchg'; did you mean 'atomic64_xchg'?
[-Werror=implicit-function-declaration]
883 | return atomic_xchg(v, i);
| ^~~~~~~~~~~
| atomic64_xchg
include/asm-generic/atomic-long.h: In function 'atomic_long_cmpxchg':
> include/asm-generic/atomic-long.h:907:9: error: implicit
declaration of function 'atomic_cmpxchg'; did you mean 'atomic64_cmpxchg'?
[-Werror=implicit-function-declaration]
907 | return atomic_cmpxchg(v, old,
new);
| ^~~~~~~~~~~~~~
| atomic64_cmpxchg
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:117: arch/m68k/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1227: prepare0] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [Makefile:215: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
In file included from include/linux/atomic.h:87,
from include/linux/rcupdate.h:25,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from arch/m68k/kernel/asm-offsets.c:15:
include/asm-generic/atomic-long.h: In function 'atomic_long_add_return':
include/asm-generic/atomic-long.h:553:9: error: implicit declaration of function
'atomic_add_return'; did you mean 'atomic64_add_return'?
[-Werror=implicit-function-declaration]
553 | return atomic_add_return(i, v);
| ^~~~~~~~~~~~~~~~~
| atomic64_add_return
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_add':
include/asm-generic/atomic-long.h:577:9: error: implicit declaration of function
'atomic_fetch_add'; did you mean 'atomic64_fetch_add'?
[-Werror=implicit-function-declaration]
577 | return atomic_fetch_add(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_add
include/asm-generic/atomic-long.h: In function 'atomic_long_sub_return':
include/asm-generic/atomic-long.h:607:9: error: implicit declaration of function
'atomic_sub_return'; did you mean 'atomic64_sub_return'?
[-Werror=implicit-function-declaration]
607 | return atomic_sub_return(i, v);
| ^~~~~~~~~~~~~~~~~
| atomic64_sub_return
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_sub':
include/asm-generic/atomic-long.h:631:9: error: implicit declaration of function
'atomic_fetch_sub'; did you mean 'atomic64_fetch_sub'?
[-Werror=implicit-function-declaration]
631 | return atomic_fetch_sub(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_sub
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_and':
include/asm-generic/atomic-long.h:769:9: error: implicit declaration of function
'atomic_fetch_and'; did you mean 'atomic64_fetch_and'?
[-Werror=implicit-function-declaration]
769 | return atomic_fetch_and(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_and
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_or':
include/asm-generic/atomic-long.h:829:9: error: implicit declaration of function
'atomic_fetch_or'; did you mean 'atomic64_fetch_or'?
[-Werror=implicit-function-declaration]
829 | return atomic_fetch_or(i, v);
| ^~~~~~~~~~~~~~~
| atomic64_fetch_or
include/asm-generic/atomic-long.h: In function 'atomic_long_fetch_xor':
include/asm-generic/atomic-long.h:859:9: error: implicit declaration of function
'atomic_fetch_xor'; did you mean 'atomic64_fetch_xor'?
[-Werror=implicit-function-declaration]
859 | return atomic_fetch_xor(i, v);
| ^~~~~~~~~~~~~~~~
| atomic64_fetch_xor
include/asm-generic/atomic-long.h: In function 'atomic_long_xchg':
> include/asm-generic/atomic-long.h:883:9: error: implicit
declaration of function 'atomic_xchg'; did you mean 'atomic64_xchg'?
[-Werror=implicit-function-declaration]
883 | return atomic_xchg(v, i);
| ^~~~~~~~~~~
| atomic64_xchg
include/asm-generic/atomic-long.h: In function 'atomic_long_cmpxchg':
> include/asm-generic/atomic-long.h:907:9: error: implicit
declaration of function 'atomic_cmpxchg'; did you mean 'atomic64_cmpxchg'?
[-Werror=implicit-function-declaration]
907 | return atomic_cmpxchg(v, old,
new);
| ^~~~~~~~~~~~~~
| atomic64_cmpxchg
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:117: arch/m68k/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1227: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:215: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +883 include/asm-generic/atomic-long.h
bb2382c3e4395a include/asm-generic/atomic.h Mathieu Desnoyers 2007-05-08 855
c020395b6634b7 include/asm-generic/atomic-long.h Marco Elver 2019-11-26 856 static
__always_inline long
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 857
atomic_long_fetch_xor(long i, atomic_long_t *v)
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 858 {
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 @859
return atomic_fetch_xor(i, v);
bb2382c3e4395a include/asm-generic/atomic.h Mathieu Desnoyers 2007-05-08 860 }
bb2382c3e4395a include/asm-generic/atomic.h Mathieu Desnoyers 2007-05-08 861
c020395b6634b7 include/asm-generic/atomic-long.h Marco Elver 2019-11-26 862 static
__always_inline long
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 863
atomic_long_fetch_xor_acquire(long i, atomic_long_t *v)
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 864 {
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 865
return atomic_fetch_xor_acquire(i, v);
bb2382c3e4395a include/asm-generic/atomic.h Mathieu Desnoyers 2007-05-08 866 }
63ab7bd0d450b7 include/asm-generic/atomic-long.h Davidlohr Bueso 2015-09-30 867
c020395b6634b7 include/asm-generic/atomic-long.h Marco Elver 2019-11-26 868 static
__always_inline long
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 869
atomic_long_fetch_xor_release(long i, atomic_long_t *v)
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 870 {
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 871
return atomic_fetch_xor_release(i, v);
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 872 }
bb2382c3e4395a include/asm-generic/atomic.h Mathieu Desnoyers 2007-05-08 873
c020395b6634b7 include/asm-generic/atomic-long.h Marco Elver 2019-11-26 874 static
__always_inline long
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 875
atomic_long_fetch_xor_relaxed(long i, atomic_long_t *v)
2856f5e31c1413 include/asm-generic/atomic.h Mathieu Desnoyers 2007-05-08 876 {
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 877
return atomic_fetch_xor_relaxed(i, v);
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 878 }
2856f5e31c1413 include/asm-generic/atomic.h Mathieu Desnoyers 2007-05-08 879
c020395b6634b7 include/asm-generic/atomic-long.h Marco Elver 2019-11-26 880 static
__always_inline long
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 881
atomic_long_xchg(atomic_long_t *v, long i)
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 882 {
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 @883
return atomic_xchg(v, i);
2856f5e31c1413 include/asm-generic/atomic.h Mathieu Desnoyers 2007-05-08 884 }
bb2382c3e4395a include/asm-generic/atomic.h Mathieu Desnoyers 2007-05-08 885
c020395b6634b7 include/asm-generic/atomic-long.h Marco Elver 2019-11-26 886 static
__always_inline long
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 887
atomic_long_xchg_acquire(atomic_long_t *v, long i)
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 888 {
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 889
return atomic_xchg_acquire(v, i);
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 890 }
4b358e22064b45 include/asm-generic/atomic.h Adrian Bunk 2006-12-06 891
c020395b6634b7 include/asm-generic/atomic-long.h Marco Elver 2019-11-26 892 static
__always_inline long
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 893
atomic_long_xchg_release(atomic_long_t *v, long i)
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 894 {
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 895
return atomic_xchg_release(v, i);
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 896 }
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 897
c020395b6634b7 include/asm-generic/atomic-long.h Marco Elver 2019-11-26 898 static
__always_inline long
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 899
atomic_long_xchg_relaxed(atomic_long_t *v, long i)
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 900 {
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 901
return atomic_xchg_relaxed(v, i);
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 902 }
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 903
c020395b6634b7 include/asm-generic/atomic-long.h Marco Elver 2019-11-26 904 static
__always_inline long
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 905
atomic_long_cmpxchg(atomic_long_t *v, long old, long new)
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 906 {
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 @907
return atomic_cmpxchg(v, old, new);
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 908 }
b5d47ef9ea5c5f include/asm-generic/atomic-long.h Mark Rutland 2018-09-04 909
:::::: The code at line 883 was first introduced by commit
:::::: b5d47ef9ea5c5fe31d7eabeb79f697629bd9e2cb locking/atomics: Switch to generated
atomic-long
:::::: TO: Mark Rutland <mark.rutland(a)arm.com>
:::::: CC: Ingo Molnar <mingo(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org