From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [mark-rutland:atomics/arch-atomic 21/25] include/asm-generic/atomic-instrumented.h:1639:9: error: implicit declaration of function 'arch_atomic64_sub_if_positive'
Date: Wed, 28 Apr 2021 10:55:35 +0800 [thread overview]
Message-ID: <202104281034.iZmilvDF-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 28763 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git atomics/arch-atomic
head: a01b575b1e6ed7458c510cc9f67ca8f48dadb1e4
commit: adffc629f57d9f7aa66206c53318f063e9eadb03 [21/25] locking/atomic: mips: move to the arch_atomic API
config: mips-randconfig-r015-20210428 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87fc97169e7901dfe56ca0da0d92da0c02d2ef48)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id=adffc629f57d9f7aa66206c53318f063e9eadb03
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 adffc629f57d9f7aa66206c53318f063e9eadb03
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:7:
arch/mips/include/asm/atomic.h:49:1: error: implicit declaration of function 'cmpxchg' [-Werror,-Wimplicit-function-declaration]
ATOMIC_OPS(atomic, int)
^
arch/mips/include/asm/atomic.h:41:9: note: expanded from macro 'ATOMIC_OPS'
return cmpxchg(&v->counter, o, n); \
^
arch/mips/include/asm/atomic.h:49:1: note: did you mean '__cmpxchg'?
arch/mips/include/asm/atomic.h:41:9: note: expanded from macro 'ATOMIC_OPS'
return cmpxchg(&v->counter, o, n); \
^
arch/mips/include/asm/cmpxchg.h:153:15: note: '__cmpxchg' declared here
unsigned long __cmpxchg(volatile void *ptr, unsigned long old,
^
In file included from arch/mips/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:60:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:65:
In file included from arch/mips/include/asm/timex.h:19:
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:7:
arch/mips/include/asm/atomic.h:49:1: error: implicit declaration of function 'xchg' [-Werror,-Wimplicit-function-declaration]
ATOMIC_OPS(atomic, int)
^
arch/mips/include/asm/atomic.h:46:9: note: expanded from macro 'ATOMIC_OPS'
return xchg(&v->counter, n); \
^
arch/mips/include/asm/atomic.h:53:1: error: implicit declaration of function 'cmpxchg' [-Werror,-Wimplicit-function-declaration]
ATOMIC_OPS(atomic64, s64)
^
arch/mips/include/asm/atomic.h:41:9: note: expanded from macro 'ATOMIC_OPS'
return cmpxchg(&v->counter, o, n); \
^
arch/mips/include/asm/atomic.h:53:1: error: implicit declaration of function 'xchg' [-Werror,-Wimplicit-function-declaration]
arch/mips/include/asm/atomic.h:46:9: note: expanded from macro 'ATOMIC_OPS'
return xchg(&v->counter, n); \
^
arch/mips/include/asm/atomic.h:264:1: error: conflicting types for 'arch_fx_sub_if_positive'
ATOMIC_SIP_OP(atomic64, s64, dsubu, lld, scd)
^
arch/mips/include/asm/atomic.h:209:23: note: expanded from macro 'ATOMIC_SIP_OP'
static __inline__ int arch_##fx##_sub_if_positive(type i, pfx##_t * v) \
^
<scratch space>:24:1: note: expanded from here
arch_fx_sub_if_positive
^
arch/mips/include/asm/atomic.h:260:1: note: previous definition is here
ATOMIC_SIP_OP(atomic, int, subu, ll, sc)
^
arch/mips/include/asm/atomic.h:209:23: note: expanded from macro 'ATOMIC_SIP_OP'
static __inline__ int arch_##fx##_sub_if_positive(type i, pfx##_t * v) \
^
<scratch space>:12:1: note: expanded from here
arch_fx_sub_if_positive
^
In file included from arch/mips/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:60:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:65:
In file included from arch/mips/include/asm/timex.h:19:
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:82:
include/asm-generic/atomic-instrumented.h:829:9: error: implicit declaration of function 'arch_atomic_sub_if_positive' [-Werror,-Wimplicit-function-declaration]
return arch_atomic_dec_if_positive(v);
^
arch/mips/include/asm/atomic.h:261:40: note: expanded from macro 'arch_atomic_dec_if_positive'
#define arch_atomic_dec_if_positive(v) arch_atomic_sub_if_positive(1, v)
^
include/asm-generic/atomic-instrumented.h:829:9: note: did you mean 'arch_fx_sub_if_positive'?
arch/mips/include/asm/atomic.h:261:40: note: expanded from macro 'arch_atomic_dec_if_positive'
#define arch_atomic_dec_if_positive(v) arch_atomic_sub_if_positive(1, v)
^
arch/mips/include/asm/atomic.h:260:1: note: 'arch_fx_sub_if_positive' declared here
ATOMIC_SIP_OP(atomic, int, subu, ll, sc)
^
arch/mips/include/asm/atomic.h:209:23: note: expanded from macro 'ATOMIC_SIP_OP'
static __inline__ int arch_##fx##_sub_if_positive(type i, pfx##_t * v) \
^
<scratch space>:12:1: note: expanded from here
arch_fx_sub_if_positive
^
In file included from arch/mips/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:60:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:65:
In file included from arch/mips/include/asm/timex.h:19:
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:82:
>> include/asm-generic/atomic-instrumented.h:1639:9: error: implicit declaration of function 'arch_atomic64_sub_if_positive' [-Werror,-Wimplicit-function-declaration]
return arch_atomic64_dec_if_positive(v);
^
arch/mips/include/asm/atomic.h:265:42: note: expanded from macro 'arch_atomic64_dec_if_positive'
#define arch_atomic64_dec_if_positive(v) arch_atomic64_sub_if_positive(1, v)
^
In file included from arch/mips/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:60:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:65:
In file included from arch/mips/include/asm/timex.h:19:
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:87:
>> include/asm-generic/atomic-long.h:389:9: error: implicit declaration of function 'atomic64_xchg' [-Werror,-Wimplicit-function-declaration]
return atomic64_xchg(v, i);
^
include/asm-generic/atomic-long.h:389:9: note: did you mean 'atomic64_xor'?
include/asm-generic/atomic-instrumented.h:1373:1: note: 'atomic64_xor' declared here
atomic64_xor(s64 i, atomic64_t *v)
^
In file included from arch/mips/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:60:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:65:
In file included from arch/mips/include/asm/timex.h:19:
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:87:
>> include/asm-generic/atomic-long.h:413:9: error: implicit declaration of function 'atomic64_cmpxchg' [-Werror,-Wimplicit-function-declaration]
return atomic64_cmpxchg(v, old, new);
^
In file included from arch/mips/kernel/asm-offsets.c:15:
In file included from include/linux/mm.h:28:
include/linux/page_ref.h:175:19: error: implicit declaration of function 'atomic_cmpxchg' [-Werror,-Wimplicit-function-declaration]
int ret = likely(atomic_cmpxchg(&page->_refcount, count, 0) == count);
^
include/linux/page_ref.h:175:19: note: did you mean 'atomic_try_cmpxchg'?
include/asm-generic/atomic-instrumented.h:692:1: note: 'atomic_try_cmpxchg' declared here
atomic_try_cmpxchg(atomic_t *v, int *old, int new)
^
In file included from arch/mips/kernel/asm-offsets.c:17:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:22:
In file included from include/linux/writeback.h:14:
include/linux/blk-cgroup.h:554:13: error: implicit declaration of function 'atomic_cmpxchg' [-Werror,-Wimplicit-function-declaration]
int cur = atomic_cmpxchg(&blkg->use_delay, old, old - 1);
^
include/linux/blk-cgroup.h:581:14: error: implicit declaration of function 'atomic_cmpxchg' [-Werror,-Wimplicit-function-declaration]
if (!old && atomic_cmpxchg(&blkg->use_delay, old, -1) == old)
^
include/linux/blk-cgroup.h:598:13: error: implicit declaration of function 'atomic_cmpxchg' [-Werror,-Wimplicit-function-declaration]
if (old && atomic_cmpxchg(&blkg->use_delay, old, 0) == old)
^
arch/mips/kernel/asm-offsets.c:26:6: warning: no previous prototype for function 'output_ptreg_defines' [-Wmissing-prototypes]
void output_ptreg_defines(void)
^
arch/mips/kernel/asm-offsets.c:26:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_ptreg_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:78:6: warning: no previous prototype for function 'output_task_defines' [-Wmissing-prototypes]
void output_task_defines(void)
^
arch/mips/kernel/asm-offsets.c:78:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_task_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:93:6: warning: no previous prototype for function 'output_thread_info_defines' [-Wmissing-prototypes]
void output_thread_info_defines(void)
^
arch/mips/kernel/asm-offsets.c:93:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_thread_info_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:110:6: warning: no previous prototype for function 'output_thread_defines' [-Wmissing-prototypes]
void output_thread_defines(void)
^
arch/mips/kernel/asm-offsets.c:110:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_thread_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:138:6: warning: no previous prototype for function 'output_thread_fpu_defines' [-Wmissing-prototypes]
void output_thread_fpu_defines(void)
^
arch/mips/kernel/asm-offsets.c:138:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_thread_fpu_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:181:6: warning: no previous prototype for function 'output_mm_defines' [-Wmissing-prototypes]
void output_mm_defines(void)
^
arch/mips/kernel/asm-offsets.c:181:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_mm_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:242:6: warning: no previous prototype for function 'output_sc_defines' [-Wmissing-prototypes]
void output_sc_defines(void)
^
arch/mips/kernel/asm-offsets.c:242:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_sc_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:255:6: warning: no previous prototype for function 'output_signal_defined' [-Wmissing-prototypes]
void output_signal_defined(void)
^
arch/mips/kernel/asm-offsets.c:255:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_signal_defined(void)
^
static
arch/mips/kernel/asm-offsets.c:348:6: warning: no previous prototype for function 'output_kvm_defines' [-Wmissing-prototypes]
void output_kvm_defines(void)
^
arch/mips/kernel/asm-offsets.c:348:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_kvm_defines(void)
^
static
9 warnings and 13 errors generated.
--
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:7:
arch/mips/include/asm/atomic.h:49:1: error: implicit declaration of function 'cmpxchg' [-Werror,-Wimplicit-function-declaration]
ATOMIC_OPS(atomic, int)
^
arch/mips/include/asm/atomic.h:41:9: note: expanded from macro 'ATOMIC_OPS'
return cmpxchg(&v->counter, o, n); \
^
arch/mips/include/asm/atomic.h:49:1: note: did you mean '__cmpxchg'?
arch/mips/include/asm/atomic.h:41:9: note: expanded from macro 'ATOMIC_OPS'
return cmpxchg(&v->counter, o, n); \
^
arch/mips/include/asm/cmpxchg.h:153:15: note: '__cmpxchg' declared here
unsigned long __cmpxchg(volatile void *ptr, unsigned long old,
^
In file included from arch/mips/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:60:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:65:
In file included from arch/mips/include/asm/timex.h:19:
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:7:
arch/mips/include/asm/atomic.h:49:1: error: implicit declaration of function 'xchg' [-Werror,-Wimplicit-function-declaration]
ATOMIC_OPS(atomic, int)
^
arch/mips/include/asm/atomic.h:46:9: note: expanded from macro 'ATOMIC_OPS'
return xchg(&v->counter, n); \
^
arch/mips/include/asm/atomic.h:53:1: error: implicit declaration of function 'cmpxchg' [-Werror,-Wimplicit-function-declaration]
ATOMIC_OPS(atomic64, s64)
^
arch/mips/include/asm/atomic.h:41:9: note: expanded from macro 'ATOMIC_OPS'
return cmpxchg(&v->counter, o, n); \
^
arch/mips/include/asm/atomic.h:53:1: error: implicit declaration of function 'xchg' [-Werror,-Wimplicit-function-declaration]
arch/mips/include/asm/atomic.h:46:9: note: expanded from macro 'ATOMIC_OPS'
return xchg(&v->counter, n); \
^
arch/mips/include/asm/atomic.h:264:1: error: conflicting types for 'arch_fx_sub_if_positive'
ATOMIC_SIP_OP(atomic64, s64, dsubu, lld, scd)
^
arch/mips/include/asm/atomic.h:209:23: note: expanded from macro 'ATOMIC_SIP_OP'
static __inline__ int arch_##fx##_sub_if_positive(type i, pfx##_t * v) \
^
<scratch space>:24:1: note: expanded from here
arch_fx_sub_if_positive
^
arch/mips/include/asm/atomic.h:260:1: note: previous definition is here
ATOMIC_SIP_OP(atomic, int, subu, ll, sc)
^
arch/mips/include/asm/atomic.h:209:23: note: expanded from macro 'ATOMIC_SIP_OP'
static __inline__ int arch_##fx##_sub_if_positive(type i, pfx##_t * v) \
^
<scratch space>:12:1: note: expanded from here
arch_fx_sub_if_positive
^
In file included from arch/mips/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:60:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:65:
In file included from arch/mips/include/asm/timex.h:19:
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:82:
include/asm-generic/atomic-instrumented.h:829:9: error: implicit declaration of function 'arch_atomic_sub_if_positive' [-Werror,-Wimplicit-function-declaration]
return arch_atomic_dec_if_positive(v);
^
arch/mips/include/asm/atomic.h:261:40: note: expanded from macro 'arch_atomic_dec_if_positive'
#define arch_atomic_dec_if_positive(v) arch_atomic_sub_if_positive(1, v)
^
include/asm-generic/atomic-instrumented.h:829:9: note: did you mean 'arch_fx_sub_if_positive'?
arch/mips/include/asm/atomic.h:261:40: note: expanded from macro 'arch_atomic_dec_if_positive'
#define arch_atomic_dec_if_positive(v) arch_atomic_sub_if_positive(1, v)
^
arch/mips/include/asm/atomic.h:260:1: note: 'arch_fx_sub_if_positive' declared here
ATOMIC_SIP_OP(atomic, int, subu, ll, sc)
^
arch/mips/include/asm/atomic.h:209:23: note: expanded from macro 'ATOMIC_SIP_OP'
static __inline__ int arch_##fx##_sub_if_positive(type i, pfx##_t * v) \
^
<scratch space>:12:1: note: expanded from here
arch_fx_sub_if_positive
^
In file included from arch/mips/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:60:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:65:
In file included from arch/mips/include/asm/timex.h:19:
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:82:
>> include/asm-generic/atomic-instrumented.h:1639:9: error: implicit declaration of function 'arch_atomic64_sub_if_positive' [-Werror,-Wimplicit-function-declaration]
return arch_atomic64_dec_if_positive(v);
^
arch/mips/include/asm/atomic.h:265:42: note: expanded from macro 'arch_atomic64_dec_if_positive'
#define arch_atomic64_dec_if_positive(v) arch_atomic64_sub_if_positive(1, v)
^
In file included from arch/mips/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:60:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:65:
In file included from arch/mips/include/asm/timex.h:19:
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:87:
>> include/asm-generic/atomic-long.h:389:9: error: implicit declaration of function 'atomic64_xchg' [-Werror,-Wimplicit-function-declaration]
return atomic64_xchg(v, i);
^
include/asm-generic/atomic-long.h:389:9: note: did you mean 'atomic64_xor'?
include/asm-generic/atomic-instrumented.h:1373:1: note: 'atomic64_xor' declared here
atomic64_xor(s64 i, atomic64_t *v)
^
In file included from arch/mips/kernel/asm-offsets.c:12:
In file included from include/linux/compat.h:10:
In file included from include/linux/time.h:60:
In file included from include/linux/time32.h:13:
In file included from include/linux/timex.h:65:
In file included from arch/mips/include/asm/timex.h:19:
In file included from arch/mips/include/asm/cpu-type.h:12:
In file included from include/linux/smp.h:13:
In file included from include/linux/cpumask.h:13:
In file included from include/linux/atomic.h:87:
>> include/asm-generic/atomic-long.h:413:9: error: implicit declaration of function 'atomic64_cmpxchg' [-Werror,-Wimplicit-function-declaration]
return atomic64_cmpxchg(v, old, new);
^
In file included from arch/mips/kernel/asm-offsets.c:15:
In file included from include/linux/mm.h:28:
include/linux/page_ref.h:175:19: error: implicit declaration of function 'atomic_cmpxchg' [-Werror,-Wimplicit-function-declaration]
int ret = likely(atomic_cmpxchg(&page->_refcount, count, 0) == count);
^
include/linux/page_ref.h:175:19: note: did you mean 'atomic_try_cmpxchg'?
include/asm-generic/atomic-instrumented.h:692:1: note: 'atomic_try_cmpxchg' declared here
atomic_try_cmpxchg(atomic_t *v, int *old, int new)
^
In file included from arch/mips/kernel/asm-offsets.c:17:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:22:
In file included from include/linux/writeback.h:14:
include/linux/blk-cgroup.h:554:13: error: implicit declaration of function 'atomic_cmpxchg' [-Werror,-Wimplicit-function-declaration]
int cur = atomic_cmpxchg(&blkg->use_delay, old, old - 1);
^
include/linux/blk-cgroup.h:581:14: error: implicit declaration of function 'atomic_cmpxchg' [-Werror,-Wimplicit-function-declaration]
if (!old && atomic_cmpxchg(&blkg->use_delay, old, -1) == old)
^
include/linux/blk-cgroup.h:598:13: error: implicit declaration of function 'atomic_cmpxchg' [-Werror,-Wimplicit-function-declaration]
if (old && atomic_cmpxchg(&blkg->use_delay, old, 0) == old)
^
arch/mips/kernel/asm-offsets.c:26:6: warning: no previous prototype for function 'output_ptreg_defines' [-Wmissing-prototypes]
void output_ptreg_defines(void)
^
arch/mips/kernel/asm-offsets.c:26:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_ptreg_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:78:6: warning: no previous prototype for function 'output_task_defines' [-Wmissing-prototypes]
void output_task_defines(void)
^
arch/mips/kernel/asm-offsets.c:78:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_task_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:93:6: warning: no previous prototype for function 'output_thread_info_defines' [-Wmissing-prototypes]
void output_thread_info_defines(void)
^
arch/mips/kernel/asm-offsets.c:93:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_thread_info_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:110:6: warning: no previous prototype for function 'output_thread_defines' [-Wmissing-prototypes]
void output_thread_defines(void)
^
arch/mips/kernel/asm-offsets.c:110:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_thread_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:138:6: warning: no previous prototype for function 'output_thread_fpu_defines' [-Wmissing-prototypes]
void output_thread_fpu_defines(void)
^
arch/mips/kernel/asm-offsets.c:138:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_thread_fpu_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:181:6: warning: no previous prototype for function 'output_mm_defines' [-Wmissing-prototypes]
void output_mm_defines(void)
^
arch/mips/kernel/asm-offsets.c:181:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_mm_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:242:6: warning: no previous prototype for function 'output_sc_defines' [-Wmissing-prototypes]
void output_sc_defines(void)
^
arch/mips/kernel/asm-offsets.c:242:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_sc_defines(void)
^
static
arch/mips/kernel/asm-offsets.c:255:6: warning: no previous prototype for function 'output_signal_defined' [-Wmissing-prototypes]
void output_signal_defined(void)
^
arch/mips/kernel/asm-offsets.c:255:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_signal_defined(void)
^
static
arch/mips/kernel/asm-offsets.c:348:6: warning: no previous prototype for function 'output_kvm_defines' [-Wmissing-prototypes]
void output_kvm_defines(void)
^
arch/mips/kernel/asm-offsets.c:348:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void output_kvm_defines(void)
^
static
9 warnings and 13 errors generated.
make[2]: *** [scripts/Makefile.build:116: arch/mips/kernel/asm-offsets.s] Error 1
make[2]: Target 'missing-syscalls' not remade because of errors.
make[1]: *** [arch/mips/Makefile:421: archprepare] 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 +/arch_atomic64_sub_if_positive +1639 include/asm-generic/atomic-instrumented.h
aa525d063851a9 Mark Rutland 2018-09-04 1633
aa525d063851a9 Mark Rutland 2018-09-04 1634 #if defined(arch_atomic64_dec_if_positive)
c020395b6634b7 Marco Elver 2019-11-26 1635 static __always_inline s64
aa525d063851a9 Mark Rutland 2018-09-04 1636 atomic64_dec_if_positive(atomic64_t *v)
aa525d063851a9 Mark Rutland 2018-09-04 1637 {
3570a1bcf45e9a Marco Elver 2020-07-24 1638 instrument_atomic_read_write(v, sizeof(*v));
aa525d063851a9 Mark Rutland 2018-09-04 @1639 return arch_atomic64_dec_if_positive(v);
aa525d063851a9 Mark Rutland 2018-09-04 1640 }
aa525d063851a9 Mark Rutland 2018-09-04 1641 #define atomic64_dec_if_positive atomic64_dec_if_positive
aa525d063851a9 Mark Rutland 2018-09-04 1642 #endif
aa525d063851a9 Mark Rutland 2018-09-04 1643
:::::: The code at line 1639 was first introduced by commit
:::::: aa525d063851a98e020b827fdd1d7776ae652301 locking/atomics: Switch to generated instrumentation
:::::: TO: Mark Rutland <mark.rutland@arm.com>
:::::: 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: 23857 bytes --]
reply other threads:[~2021-04-28 2:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202104281034.iZmilvDF-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.