Linux-next: Build failed
From: Naresh Kamboju
Date: Tue Dec 04 2018 - 07:26:28 EST
FYI,
The Linux -next build failed due to below warnings/errors.
include/asm-generic/bitops/atomic.h: In function 'set_bit':
include/asm-generic/bitops/atomic.h:17:2: error: implicit declaration
of function 'atomic_long_or'; did you mean '__atomic_load_n'?
[-Werror=implicit-function-declaration]
atomic_long_or(BIT_MASK(nr), (atomic_long_t *)p);
^~~~~~~~~~~~~~
__atomic_load_n
include/asm-generic/bitops/atomic.h: In function 'clear_bit':
include/asm-generic/bitops/atomic.h:23:2: error: implicit declaration
of function 'atomic_long_andnot'; did you mean
'__atomic_test_and_set'? [-Werror=implicit-function-declaration]
atomic_long_andnot(BIT_MASK(nr), (atomic_long_t *)p);
^~~~~~~~~~~~~~~~~~
__atomic_test_and_set
include/asm-generic/bitops/atomic.h: In function 'change_bit':
include/asm-generic/bitops/atomic.h:29:2: error: implicit declaration
of function 'atomic_long_xor'; did you mean '__atomic_load_n'?
[-Werror=implicit-function-declaration]
atomic_long_xor(BIT_MASK(nr), (atomic_long_t *)p);
^~~~~~~~~~~~~~~
__atomic_load_n
include/asm-generic/bitops/atomic.h: In function 'test_and_set_bit':
include/asm-generic/bitops/atomic.h:41:8: error: implicit declaration
of function 'atomic_long_fetch_or'; did you mean
'__atomic_and_fetch_1'? [-Werror=implicit-function-declaration]
old = atomic_long_fetch_or(mask, (atomic_long_t *)p);
^~~~~~~~~~~~~~~~~~~~
__atomic_and_fetch_1
include/asm-generic/bitops/atomic.h: In function 'test_and_clear_bit':
include/asm-generic/bitops/atomic.h:54:8: error: implicit declaration
of function 'atomic_long_fetch_andnot'; did you mean
'arch_atomic64_fetch_andnot'? [-Werror=implicit-function-declaration]
old = atomic_long_fetch_andnot(mask, (atomic_long_t *)p);
^~~~~~~~~~~~~~~~~~~~~~~~
arch_atomic64_fetch_andnot
include/asm-generic/bitops/atomic.h: In function 'test_and_change_bit':
include/asm-generic/bitops/atomic.h:64:8: error: implicit declaration
of function 'atomic_long_fetch_xor'; did you mean
'__atomic_fetch_xor'? [-Werror=implicit-function-declaration]
old = atomic_long_fetch_xor(mask, (atomic_long_t *)p);
^~~~~~~~~~~~~~~~~~~~~
__atomic_fetch_xor
cc1: some warnings being treated as errors
full log details,
https://ci.linaro.org/job/openembedded-lkft-linux-next/DISTRO=rpb,MACHINE=juno,label=docker-stretch-amd64/407/consoleText
Best regards
Naresh Kamboju