# git rev-parse -q --verify 7afeac307a9561e3a93682c1e7eb22f918aa1187^{commit} 7afeac307a9561e3a93682c1e7eb22f918aa1187 already have revision, skipping fetch # git checkout -q -f -B kisskb 7afeac307a9561e3a93682c1e7eb22f918aa1187 # git clean -qxdf # < git log -1 # commit 7afeac307a9561e3a93682c1e7eb22f918aa1187 # Author: Stephen Rothwell # Date: Fri Dec 3 19:37:15 2021 +1100 # # Add linux-next specific files for 20211203 # # Signed-off-by: Stephen Rothwell # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 7afeac307a9561e3a93682c1e7eb22f918aa1187 # < make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MIPS_CPS_NS16550_BASE=0x1b0003f8 # Added to kconfig CONFIG_MIPS_CPS_NS16550_SHIFT=0 # Added to kconfig # < make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- help # make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- olddefconfig .config:13422:warning: override: reassigning to symbol MIPS_CPS_NS16550_SHIFT # make -s -j 32 ARCH=mips O=/kisskb/build/linux-next_mips-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- /kisskb/src/arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0" /kisskb/src/arch/mips/boot/dts/ingenic/jz4780.dtsi:473.33-475.6: Warning (unit_address_format): /nemc@13410000/efuse@d0/eth-mac-addr@0x22: unit name should not have leading "0x" In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:35, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:41, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)) ^ In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:56, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:35, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:41, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)) ^ In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:56, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:35, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:41, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)) ^ In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:56, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:35, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:41, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/config/mips/mips.h:2913:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)) ^ In file included from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/tm.h:56, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/5.4.0/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' In file included from /kisskb/src/kernel/futex/futex.h:12:0, 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' [-Werror=implicit-function-declaration] ret = arch_futex_atomic_op_inuser_local(op, oparg, oval,\ ^ /kisskb/src/arch/mips/include/asm/futex.h:103:3: note: in expansion of macro '__futex_atomic_op' __futex_atomic_op(op, "move $1, %z5", ret, oldval, uaddr, oparg); ^ In file included from /kisskb/src/kernel/futex/futex.h:12:0, 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:0, from /kisskb/src/kernel/futex/pi.c:6: /kisskb/src/arch/mips/include/asm/futex.h:132:1: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static inline int ^ In file included from /kisskb/src/kernel/futex/pi.c:6:0: /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:0: /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:0: /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 from incompatible pointer type [-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:0, 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 from incompatible pointer type [-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:0: /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:0: /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 from incompatible pointer type [-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:0: /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:0: /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:0: /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:0: /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 cc1: all 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:0, 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' [-Werror=implicit-function-declaration] ret = arch_futex_atomic_op_inuser_local(op, oparg, oval,\ ^ /kisskb/src/arch/mips/include/asm/futex.h:103:3: note: in expansion of macro '__futex_atomic_op' __futex_atomic_op(op, "move $1, %z5", ret, oldval, uaddr, oparg); ^ In file included from /kisskb/src/kernel/futex/futex.h:12:0, 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:0, from /kisskb/src/kernel/futex/core.c:41: /kisskb/src/arch/mips/include/asm/futex.h:132:1: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static inline int ^ In file included from /kisskb/src/kernel/futex/core.c:41:0: /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:0: /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:71:19: error: invalid storage class for function 'setup_fail_futex' static int __init setup_fail_futex(char *str) ^ In file included from /kisskb/src/include/linux/printk.h:6:0, 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:75:24: error: initializer element is not constant __setup("fail_futex=", setup_fail_futex); ^ /kisskb/src/include/linux/init.h:321:32: note: in definition of macro '__setup_param' = { __setup_str_##unique_id, fn, early } ^ /kisskb/src/kernel/futex/core.c:75:1: note: in expansion of macro '__setup' __setup("fail_futex=", setup_fail_futex); ^ /kisskb/src/kernel/futex/core.c:75:24: note: (near initialization for '__setup_setup_fail_futex.setup_func') __setup("fail_futex=", setup_fail_futex); ^ /kisskb/src/include/linux/init.h:321:32: note: in definition of macro '__setup_param' = { __setup_str_##unique_id, fn, early } ^ /kisskb/src/kernel/futex/core.c:75:1: note: in expansion of macro '__setup' __setup("fail_futex=", setup_fail_futex); ^ /kisskb/src/kernel/futex/core.c:77:6: error: static declaration of 'should_fail_futex' follows non-static declaration bool should_fail_futex(bool fshared) ^ In file included from /kisskb/src/kernel/futex/core.c:41:0: /kisskb/src/kernel/futex/futex.h:31:13: note: previous declaration of 'should_fail_futex' was here extern bool should_fail_futex(bool fshared); ^ /kisskb/src/kernel/futex/core.c:87:19: error: invalid storage class for function 'fail_futex_debugfs' static int __init fail_futex_debugfs(void) ^ In file included from /kisskb/src/include/linux/printk.h:6:0, 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:102:15: error: initializer element is not constant late_initcall(fail_futex_debugfs); ^ /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:293:28: note: in expansion of macro '__define_initcall' #define late_initcall(fn) __define_initcall(fn, 7) ^ /kisskb/src/kernel/futex/core.c:102:1: note: in expansion of macro 'late_initcall' late_initcall(fail_futex_debugfs); ^ /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:0: /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:115:1: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] 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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0: /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:0, 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:0: /kisskb/src/kernel/futex/futex.h:111:29: error: unused variable 'futex_q_init' [-Werror=unused-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 cc1: all 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:0, 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' [-Werror=implicit-function-declaration] ret = arch_futex_atomic_op_inuser_local(op, oparg, oval,\ ^ /kisskb/src/arch/mips/include/asm/futex.h:103:3: note: in expansion of macro '__futex_atomic_op' __futex_atomic_op(op, "move $1, %z5", ret, oldval, uaddr, oparg); ^ In file included from /kisskb/src/kernel/futex/futex.h:12:0, 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:0, from /kisskb/src/kernel/futex/syscalls.c:7: /kisskb/src/arch/mips/include/asm/futex.h:132:1: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static inline int ^ In file included from /kisskb/src/kernel/futex/syscalls.c:7:0: /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:0: /kisskb/src/include/linux/syscalls.h:155:33: error: redeclaration of '__syscall_meta__set_robust_list' with no linkage static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:139:33: note: previous declaration of '__syscall_meta__set_robust_list' was here static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:177:2: note: in expansion of macro 'SYSCALL_TRACE_ENTER_EVENT' SYSCALL_TRACE_ENTER_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:155:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:180:4: error: redeclaration of '__syscall_meta__set_robust_list' with no linkage __syscall_meta_##sname = { \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:155:33: note: previous declaration of '__syscall_meta__set_robust_list' was here static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:179:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static struct syscall_metadata __used \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:29:41: error: 'alias' attribute ignored [-Werror=attributes] 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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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' [-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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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:155:33: error: redeclaration of '__syscall_meta__get_robust_list' with no linkage static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:139:33: note: previous declaration of '__syscall_meta__get_robust_list' was here static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:177:2: note: in expansion of macro 'SYSCALL_TRACE_ENTER_EVENT' SYSCALL_TRACE_ENTER_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:155:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:180:4: error: redeclaration of '__syscall_meta__get_robust_list' with no linkage __syscall_meta_##sname = { \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:155:33: note: previous declaration of '__syscall_meta__get_robust_list' was here static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:179:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static struct syscall_metadata __used \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:50:10: error: 'alias' attribute ignored [-Werror=attributes] 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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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' [-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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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:0: /kisskb/src/include/linux/syscalls.h:155:33: error: redeclaration of '__syscall_meta__futex' with no linkage static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:139:33: note: previous declaration of '__syscall_meta__futex' was here static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:177:2: note: in expansion of macro 'SYSCALL_TRACE_ENTER_EVENT' SYSCALL_TRACE_ENTER_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:155:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:180:4: error: redeclaration of '__syscall_meta__futex' with no linkage __syscall_meta_##sname = { \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:155:33: note: previous declaration of '__syscall_meta__futex' was here static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:179:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static struct syscall_metadata __used \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:165:16: error: 'alias' attribute ignored [-Werror=attributes] 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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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' [-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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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:0: /kisskb/src/include/linux/syscalls.h:155:33: error: redeclaration of '__syscall_meta__futex_waitv' with no linkage static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:139:33: note: previous declaration of '__syscall_meta__futex_waitv' was here static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:177:2: note: in expansion of macro 'SYSCALL_TRACE_ENTER_EVENT' SYSCALL_TRACE_ENTER_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:155:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:180:4: error: redeclaration of '__syscall_meta__futex_waitv' with no linkage __syscall_meta_##sname = { \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:155:33: note: previous declaration of '__syscall_meta__futex_waitv' was here static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:179:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static struct syscall_metadata __used \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:248:10: error: 'alias' attribute ignored [-Werror=attributes] 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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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' [-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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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:155:33: error: redeclaration of '__syscall_meta__futex_time32' with no linkage static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:139:33: note: previous declaration of '__syscall_meta__futex_time32' was here static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:177:2: note: in expansion of macro 'SYSCALL_TRACE_ENTER_EVENT' SYSCALL_TRACE_ENTER_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:155:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:180:4: error: redeclaration of '__syscall_meta__futex_time32' with no linkage __syscall_meta_##sname = { \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:155:33: note: previous declaration of '__syscall_meta__futex_time32' was here static struct syscall_metadata __syscall_meta_##sname; \ ^ /kisskb/src/include/linux/syscalls.h:178:2: note: in expansion of macro 'SYSCALL_TRACE_EXIT_EVENT' SYSCALL_TRACE_EXIT_EVENT(sname); \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:179:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] static struct syscall_metadata __used \ ^ /kisskb/src/include/linux/syscalls.h:227:2: note: in expansion of macro 'SYSCALL_METADATA' SYSCALL_METADATA(sname, x, __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:357:16: error: 'alias' attribute ignored [-Werror=attributes] 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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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' [-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: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-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 cc1: all 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[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-allmodconfig_mipsel CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linux-next_mips-allmodconfig_mipsel # Build took: 0:12:44.261879