# git rev-parse -q --verify 5d02ef4b57f6e7d4dcba14d40cf05373a146a605^{commit} 5d02ef4b57f6e7d4dcba14d40cf05373a146a605 already have revision, skipping fetch # git checkout -q -f -B kisskb 5d02ef4b57f6e7d4dcba14d40cf05373a146a605 # git clean -qxdf # < git log -1 # commit 5d02ef4b57f6e7d4dcba14d40cf05373a146a605 # Author: Stephen Rothwell # Date: Mon Dec 6 19:44:43 2021 +1100 # # Add linux-next specific files for 20211206 # # Signed-off-by: Stephen Rothwell # < /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 5d02ef4b57f6e7d4dcba14d40cf05373a146a605 # < make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allnoconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- allnoconfig # < make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allnoconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allnoconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allnoconfig_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/pi.c:6: /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/pi.c:6: /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/pi.c:6: /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/pi.c:6: /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/pi.c:7: /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/pi.c:12:5: error: static declaration of 'refill_pi_state_cache' follows non-static declaration int refill_pi_state_cache(void) ^~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/pi.c:6: /kisskb/src/kernel/futex/futex.h:229:12: note: previous declaration of 'refill_pi_state_cache' was here extern int refill_pi_state_cache(void); ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c: In function 'refill_pi_state_cache': /kisskb/src/kernel/futex/pi.c:30:26: error: assignment to 'struct futex_pi_state *' from incompatible pointer type 'struct futex_pi_state *' [-Werror=incompatible-pointer-types] current->pi_state_cache = pi_state; ^ /kisskb/src/kernel/futex/pi.c: In function 'arch_futex_atomic_op_inuser': /kisskb/src/kernel/futex/pi.c:35:31: error: invalid storage class for function 'alloc_pi_state' static struct futex_pi_state *alloc_pi_state(void) ^~~~~~~~~~~~~~ In file included from ./arch/mips/include/generated/asm/current.h:1, from /kisskb/src/include/linux/wait.h:11, from /kisskb/src/include/linux/mmzone.h:10, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/kernel/futex/pi.c:3: /kisskb/src/kernel/futex/pi.c: In function 'alloc_pi_state': /kisskb/src/include/asm-generic/current.h:7:23: error: initialization of 'struct futex_pi_state *' from incompatible pointer type 'struct futex_pi_state *' [-Werror=incompatible-pointer-types] #define get_current() (current_thread_info()->task) ^ /kisskb/src/include/asm-generic/current.h:8:17: note: in expansion of macro 'get_current' #define current get_current() ^~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:37:36: note: in expansion of macro 'current' struct futex_pi_state *pi_state = current->pi_state_cache; ^~~~~~~ /kisskb/src/kernel/futex/pi.c: In function 'arch_futex_atomic_op_inuser': /kisskb/src/kernel/futex/pi.c:45:13: error: invalid storage class for function 'pi_state_update_owner' static void pi_state_update_owner(struct futex_pi_state *pi_state, ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:68:6: error: static declaration of 'get_pi_state' follows non-static declaration void get_pi_state(struct futex_pi_state *pi_state) ^~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/pi.c:6: /kisskb/src/kernel/futex/futex.h:230:13: note: previous declaration of 'get_pi_state' was here extern void get_pi_state(struct futex_pi_state *pi_state); ^~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:77:6: error: static declaration of 'put_pi_state' follows non-static declaration void put_pi_state(struct futex_pi_state *pi_state) ^~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/pi.c:6: /kisskb/src/kernel/futex/futex.h:231:13: note: previous declaration of 'put_pi_state' was here extern void put_pi_state(struct futex_pi_state *pi_state); ^~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c: In function 'put_pi_state': /kisskb/src/kernel/futex/pi.c:108:27: error: assignment to 'struct futex_pi_state *' from incompatible pointer type 'struct futex_pi_state *' [-Werror=incompatible-pointer-types] current->pi_state_cache = pi_state; ^ /kisskb/src/kernel/futex/pi.c: In function 'arch_futex_atomic_op_inuser': /kisskb/src/kernel/futex/pi.c:202:12: error: invalid storage class for function 'attach_to_pi_state' static int attach_to_pi_state(u32 __user *uaddr, u32 uval, ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:320:12: error: invalid storage class for function 'handle_exit_race' static int handle_exit_race(u32 __user *uaddr, u32 uval, ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:376:13: error: invalid storage class for function '__attach_to_pi_owner' static void __attach_to_pi_owner(struct task_struct *p, union futex_key *key, ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:410:12: error: invalid storage class for function 'attach_to_pi_owner' static int attach_to_pi_owner(u32 __user *uaddr, u32 uval, union futex_key *key, ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:474:12: error: invalid storage class for function 'lock_pi_update_atomic' static int lock_pi_update_atomic(u32 __user *uaddr, u32 uval, u32 newval) ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:514:5: error: static declaration of 'futex_lock_pi_atomic' follows non-static declaration int futex_lock_pi_atomic(u32 __user *uaddr, struct futex_hash_bucket *hb, ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/pi.c:6: /kisskb/src/kernel/futex/futex.h:222:12: note: previous declaration of 'futex_lock_pi_atomic' was here extern int futex_lock_pi_atomic(u32 __user *uaddr, struct futex_hash_bucket *hb, ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:613:12: error: invalid storage class for function 'wake_futex_pi' static int wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_pi_state *pi_state) ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:683:12: error: invalid storage class for function '__fixup_pi_state_owner' static int __fixup_pi_state_owner(u32 __user *uaddr, struct futex_q *q, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:855:12: error: invalid storage class for function 'fixup_pi_state_owner' static int fixup_pi_state_owner(u32 __user *uaddr, struct futex_q *q, ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:884:5: error: static declaration of 'fixup_pi_owner' follows non-static declaration int fixup_pi_owner(u32 __user *uaddr, struct futex_q *q, int locked) ^~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/pi.c:6: /kisskb/src/kernel/futex/futex.h:232:12: note: previous declaration of 'fixup_pi_owner' was here extern int fixup_pi_owner(u32 __user *uaddr, struct futex_q *q, int locked); ^~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:930:5: error: static declaration of 'futex_lock_pi' follows non-static declaration int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock) ^~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/pi.c:6: /kisskb/src/kernel/futex/futex.h:291:12: note: previous declaration of 'futex_lock_pi' was here extern int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock); ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:1100:5: error: static declaration of 'futex_unlock_pi' follows non-static declaration int futex_unlock_pi(u32 __user *uaddr, unsigned int flags) ^~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/pi.c:6: /kisskb/src/kernel/futex/futex.h:289:12: note: previous declaration of 'futex_unlock_pi' was here extern int futex_unlock_pi(u32 __user *uaddr, unsigned int flags); ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input } ^ /kisskb/src/kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/pi.c:1232:1: error: expected declaration or statement at end of input At top level: /kisskb/src/kernel/futex/pi.c:1100:5: warning: 'futex_unlock_pi' defined but not used [-Wunused-function] int futex_unlock_pi(u32 __user *uaddr, unsigned int flags) ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/pi.c:930:5: warning: 'futex_lock_pi' defined but not used [-Wunused-function] int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock) ^~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:288: kernel/futex/pi.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/core.c:41: /kisskb/src/arch/mips/include/asm/futex.h: In function 'arch_futex_atomic_op_inuser': /kisskb/src/arch/mips/include/asm/futex.h:89:9: error: implicit declaration of function 'arch_futex_atomic_op_inuser_local'; did you mean 'futex_atomic_op_inuser_local'? [-Werror=implicit-function-declaration] ret = arch_futex_atomic_op_inuser_local(op, oparg, oval,\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/include/asm/futex.h:89:9: note: in definition of macro '__futex_atomic_op' ret = arch_futex_atomic_op_inuser_local(op, oparg, oval,\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/futex.h:12, from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/arch/mips/include/asm/futex.h:23:39: error: invalid storage class for function 'futex_atomic_cmpxchg_inatomic' #define futex_atomic_cmpxchg_inatomic futex_atomic_cmpxchg_inatomic ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/include/asm/futex.h:133:1: note: in expansion of macro 'futex_atomic_cmpxchg_inatomic' futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/futex.h:12, from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/arch/mips/include/asm/futex.h:132:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] static inline int ^~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:33:20: error: invalid storage class for function 'should_fail_futex' static inline bool should_fail_futex(bool fshared) ^~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:134:19: error: invalid storage class for function 'futex_match' static inline int futex_match(union futex_key *key1, union futex_key *key2) ^~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:169:20: error: invalid storage class for function 'futex_queue' static inline void futex_queue(struct futex_q *q, struct futex_hash_bucket *hb) ^~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:183:20: error: invalid storage class for function 'futex_hb_waiters_inc' static inline void futex_hb_waiters_inc(struct futex_hash_bucket *hb) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:198:20: error: invalid storage class for function 'futex_hb_waiters_dec' static inline void futex_hb_waiters_dec(struct futex_hash_bucket *hb) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:205:19: error: invalid storage class for function 'futex_hb_waiters_pending' static inline int futex_hb_waiters_pending(struct futex_hash_bucket *hb) ^~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:238:1: error: invalid storage class for function 'double_lock_hb' double_lock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) ^~~~~~~~~~~~~~ /kisskb/src/kernel/futex/futex.h:249:1: error: invalid storage class for function 'double_unlock_hb' double_unlock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2) ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:42: /kisskb/src/kernel/futex/../locking/rtmutex_common.h:93:19: error: invalid storage class for function 'rt_mutex_has_waiters' static inline int rt_mutex_has_waiters(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:103:20: error: invalid storage class for function 'rt_mutex_waiter_is_top_waiter' static inline bool rt_mutex_waiter_is_top_waiter(struct rt_mutex_base *lock, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:111:39: error: invalid storage class for function 'rt_mutex_top_waiter' static inline struct rt_mutex_waiter *rt_mutex_top_waiter(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:123:19: error: invalid storage class for function 'task_has_pi_waiters' static inline int task_has_pi_waiters(struct task_struct *p) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:128:39: error: invalid storage class for function 'task_top_pi_waiter' static inline struct rt_mutex_waiter *task_top_pi_waiter(struct task_struct *p) ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:136:35: error: invalid storage class for function 'rt_mutex_owner' static inline struct task_struct *rt_mutex_owner(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:158:20: error: invalid storage class for function '__rt_mutex_base_init' static inline void __rt_mutex_base_init(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:166:20: error: invalid storage class for function 'debug_rt_mutex_unlock' static inline void debug_rt_mutex_unlock(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:172:20: error: invalid storage class for function 'debug_rt_mutex_proxy_unlock' static inline void debug_rt_mutex_proxy_unlock(struct rt_mutex_base *lock) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:178:20: error: invalid storage class for function 'debug_rt_mutex_init_waiter' static inline void debug_rt_mutex_init_waiter(struct rt_mutex_waiter *waiter) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:184:20: error: invalid storage class for function 'debug_rt_mutex_free_waiter' static inline void debug_rt_mutex_free_waiter(struct rt_mutex_waiter *waiter) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:190:20: error: invalid storage class for function 'rt_mutex_init_waiter' static inline void rt_mutex_init_waiter(struct rt_mutex_waiter *waiter) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/../locking/rtmutex_common.h:199:20: error: invalid storage class for function 'rt_mutex_init_rtlock_waiter' static inline void rt_mutex_init_rtlock_waiter(struct rt_mutex_waiter *waiter) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:115:27: error: static declaration of 'futex_hash' follows non-static declaration struct futex_hash_bucket *futex_hash(union futex_key *key) ^~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:125:34: note: previous declaration of 'futex_hash' was here extern struct futex_hash_bucket *futex_hash(union futex_key *key); ^~~~~~~~~~ /kisskb/src/kernel/futex/core.c:135:1: error: static declaration of 'futex_setup_timer' follows non-static declaration futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:122:1: note: previous declaration of 'futex_setup_timer' was here futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, ^~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:171:12: error: invalid storage class for function 'get_inode_sequence_number' static u64 get_inode_sequence_number(struct inode *inode) ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:220:5: error: static declaration of 'get_futex_key' follows non-static declaration int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, ^~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:118:12: note: previous declaration of 'get_futex_key' was here extern int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:409:5: error: static declaration of 'fault_in_user_writeable' follows non-static declaration int fault_in_user_writeable(u32 __user *uaddr) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:148:12: note: previous declaration of 'fault_in_user_writeable' was here extern int fault_in_user_writeable(u32 __user *uaddr); ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:429:17: error: static declaration of 'futex_top_waiter' follows non-static declaration struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key) ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:151:24: note: previous declaration of 'futex_top_waiter' was here extern struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key); ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:440:5: error: static declaration of 'futex_cmpxchg_value_locked' follows non-static declaration int futex_cmpxchg_value_locked(u32 *curval, u32 __user *uaddr, u32 uval, u32 newval) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:149:12: note: previous declaration of 'futex_cmpxchg_value_locked' was here extern int futex_cmpxchg_value_locked(u32 *curval, u32 __user *uaddr, u32 uval, u32 newval); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:451:5: error: static declaration of 'futex_get_value_locked' follows non-static declaration int futex_get_value_locked(u32 *dest, u32 __user *from) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:150:12: note: previous declaration of 'futex_get_value_locked' was here extern int futex_get_value_locked(u32 *dest, u32 __user *from); ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:469:6: error: static declaration of 'wait_for_owner_exiting' follows non-static declaration void wait_for_owner_exiting(int ret, struct task_struct *exiting) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:178:13: note: previous declaration of 'wait_for_owner_exiting' was here extern void wait_for_owner_exiting(int ret, struct task_struct *exiting); ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:499:6: error: static declaration of '__futex_unqueue' follows non-static declaration void __futex_unqueue(struct futex_q *q) ^~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:153:13: note: previous declaration of '__futex_unqueue' was here extern void __futex_unqueue(struct futex_q *q); ^~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:513:27: error: static declaration of 'futex_q_lock' follows non-static declaration struct futex_hash_bucket *futex_q_lock(struct futex_q *q) ^~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:218:34: note: previous declaration of 'futex_q_lock' was here extern struct futex_hash_bucket *futex_q_lock(struct futex_q *q); ^~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:536:6: error: static declaration of 'futex_q_unlock' follows non-static declaration void futex_q_unlock(struct futex_hash_bucket *hb) ^~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:219:13: note: previous declaration of 'futex_q_unlock' was here extern void futex_q_unlock(struct futex_hash_bucket *hb); ^~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:543:6: error: static declaration of '__futex_queue' follows non-static declaration void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb) ^~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:154:13: note: previous declaration of '__futex_queue' was here extern void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb); ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:573:5: error: static declaration of 'futex_unqueue' follows non-static declaration int futex_unqueue(struct futex_q *q) ^~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:155:12: note: previous declaration of 'futex_unqueue' was here extern int futex_unqueue(struct futex_q *q); ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:620:6: error: static declaration of 'futex_unqueue_pi' follows non-static declaration void futex_unqueue_pi(struct futex_q *q) ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:176:13: note: previous declaration of 'futex_unqueue_pi' was here extern void futex_unqueue_pi(struct futex_q *q); ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:637:12: error: invalid storage class for function 'handle_futex_death' static int handle_futex_death(u32 __user *uaddr, struct task_struct *curr, ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:744:19: error: invalid storage class for function 'fetch_robust_entry' static inline int fetch_robust_entry(struct robust_list __user **entry, ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:765:13: error: invalid storage class for function 'exit_robust_list' static void exit_robust_list(struct task_struct *curr) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:935:13: error: invalid storage class for function 'exit_pi_state_list' static void exit_pi_state_list(struct task_struct *curr) ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1007:13: error: invalid storage class for function 'futex_cleanup' static void futex_cleanup(struct task_struct *tsk) ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1050:13: error: invalid storage class for function 'futex_cleanup_begin' static void futex_cleanup_begin(struct task_struct *tsk) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1076:13: error: invalid storage class for function 'futex_cleanup_end' static void futex_cleanup_end(struct task_struct *tsk, int state) ^~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1115:19: error: invalid storage class for function 'futex_init' static int __init futex_init(void) ^~~~~~~~~~ In file included from /kisskb/src/include/linux/printk.h:6, from /kisskb/src/include/linux/kernel.h:20, from /kisskb/src/include/linux/cpumask.h:10, from /kisskb/src/include/linux/smp.h:13, from /kisskb/src/arch/mips/include/asm/cpu-type.h:12, from /kisskb/src/arch/mips/include/asm/timex.h:19, from /kisskb/src/include/linux/timex.h:65, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:60, from /kisskb/src/include/linux/compat.h:10, from /kisskb/src/kernel/futex/core.c:34: /kisskb/src/kernel/futex/core.c:1141:15: error: initializer element is not constant core_initcall(futex_init); ^~~~~~~~~~ /kisskb/src/include/linux/init.h:250:41: note: in definition of macro '____define_initcall' __attribute__((__section__(__sec))) = fn; ^~ /kisskb/src/include/linux/init.h:260:2: note: in expansion of macro '__unique_initcall' __unique_initcall(fn, id, __sec, __initcall_id(fn)) ^~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/init.h:262:35: note: in expansion of macro '___define_initcall' #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/init.h:280:28: note: in expansion of macro '__define_initcall' #define core_initcall(fn) __define_initcall(fn, 1) ^~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1141:1: note: in expansion of macro 'core_initcall' core_initcall(futex_init); ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input In file included from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/kernel/futex/futex.h:111:29: warning: unused variable 'futex_q_init' [-Wunused-variable] extern const struct futex_q futex_q_init; ^~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input core_initcall(futex_init); ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/core.c:1141:1: error: expected declaration or statement at end of input At top level: /kisskb/src/kernel/futex/core.c:1108:6: warning: 'futex_exit_release' defined but not used [-Wunused-function] void futex_exit_release(struct task_struct *tsk) ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1090:6: warning: 'futex_exec_release' defined but not used [-Wunused-function] void futex_exec_release(struct task_struct *tsk) ^~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:1042:6: warning: 'futex_exit_recursive' defined but not used [-Wunused-function] void futex_exit_recursive(struct task_struct *tsk) ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:620:6: warning: 'futex_unqueue_pi' defined but not used [-Wunused-function] void futex_unqueue_pi(struct futex_q *q) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:573:5: warning: 'futex_unqueue' defined but not used [-Wunused-function] int futex_unqueue(struct futex_q *q) ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:543:6: warning: '__futex_queue' defined but not used [-Wunused-function] void __futex_queue(struct futex_q *q, struct futex_hash_bucket *hb) ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:536:6: warning: 'futex_q_unlock' defined but not used [-Wunused-function] void futex_q_unlock(struct futex_hash_bucket *hb) ^~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:513:27: warning: 'futex_q_lock' defined but not used [-Wunused-function] struct futex_hash_bucket *futex_q_lock(struct futex_q *q) ^~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:469:6: warning: 'wait_for_owner_exiting' defined but not used [-Wunused-function] void wait_for_owner_exiting(int ret, struct task_struct *exiting) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:451:5: warning: 'futex_get_value_locked' defined but not used [-Wunused-function] int futex_get_value_locked(u32 *dest, u32 __user *from) ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:429:17: warning: 'futex_top_waiter' defined but not used [-Wunused-function] struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key) ^~~~~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:220:5: warning: 'get_futex_key' defined but not used [-Wunused-function] int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, ^~~~~~~~~~~~~ /kisskb/src/kernel/futex/core.c:135:1: warning: 'futex_setup_timer' defined but not used [-Wunused-function] futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:288: kernel/futex/core.o] Error 1 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:303:1: error: expected declaration or statement at end of input } ^ /kisskb/src/kernel/futex/syscalls.c:303:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/syscalls.c:303:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/syscalls.c:303:1: error: expected declaration or statement at end of input /kisskb/src/kernel/futex/syscalls.c:303: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_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:1989: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allnoconfig_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_mips-allnoconfig_mips-gcc8 # Build took: 0:00:17.914169