Buildresult: linux-next/malta_defconfig/mips-gcc8 built on Dec 7 2021, 19:40
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Dec 7 2021, 19:40
Duration:
0:02:47.659110
Builder:
blade46
Revision:
Add linux-next specific files for 20211207 (
04fe99a8d936d46a310ca61b8b63dc270962bf01)
Target:
linux-next/malta_defconfig/mips-gcc8
Branch:
linux-next
Compiler:
mips-gcc8
(mips-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
malta_defconfig
(
download
)
Log:
Download original
Possible errors
arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function 'arch_futex_atomic_op_inuser_local'; did you mean 'futex_atomic_op_inuser_local'? [-Werror=implicit-function-declaration] arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function 'futex_atomic_cmpxchg_inatomic' kernel/futex/futex.h:33:20: error: invalid storage class for function 'should_fail_futex' kernel/futex/futex.h:134:19: error: invalid storage class for function 'futex_match' kernel/futex/futex.h:169:20: error: invalid storage class for function 'futex_queue' kernel/futex/futex.h:183:20: error: invalid storage class for function 'futex_hb_waiters_inc' kernel/futex/futex.h:198:20: error: invalid storage class for function 'futex_hb_waiters_dec' kernel/futex/futex.h:205:19: error: invalid storage class for function 'futex_hb_waiters_pending' kernel/futex/futex.h:238:1: error: invalid storage class for function 'double_lock_hb' kernel/futex/futex.h:249:1: error: invalid storage class for function 'double_unlock_hb' kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function 'rt_mutex_has_waiters' kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function 'rt_mutex_waiter_is_top_waiter' kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function 'rt_mutex_top_waiter' kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function 'task_has_pi_waiters' kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function 'task_top_pi_waiter' kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function 'rt_mutex_owner' kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function '__rt_mutex_base_init' kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function 'debug_rt_mutex_unlock' kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function 'debug_rt_mutex_proxy_unlock' kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function 'debug_rt_mutex_init_waiter' kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function 'debug_rt_mutex_free_waiter' kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function 'rt_mutex_init_waiter' kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function 'rt_mutex_init_rtlock_waiter' kernel/futex/core.c:115:27: error: static declaration of 'futex_hash' follows non-static declaration kernel/futex/core.c:135:1: error: static declaration of 'futex_setup_timer' follows non-static declaration kernel/futex/core.c:171:12: error: invalid storage class for function 'get_inode_sequence_number' kernel/futex/core.c:220:5: error: static declaration of 'get_futex_key' follows non-static declaration kernel/futex/core.c:409:5: error: static declaration of 'fault_in_user_writeable' follows non-static declaration kernel/futex/core.c:429:17: error: static declaration of 'futex_top_waiter' follows non-static declaration kernel/futex/core.c:440:5: error: static declaration of 'futex_cmpxchg_value_locked' follows non-static declaration kernel/futex/core.c:451:5: error: static declaration of 'futex_get_value_locked' follows non-static declaration kernel/futex/core.c:469:6: error: static declaration of 'wait_for_owner_exiting' follows non-static declaration kernel/futex/core.c:499:6: error: static declaration of '__futex_unqueue' follows non-static declaration kernel/futex/core.c:513:27: error: static declaration of 'futex_q_lock' follows non-static declaration kernel/futex/core.c:536:6: error: static declaration of 'futex_q_unlock' follows non-static declaration kernel/futex/core.c:543:6: error: static declaration of '__futex_queue' follows non-static declaration kernel/futex/core.c:573:5: error: static declaration of 'futex_unqueue' follows non-static declaration kernel/futex/core.c:620:6: error: static declaration of 'futex_unqueue_pi' follows non-static declaration kernel/futex/core.c:637:12: error: invalid storage class for function 'handle_futex_death' kernel/futex/core.c:744:19: error: invalid storage class for function 'fetch_robust_entry' kernel/futex/core.c:765:13: error: invalid storage class for function 'exit_robust_list' kernel/futex/core.c:935:13: error: invalid storage class for function 'exit_pi_state_list' kernel/futex/core.c:1007:13: error: invalid storage class for function 'futex_cleanup' kernel/futex/core.c:1050:13: error: invalid storage class for function 'futex_cleanup_begin' kernel/futex/core.c:1076:13: error: invalid storage class for function 'futex_cleanup_end' kernel/futex/core.c:1115:19: error: invalid storage class for function 'futex_init' kernel/futex/core.c:1141:15: error: initializer element is not constant kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:288: kernel/futex/core.o] Error 1 make[2]: *** [scripts/Makefile.build:571: kernel/futex] Error 2 make[1]: *** [Makefile:1980: kernel] Error 2 make: *** [Makefile:226: __sub-make] Error 2
Possible warnings (15)
arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] kernel/futex/futex.h:111:29: warning: unused variable 'futex_q_init' [-Wunused-variable] kernel/futex/core.c:1108:6: warning: 'futex_exit_release' defined but not used [-Wunused-function] kernel/futex/core.c:1090:6: warning: 'futex_exec_release' defined but not used [-Wunused-function] kernel/futex/core.c:1042:6: warning: 'futex_exit_recursive' defined but not used [-Wunused-function] kernel/futex/core.c:620:6: warning: 'futex_unqueue_pi' defined but not used [-Wunused-function] kernel/futex/core.c:573:5: warning: 'futex_unqueue' defined but not used [-Wunused-function] kernel/futex/core.c:543:6: warning: '__futex_queue' defined but not used [-Wunused-function] kernel/futex/core.c:536:6: warning: 'futex_q_unlock' defined but not used [-Wunused-function] kernel/futex/core.c:513:27: warning: 'futex_q_lock' defined but not used [-Wunused-function] kernel/futex/core.c:469:6: warning: 'wait_for_owner_exiting' defined but not used [-Wunused-function] kernel/futex/core.c:451:5: warning: 'futex_get_value_locked' defined but not used [-Wunused-function] kernel/futex/core.c:429:17: warning: 'futex_top_waiter' defined but not used [-Wunused-function] kernel/futex/core.c:220:5: warning: 'get_futex_key' defined but not used [-Wunused-function] kernel/futex/core.c:135:1: warning: 'futex_setup_timer' defined but not used [-Wunused-function]
Full Log
# git rev-parse -q --verify 04fe99a8d936d46a310ca61b8b63dc270962bf01^{commit} 04fe99a8d936d46a310ca61b8b63dc270962bf01 already have revision, skipping fetch # git checkout -q -f -B kisskb 04fe99a8d936d46a310ca61b8b63dc270962bf01 # git clean -qxdf # < git log -1 # commit 04fe99a8d936d46a310ca61b8b63dc270962bf01 # Author: Stephen Rothwell <sfr@canb.auug.org.au> # Date: Tue Dec 7 18:36:41 2021 +1100 # # Add linux-next specific files for 20211207 # # Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 04fe99a8d936d46a310ca61b8b63dc270962bf01 # < make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_malta_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- malta_defconfig # < make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_malta_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_malta_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_malta_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- In file included from /kisskb/src/kernel/futex/futex.h:12, from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/arch/mips/include/asm/futex.h: In function 'arch_futex_atomic_op_inuser': /kisskb/src/arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function 'arch_futex_atomic_op_inuser_local'; did you mean 'futex_atomic_op_inuser_local'? [-Werror=implicit-function-declaration] ret = arch_futex_atomic_op_inuser_local(op, oparg, oval,\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/include/asm/futex.h:89:9: note: in definition of macro '__futex_atomic_op' ret = arch_futex_atomic_op_inuser_local(op, oparg, oval,\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/futex.h:12, from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function 'futex_atomic_cmpxchg_inatomic' #define futex_atomic_cmpxchg_inatomic futex_atomic_cmpxchg_inatomic ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/include/asm/futex.h:133:1: note: in expansion of macro 'futex_atomic_cmpxchg_inatomic' futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/futex.h:12, from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline int ^~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:33:20: error: invalid storage class for function 'should_fail_futex' static inline bool should_fail_futex(bool fshared) ^~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:134:19: error: invalid storage class for function 'futex_match' static inline int futex_match(union futex_key *key1, union futex_key *key2) ^~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:169:20: error: invalid storage class for function 'futex_queue' static inline void futex_queue(struct futex_q *q, struct futex_hash_bucket *hb) ^~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:183:20: error: invalid storage class for function 'futex_hb_waiters_inc' static inline void futex_hb_waiters_inc(struct futex_hash_bucket *hb) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:198:20: error: invalid storage class for function 'futex_hb_waiters_dec' static inline void futex_hb_waiters_dec(struct futex_hash_bucket *hb) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:205:19: error: invalid storage class for function 'futex_hb_waiters_pending' static inline int futex_hb_waiters_pending(struct futex_hash_bucket *hb) ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:238:1: error: invalid storage class for function 'double_lock_hb' double_lock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) ^~~~~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:249:1: error: invalid storage class for function 'double_unlock_hb' double_unlock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:42: /kisskb/src/kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function 'rt_mutex_has_waiters' static inline int rt_mutex_has_waiters(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function 'rt_mutex_waiter_is_top_waiter' static inline bool rt_mutex_waiter_is_top_waiter(struct rt_mutex_base *lock, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function 'rt_mutex_top_waiter' static inline struct rt_mutex_waiter *rt_mutex_top_waiter(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function 'task_has_pi_waiters' static inline int task_has_pi_waiters(struct task_struct *p) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function 'task_top_pi_waiter' static inline struct rt_mutex_waiter *task_top_pi_waiter(struct task_struct *p) ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function 'rt_mutex_owner' static inline struct task_struct *rt_mutex_owner(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function '__rt_mutex_base_init' static inline void __rt_mutex_base_init(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function 'debug_rt_mutex_unlock' static inline void debug_rt_mutex_unlock(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function 'debug_rt_mutex_proxy_unlock' static inline void debug_rt_mutex_proxy_unlock(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function 'debug_rt_mutex_init_waiter' static inline void debug_rt_mutex_init_waiter(struct rt_mutex_waiter *waiter) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function 'debug_rt_mutex_free_waiter' static inline void debug_rt_mutex_free_waiter(struct rt_mutex_waiter *waiter) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function 'rt_mutex_init_waiter' static inline void rt_mutex_init_waiter(struct rt_mutex_waiter *waiter) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function 'rt_mutex_init_rtlock_waiter' static inline void rt_mutex_init_rtlock_waiter(struct rt_mutex_waiter *waiter) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:115:27: error: static declaration of 'futex_hash' follows non-static declaration struct futex_hash_bucket *futex_hash(union futex_key *key) ^~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:125:34: note: previous declaration of 'futex_hash' was here extern struct futex_hash_bucket *futex_hash(union futex_key *key); ^~~~~~~~~~ /kisskb/src/kernel/futex/core.c:135:1: error: static declaration of 'futex_setup_timer' follows non-static declaration futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:122:1: note: previous declaration of 'futex_setup_timer' was here futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, ^~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:171:12: error: invalid storage class for function 'get_inode_sequence_number' static u64 get_inode_sequence_number(struct inode *inode) ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:220:5: error: static declaration of 'get_futex_key' follows non-static declaration int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, ^~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:118:12: note: previous declaration of 'get_futex_key' was here extern int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:409:5: error: static declaration of 'fault_in_user_writeable' follows non-static declaration int fault_in_user_writeable(u32 __user *uaddr) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:148:12: note: previous declaration of 'fault_in_user_writeable' was here extern int fault_in_user_writeable(u32 __user *uaddr); ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:429:17: error: static declaration of 'futex_top_waiter' follows non-static declaration struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key) ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:151:24: note: previous declaration of 'futex_top_waiter' was here extern struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key); ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:440:5: error: static declaration of 'futex_cmpxchg_value_locked' follows non-static declaration int futex_cmpxchg_value_locked(u32 *curval, u32 __user *uaddr, u32 uval, u32 newval) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:149:12: note: previous declaration of 'futex_cmpxchg_value_locked' was here extern int futex_cmpxchg_value_locked(u32 *curval, u32 __user *uaddr, u32 uval, u32 newval); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:451:5: error: static declaration of 'futex_get_value_locked' follows non-static declaration int futex_get_value_locked(u32 *dest, u32 __user *from) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:150:12: note: previous declaration of 'futex_get_value_locked' was here extern int futex_get_value_locked(u32 *dest, u32 __user *from); ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:469:6: error: static declaration of 'wait_for_owner_exiting' follows non-static declaration void wait_for_owner_exiting(int ret, struct task_struct *exiting) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:178:13: note: previous declaration of 'wait_for_owner_exiting' was here extern void wait_for_owner_exiting(int ret, struct task_struct *exiting); ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:499:6: error: static declaration of '__futex_unqueue' follows non-static declaration void __futex_unqueue(struct futex_q *q) ^~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:153:13: note: previous declaration of '__futex_unqueue' was here extern void __futex_unqueue(struct futex_q *q); ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:513:27: error: static declaration of 'futex_q_lock' follows non-static declaration struct futex_hash_bucket *futex_q_lock(struct futex_q *q) ^~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:218:34: note: previous declaration of 'futex_q_lock' was here extern struct futex_hash_bucket *futex_q_lock(struct futex_q *q); ^~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:536:6: error: static declaration of 'futex_q_unlock' follows non-static declaration void futex_q_unlock(struct futex_hash_bucket *hb) ^~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:219:13: note: previous declaration of 'futex_q_unlock' was here extern void futex_q_unlock(struct futex_hash_bucket *hb); ^~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:543:6: error: static declaration of '__futex_queue' follows non-static declaration void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb) ^~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:154:13: note: previous declaration of '__futex_queue' was here extern void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb); ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:573:5: error: static declaration of 'futex_unqueue' follows non-static declaration int futex_unqueue(struct futex_q *q) ^~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:155:12: note: previous declaration of 'futex_unqueue' was here extern int futex_unqueue(struct futex_q *q); ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:620:6: error: static declaration of 'futex_unqueue_pi' follows non-static declaration void futex_unqueue_pi(struct futex_q *q) ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:176:13: note: previous declaration of 'futex_unqueue_pi' was here extern void futex_unqueue_pi(struct futex_q *q); ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:637:12: error: invalid storage class for function 'handle_futex_death' static int handle_futex_death(u32 __user *uaddr, struct task_struct *curr, ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:744:19: error: invalid storage class for function 'fetch_robust_entry' static inline int fetch_robust_entry(struct robust_list __user **entry, ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:765:13: error: invalid storage class for function 'exit_robust_list' static void exit_robust_list(struct task_struct *curr) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:935:13: error: invalid storage class for function 'exit_pi_state_list' static void exit_pi_state_list(struct task_struct *curr) ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1007:13: error: invalid storage class for function 'futex_cleanup' static void futex_cleanup(struct task_struct *tsk) ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1050:13: error: invalid storage class for function 'futex_cleanup_begin' static void futex_cleanup_begin(struct task_struct *tsk) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1076:13: error: invalid storage class for function 'futex_cleanup_end' static void futex_cleanup_end(struct task_struct *tsk, int state) ^~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1115:19: error: invalid storage class for function 'futex_init' static int __init futex_init(void) ^~~~~~~~~~ In file included from /kisskb/src/include/linux/printk.h:6, from /kisskb/src/include/linux/kernel.h:20, from /kisskb/src/include/linux/cpumask.h:10, from /kisskb/src/include/linux/smp.h:13, from /kisskb/src/arch/mips/include/asm/cpu-type.h:12, from /kisskb/src/arch/mips/include/asm/timex.h:19, from /kisskb/src/include/linux/timex.h:65, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:60, from /kisskb/src/include/linux/compat.h:10, from /kisskb/src/kernel/futex/core.c:34: /kisskb/src/kernel/futex/core.c:1141:15: error: initializer element is not constant core_initcall(futex_init); ^~~~~~~~~~ /kisskb/src/include/linux/init.h:250:41: note: in definition of macro '____define_initcall' __attribute__((__section__(__sec))) = fn; ^~ /kisskb/src/include/linux/init.h:260:2: note: in expansion of macro '__unique_initcall' __unique_initcall(fn, id, __sec, __initcall_id(fn)) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/init.h:262:35: note: in expansion of macro '___define_initcall' #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/init.h:280:28: note: in expansion of macro '__define_initcall' #define core_initcall(fn) __define_initcall(fn, 1) ^~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1141:1: note: in expansion of macro 'core_initcall' core_initcall(futex_init); ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:111:29: warning: unused variable 'futex_q_init' [-Wunused-variable] extern const struct futex_q futex_q_init; ^~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input core_initcall(futex_init); ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input At top level: /kisskb/src/kernel/futex/core.c:1108:6: warning: 'futex_exit_release' defined but not used [-Wunused-function] void futex_exit_release(struct task_struct *tsk) ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1090:6: warning: 'futex_exec_release' defined but not used [-Wunused-function] void futex_exec_release(struct task_struct *tsk) ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1042:6: warning: 'futex_exit_recursive' defined but not used [-Wunused-function] void futex_exit_recursive(struct task_struct *tsk) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:620:6: warning: 'futex_unqueue_pi' defined but not used [-Wunused-function] void futex_unqueue_pi(struct futex_q *q) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:573:5: warning: 'futex_unqueue' defined but not used [-Wunused-function] int futex_unqueue(struct futex_q *q) ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:543:6: warning: '__futex_queue' defined but not used [-Wunused-function] void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb) ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:536:6: warning: 'futex_q_unlock' defined but not used [-Wunused-function] void futex_q_unlock(struct futex_hash_bucket *hb) ^~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:513:27: warning: 'futex_q_lock' defined but not used [-Wunused-function] struct futex_hash_bucket *futex_q_lock(struct futex_q *q) ^~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:469:6: warning: 'wait_for_owner_exiting' defined but not used [-Wunused-function] void wait_for_owner_exiting(int ret, struct task_struct *exiting) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:451:5: warning: 'futex_get_value_locked' defined but not used [-Wunused-function] int futex_get_value_locked(u32 *dest, u32 __user *from) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:429:17: warning: 'futex_top_waiter' defined but not used [-Wunused-function] struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:220:5: warning: 'get_futex_key' defined but not used [-Wunused-function] int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:135:1: warning: 'futex_setup_timer' defined but not used [-Wunused-function] futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:288: kernel/futex/core.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:571: kernel/futex] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1980: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_malta_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_malta_defconfig_mips-gcc8 # Build took: 0:02:47.659110
© Michael Ellerman 2006-2018.