Buildresult: linux-next/ip32_defconfig/mips-gcc8 built on Dec 11 2021, 10:14
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Dec 11 2021, 10:14
Duration:
0:01:12.949626
Builder:
ka1
Revision:
Add linux-next specific files for 20211210 (
ea922272cbe547bdf58da2aaf240d59782c6a009)
Target:
linux-next/ip32_defconfig/mips-gcc8
Branch:
linux-next
Compiler:
mips-gcc8
(mips-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
ip32_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:828:21: error: invalid storage class for function 'futex_uaddr' kernel/futex/core.c:841:1: error: invalid storage class for function 'compat_fetch_robust_entry' kernel/futex/core.c:859:13: error: invalid storage class for function 'compat_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 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' include/linux/syscalls.h:245:21: error: invalid storage class for function '__do_sys_set_robust_list' include/linux/syscalls.h:247:18: error: static declaration of '__se_sys_set_robust_list' follows non-static declaration include/linux/syscalls.h:249:14: error: implicit declaration of function '__do_sys_set_robust_list'; did you mean '__se_sys_set_robust_list'? [-Werror=implicit-function-declaration] include/linux/syscalls.h:255:21: error: invalid storage class for function '__do_sys_set_robust_list' include/linux/syscalls.h:245:21: error: invalid storage class for function '__do_sys_get_robust_list' include/linux/syscalls.h:247:18: error: static declaration of '__se_sys_get_robust_list' follows non-static declaration include/linux/syscalls.h:249:14: error: implicit declaration of function '__do_sys_get_robust_list'; did you mean '__do_sys_set_robust_list'? [-Werror=implicit-function-declaration] include/linux/syscalls.h:255:21: error: invalid storage class for function '__do_sys_get_robust_list' kernel/futex/syscalls.c:137:29: error: invalid storage class for function 'futex_cmd_has_timeout' kernel/futex/syscalls.c:151:1: error: invalid storage class for function 'futex_init_timeout' include/linux/syscalls.h:245:21: error: invalid storage class for function '__do_sys_futex' include/linux/syscalls.h:247:18: error: static declaration of '__se_sys_futex' follows non-static declaration include/linux/syscalls.h:249:14: error: implicit declaration of function '__do_sys_futex'; did you mean '__se_sys_futex'? [-Werror=implicit-function-declaration] include/linux/syscalls.h:255:21: error: invalid storage class for function '__do_sys_futex' kernel/futex/syscalls.c:197:12: error: invalid storage class for function 'futex_parse_waitv' include/linux/syscalls.h:245:21: error: invalid storage class for function '__do_sys_futex_waitv' include/linux/syscalls.h:247:18: error: static declaration of '__se_sys_futex_waitv' follows non-static declaration include/linux/syscalls.h:249:14: error: implicit declaration of function '__do_sys_futex_waitv'; did you mean '__se_sys_futex_waitv'? [-Werror=implicit-function-declaration] include/linux/syscalls.h:255:21: error: invalid storage class for function '__do_sys_futex_waitv' include/linux/compat.h:78:21: error: invalid storage class for function '__do_compat_sys_set_robust_list' include/linux/compat.h:80:18: error: static declaration of '__se_compat_sys_set_robust_list' follows non-static declaration include/linux/compat.h:82:14: error: implicit declaration of function '__do_compat_sys_set_robust_list'; did you mean '__se_compat_sys_set_robust_list'? [-Werror=implicit-function-declaration] include/linux/compat.h:87:21: error: invalid storage class for function '__do_compat_sys_set_robust_list' include/linux/compat.h:78:21: error: invalid storage class for function '__do_compat_sys_get_robust_list' include/linux/compat.h:80:18: error: static declaration of '__se_compat_sys_get_robust_list' follows non-static declaration include/linux/compat.h:82:14: error: implicit declaration of function '__do_compat_sys_get_robust_list'; did you mean '__do_compat_sys_set_robust_list'? [-Werror=implicit-function-declaration] include/linux/compat.h:87:21: error: invalid storage class for function '__do_compat_sys_get_robust_list' include/linux/syscalls.h:245:21: error: invalid storage class for function '__do_sys_futex_time32' include/linux/syscalls.h:247:18: error: static declaration of '__se_sys_futex_time32' follows non-static declaration include/linux/syscalls.h:249:14: error: implicit declaration of function '__do_sys_futex_time32'; did you mean '__se_sys_futex_time32'? [-Werror=implicit-function-declaration] include/linux/syscalls.h:255:21: error: invalid storage class for function '__do_sys_futex_time32' kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input kernel/futex/syscalls.c:374: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/syscalls.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 (51)
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] arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] kernel/futex/syscalls.c:29:41: warning: 'alias' attribute ignored [-Wattributes] include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] kernel/futex/syscalls.c:50:10: warning: 'alias' attribute ignored [-Wattributes] include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] kernel/futex/syscalls.c:165:16: warning: 'alias' attribute ignored [-Wattributes] include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] kernel/futex/syscalls.c:248:10: warning: 'alias' attribute ignored [-Wattributes] include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] kernel/futex/syscalls.c:307:10: warning: 'alias' attribute ignored [-Wattributes] include/linux/compat.h:75:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/compat.h:78:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/compat.h:87:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] kernel/futex/syscalls.c:318:1: warning: 'alias' attribute ignored [-Wattributes] include/linux/compat.h:75:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/compat.h:78:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/compat.h:87:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] kernel/futex/syscalls.c:357:16: warning: 'alias' attribute ignored [-Wattributes] include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] include/linux/syscalls.h:247:18: warning: '__se_sys_futex_time32' defined but not used [-Wunused-function] include/linux/compat.h:80:18: warning: '__se_compat_sys_get_robust_list' defined but not used [-Wunused-function] include/linux/compat.h:80:18: warning: '__se_compat_sys_set_robust_list' defined but not used [-Wunused-function] include/linux/syscalls.h:247:18: warning: '__se_sys_futex_waitv' defined but not used [-Wunused-function] include/linux/syscalls.h:247:18: warning: '__se_sys_futex' defined but not used [-Wunused-function] include/linux/syscalls.h:247:18: warning: '__se_sys_get_robust_list' defined but not used [-Wunused-function] include/linux/syscalls.h:247:18: warning: '__se_sys_set_robust_list' defined but not used [-Wunused-function]
Full Log
# git rev-parse -q --verify ea922272cbe547bdf58da2aaf240d59782c6a009^{commit} ea922272cbe547bdf58da2aaf240d59782c6a009 already have revision, skipping fetch # git checkout -q -f -B kisskb ea922272cbe547bdf58da2aaf240d59782c6a009 # git clean -qxdf # < git log -1 # commit ea922272cbe547bdf58da2aaf240d59782c6a009 # Author: Mark Brown <broonie@kernel.org> # Date: Fri Dec 10 21:17:55 2021 +0000 # # Add linux-next specific files for 20211210 # # Signed-off-by: Mark Brown <broonie@kernel.org> # < /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 ea922272cbe547bdf58da2aaf240d59782c6a009 # < make -s -j 48 ARCH=mips O=/kisskb/build/linux-next_ip32_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- ip32_defconfig # < make -s -j 48 ARCH=mips O=/kisskb/build/linux-next_ip32_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 48 ARCH=mips O=/kisskb/build/linux-next_ip32_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 48 ARCH=mips O=/kisskb/build/linux-next_ip32_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:828:21: error: invalid storage class for function 'futex_uaddr' static void __user *futex_uaddr(struct robust_list __user *entry, ^~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:841:1: error: invalid storage class for function 'compat_fetch_robust_entry' compat_fetch_robust_entry(compat_uptr_t *uentry, struct robust_list __user **entry, ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:859:13: error: invalid storage class for function 'compat_exit_robust_list' static void compat_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[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/kernel/futex/futex.h:12, from /kisskb/src/kernel/futex/syscalls.c:7: /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/syscalls.c:7: /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/syscalls.c:7: /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/syscalls.c:7: /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/syscalls.c:4: /kisskb/src/kernel/futex/syscalls.c:29:41: warning: 'alias' attribute ignored [-Wattributes] SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:119:25: note: in definition of macro '__SC_DECL' #define __SC_DECL(t, a) t a ^ /kisskb/src/include/linux/syscalls.h:117:22: note: in expansion of macro '__MAP2' #define __MAP(n,...) __MAP##n(__VA_ARGS__) ^~~~~ /kisskb/src/include/linux/syscalls.h:242:28: note: in expansion of macro '__MAP' asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:218:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:29:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:218:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:29:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:245:21: error: invalid storage class for function '__do_sys_set_robust_list' static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:218:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:29:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:218:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:29:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:247:18: error: static declaration of '__se_sys_set_robust_list' follows non-static declaration asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:218:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:29:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:246:18: note: previous declaration of '__se_sys_set_robust_list' was here asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:218:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:29:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function '__se_sys_set_robust_list': /kisskb/src/include/linux/syscalls.h:249:14: error: implicit declaration of function '__do_sys_set_robust_list'; did you mean '__se_sys_set_robust_list'? [-Werror=implicit-function-declaration] long ret = __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:218:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:29:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function 'arch_futex_atomic_op_inuser': /kisskb/src/include/linux/syscalls.h:255:21: error: invalid storage class for function '__do_sys_set_robust_list' static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:218:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:29:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:218:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:29:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:50:10: warning: 'alias' attribute ignored [-Wattributes] struct robust_list_head __user * __user *, head_ptr, ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:119:25: note: in definition of macro '__SC_DECL' #define __SC_DECL(t, a) t a ^ /kisskb/src/include/linux/syscalls.h:113:35: note: in expansion of macro '__MAP2' #define __MAP3(m,t,a,...) m(t,a), __MAP2(m,__VA_ARGS__) ^~~~~~ /kisskb/src/include/linux/syscalls.h:117:22: note: in expansion of macro '__MAP3' #define __MAP(n,...) __MAP##n(__VA_ARGS__) ^~~~~ /kisskb/src/include/linux/syscalls.h:242:28: note: in expansion of macro '__MAP' asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:219:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:49:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:219:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:49:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:245:21: error: invalid storage class for function '__do_sys_get_robust_list' static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:219:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:49:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:219:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:49:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:247:18: error: static declaration of '__se_sys_get_robust_list' follows non-static declaration asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:219:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:49:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:246:18: note: previous declaration of '__se_sys_get_robust_list' was here asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:219:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:49:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function '__se_sys_get_robust_list': /kisskb/src/include/linux/syscalls.h:249:14: error: implicit declaration of function '__do_sys_get_robust_list'; did you mean '__do_sys_set_robust_list'? [-Werror=implicit-function-declaration] long ret = __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:219:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:49:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function 'arch_futex_atomic_op_inuser': /kisskb/src/include/linux/syscalls.h:255:21: error: invalid storage class for function '__do_sys_get_robust_list' static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:219:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:49:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:219:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:49:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:137:29: error: invalid storage class for function 'futex_cmd_has_timeout' static __always_inline bool futex_cmd_has_timeout(u32 cmd) ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:151:1: error: invalid storage class for function 'futex_init_timeout' futex_init_timeout(u32 cmd, u32 op, struct timespec64 *ts, ktime_t *t) ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/syscalls.c:4: /kisskb/src/kernel/futex/syscalls.c:165:16: warning: 'alias' attribute ignored [-Wattributes] const struct __kernel_timespec __user *, utime, ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:119:25: note: in definition of macro '__SC_DECL' #define __SC_DECL(t, a) t a ^ /kisskb/src/include/linux/syscalls.h:114:35: note: in expansion of macro '__MAP3' #define __MAP4(m,t,a,...) m(t,a), __MAP3(m,__VA_ARGS__) ^~~~~~ /kisskb/src/include/linux/syscalls.h:115:35: note: in expansion of macro '__MAP4' #define __MAP5(m,t,a,...) m(t,a), __MAP4(m,__VA_ARGS__) ^~~~~~ /kisskb/src/include/linux/syscalls.h:116:35: note: in expansion of macro '__MAP5' #define __MAP6(m,t,a,...) m(t,a), __MAP5(m,__VA_ARGS__) ^~~~~~ /kisskb/src/include/linux/syscalls.h:117:22: note: in expansion of macro '__MAP6' #define __MAP(n,...) __MAP##n(__VA_ARGS__) ^~~~~ /kisskb/src/include/linux/syscalls.h:242:28: note: in expansion of macro '__MAP' asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:164:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:164:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:245:21: error: invalid storage class for function '__do_sys_futex' static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:164:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:164:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:247:18: error: static declaration of '__se_sys_futex' follows non-static declaration asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:164:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:246:18: note: previous declaration of '__se_sys_futex' was here asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:164:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function '__se_sys_futex': /kisskb/src/include/linux/syscalls.h:249:14: error: implicit declaration of function '__do_sys_futex'; did you mean '__se_sys_futex'? [-Werror=implicit-function-declaration] long ret = __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:164:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function 'arch_futex_atomic_op_inuser': /kisskb/src/include/linux/syscalls.h:255:21: error: invalid storage class for function '__do_sys_futex' static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:164:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:164:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:197:12: error: invalid storage class for function 'futex_parse_waitv' static int futex_parse_waitv(struct futex_vector *futexv, ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/syscalls.c:4: /kisskb/src/kernel/futex/syscalls.c:248:10: warning: 'alias' attribute ignored [-Wattributes] struct __kernel_timespec __user *, timeout, clockid_t, clockid) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:119:25: note: in definition of macro '__SC_DECL' #define __SC_DECL(t, a) t a ^ /kisskb/src/include/linux/syscalls.h:113:35: note: in expansion of macro '__MAP2' #define __MAP3(m,t,a,...) m(t,a), __MAP2(m,__VA_ARGS__) ^~~~~~ /kisskb/src/include/linux/syscalls.h:114:35: note: in expansion of macro '__MAP3' #define __MAP4(m,t,a,...) m(t,a), __MAP3(m,__VA_ARGS__) ^~~~~~ /kisskb/src/include/linux/syscalls.h:115:35: note: in expansion of macro '__MAP4' #define __MAP5(m,t,a,...) m(t,a), __MAP4(m,__VA_ARGS__) ^~~~~~ /kisskb/src/include/linux/syscalls.h:117:22: note: in expansion of macro '__MAP5' #define __MAP(n,...) __MAP##n(__VA_ARGS__) ^~~~~ /kisskb/src/include/linux/syscalls.h:242:28: note: in expansion of macro '__MAP' asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:221:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:246:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(futex_waitv, struct futex_waitv __user *, waiters, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:221:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:246:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(futex_waitv, struct futex_waitv __user *, waiters, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:245:21: error: invalid storage class for function '__do_sys_futex_waitv' static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:221:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:246:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(futex_waitv, struct futex_waitv __user *, waiters, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:221:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:246:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(futex_waitv, struct futex_waitv __user *, waiters, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:247:18: error: static declaration of '__se_sys_futex_waitv' follows non-static declaration asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:221:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:246:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(futex_waitv, struct futex_waitv __user *, waiters, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:246:18: note: previous declaration of '__se_sys_futex_waitv' was here asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:221:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:246:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(futex_waitv, struct futex_waitv __user *, waiters, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function '__se_sys_futex_waitv': /kisskb/src/include/linux/syscalls.h:249:14: error: implicit declaration of function '__do_sys_futex_waitv'; did you mean '__se_sys_futex_waitv'? [-Werror=implicit-function-declaration] long ret = __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:221:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:246:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(futex_waitv, struct futex_waitv __user *, waiters, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function 'arch_futex_atomic_op_inuser': /kisskb/src/include/linux/syscalls.h:255:21: error: invalid storage class for function '__do_sys_futex_waitv' static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:221:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:246:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(futex_waitv, struct futex_waitv __user *, waiters, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:221:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:246:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(futex_waitv, struct futex_waitv __user *, waiters, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:307:10: warning: 'alias' attribute ignored [-Wattributes] struct compat_robust_list_head __user *, head, ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:119:25: note: in definition of macro '__SC_DECL' #define __SC_DECL(t, a) t a ^ /kisskb/src/include/linux/syscalls.h:117:22: note: in expansion of macro '__MAP2' #define __MAP(n,...) __MAP##n(__VA_ARGS__) ^~~~~ /kisskb/src/include/linux/compat.h:75:35: note: in expansion of macro '__MAP' asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~~ /kisskb/src/include/linux/compat.h:55:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:306:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(set_robust_list, ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/syscalls.c:3: /kisskb/src/include/linux/compat.h:75:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~ /kisskb/src/include/linux/compat.h:55:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:306:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(set_robust_list, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:78:21: error: invalid storage class for function '__do_compat_sys_set_robust_list' static inline long __do_compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:55:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:306:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(set_robust_list, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:78:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~ /kisskb/src/include/linux/compat.h:55:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:306:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(set_robust_list, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:80:18: error: static declaration of '__se_compat_sys_set_robust_list' follows non-static declaration asmlinkage long __se_compat_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:55:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:306:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(set_robust_list, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:79:18: note: previous declaration of '__se_compat_sys_set_robust_list' was here asmlinkage long __se_compat_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \ ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:55:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:306:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(set_robust_list, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function '__se_compat_sys_set_robust_list': /kisskb/src/include/linux/compat.h:82:14: error: implicit declaration of function '__do_compat_sys_set_robust_list'; did you mean '__se_compat_sys_set_robust_list'? [-Werror=implicit-function-declaration] long ret = __do_compat_sys##name(__MAP(x,__SC_DELOUSE,__VA_ARGS__));\ ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:55:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:306:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(set_robust_list, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function 'arch_futex_atomic_op_inuser': /kisskb/src/include/linux/compat.h:87:21: error: invalid storage class for function '__do_compat_sys_set_robust_list' static inline long __do_compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:55:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:306:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(set_robust_list, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:87:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~ /kisskb/src/include/linux/compat.h:55:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:306:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(set_robust_list, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:318:1: warning: 'alias' attribute ignored [-Wattributes] COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/syscalls.c:3: /kisskb/src/include/linux/compat.h:75:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~ /kisskb/src/include/linux/compat.h:57:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:318:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:78:21: error: invalid storage class for function '__do_compat_sys_get_robust_list' static inline long __do_compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:57:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:318:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:78:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~ /kisskb/src/include/linux/compat.h:57:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:318:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:80:18: error: static declaration of '__se_compat_sys_get_robust_list' follows non-static declaration asmlinkage long __se_compat_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:57:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:318:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:79:18: note: previous declaration of '__se_compat_sys_get_robust_list' was here asmlinkage long __se_compat_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \ ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:57:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:318:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function '__se_compat_sys_get_robust_list': /kisskb/src/include/linux/compat.h:82:14: error: implicit declaration of function '__do_compat_sys_get_robust_list'; did you mean '__do_compat_sys_set_robust_list'? [-Werror=implicit-function-declaration] long ret = __do_compat_sys##name(__MAP(x,__SC_DELOUSE,__VA_ARGS__));\ ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:57:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:318:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function 'arch_futex_atomic_op_inuser': /kisskb/src/include/linux/compat.h:87:21: error: invalid storage class for function '__do_compat_sys_get_robust_list' static inline long __do_compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:57:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:318:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:87:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~ /kisskb/src/include/linux/compat.h:57:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:318:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/syscalls.c:4: /kisskb/src/kernel/futex/syscalls.c:357:16: warning: 'alias' attribute ignored [-Wattributes] const struct old_timespec32 __user *, utime, u32 __user *, uaddr2, ^~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:119:25: note: in definition of macro '__SC_DECL' #define __SC_DECL(t, a) t a ^ /kisskb/src/include/linux/syscalls.h:114:35: note: in expansion of macro '__MAP3' #define __MAP4(m,t,a,...) m(t,a), __MAP3(m,__VA_ARGS__) ^~~~~~ /kisskb/src/include/linux/syscalls.h:115:35: note: in expansion of macro '__MAP4' #define __MAP5(m,t,a,...) m(t,a), __MAP4(m,__VA_ARGS__) ^~~~~~ /kisskb/src/include/linux/syscalls.h:116:35: note: in expansion of macro '__MAP5' #define __MAP6(m,t,a,...) m(t,a), __MAP5(m,__VA_ARGS__) ^~~~~~ /kisskb/src/include/linux/syscalls.h:117:22: note: in expansion of macro '__MAP6' #define __MAP(n,...) __MAP##n(__VA_ARGS__) ^~~~~ /kisskb/src/include/linux/syscalls.h:242:28: note: in expansion of macro '__MAP' asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:356:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:242:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \ ^~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:356:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:245:21: error: invalid storage class for function '__do_sys_futex_time32' static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:356:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:245:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\ ^~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:356:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:247:18: error: static declaration of '__se_sys_futex_time32' follows non-static declaration asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:356:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:246:18: note: previous declaration of '__se_sys_futex_time32' was here asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:356:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function '__se_sys_futex_time32': /kisskb/src/include/linux/syscalls.h:249:14: error: implicit declaration of function '__do_sys_futex_time32'; did you mean '__se_sys_futex_time32'? [-Werror=implicit-function-declaration] long ret = __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:356:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c: In function 'arch_futex_atomic_op_inuser': /kisskb/src/include/linux/syscalls.h:255:21: error: invalid storage class for function '__do_sys_futex_time32' static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:356:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:255:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) ^~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:356:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input } ^ /kisskb/src/kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/syscalls.c:374:1: error: expected declaration or statement at end of input In file included from /kisskb/src/kernel/futex/syscalls.c:4: At top level: /kisskb/src/include/linux/syscalls.h:247:18: warning: '__se_sys_futex_time32' defined but not used [-Wunused-function] asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:356:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/syscalls.c:3: /kisskb/src/include/linux/compat.h:80:18: warning: '__se_compat_sys_get_robust_list' defined but not used [-Wunused-function] asmlinkage long __se_compat_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:57:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:318:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE3' COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:80:18: warning: '__se_compat_sys_set_robust_list' defined but not used [-Wunused-function] asmlinkage long __se_compat_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/compat.h:55:2: note: in expansion of macro 'COMPAT_SYSCALL_DEFINEx' COMPAT_SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:306:1: note: in expansion of macro 'COMPAT_SYSCALL_DEFINE2' COMPAT_SYSCALL_DEFINE2(set_robust_list, ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/syscalls.c:4: /kisskb/src/include/linux/syscalls.h:247:18: warning: '__se_sys_futex_waitv' defined but not used [-Wunused-function] asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:221:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:246:1: note: in expansion of macro 'SYSCALL_DEFINE5' SYSCALL_DEFINE5(futex_waitv, struct futex_waitv __user *, waiters, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:247:18: warning: '__se_sys_futex' defined but not used [-Wunused-function] asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:222:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE6(name, ...) SYSCALL_DEFINEx(6, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:164:1: note: in expansion of macro 'SYSCALL_DEFINE6' SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:247:18: warning: '__se_sys_get_robust_list' defined but not used [-Wunused-function] asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:219:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:49:1: note: in expansion of macro 'SYSCALL_DEFINE3' SYSCALL_DEFINE3(get_robust_list, int, pid, ^~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:247:18: warning: '__se_sys_set_robust_list' defined but not used [-Wunused-function] asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \ ^~~~~~~~ /kisskb/src/include/linux/syscalls.h:228:2: note: in expansion of macro '__SYSCALL_DEFINEx' __SYSCALL_DEFINEx(x, sname, __VA_ARGS__) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/syscalls.h:218:36: note: in expansion of macro 'SYSCALL_DEFINEx' #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/syscalls.c:29:1: note: in expansion of macro 'SYSCALL_DEFINE2' SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:288: kernel/futex/syscalls.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 48 ARCH=mips O=/kisskb/build/linux-next_ip32_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_ip32_defconfig_mips-gcc8 # Build took: 0:01:12.949626
© Michael Ellerman 2006-2018.