Hi "André, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on tip/locking/core] [also build test ERROR on tip/x86/asm arm64/for-next/core tip/perf/core linus/master v5.11] [cannot apply to next-20210212] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Andr-Almeida/Add-futex2-syscalls/20210215-233004 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 3765d01bab73bdb920ef711203978f02cd26e4da config: riscv-randconfig-r034-20210215 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/0day-ci/linux/commit/455187a88266576bf8dee8f386d9b16378e6cd93 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Andr-Almeida/Add-futex2-syscalls/20210215-233004 git checkout 455187a88266576bf8dee8f386d9b16378e6cd93 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from arch/riscv/kernel/asm-offsets.c:10: In file included from include/linux/sched.h:22: In file included from include/linux/seccomp.h:21: In file included from arch/riscv/include/asm/seccomp.h:6: In file included from arch/riscv/include/asm/unistd.h:13: In file included from arch/riscv/include/uapi/asm/unistd.h:24: >> include/uapi/asm-generic/unistd.h:875:50: error: too many arguments provided to function-like macro invocation __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ include/uapi/asm-generic/unistd.h:16:9: note: macro '__SYSCALL' defined here #define __SYSCALL(x, y) ^ In file included from arch/riscv/kernel/asm-offsets.c:10: In file included from include/linux/sched.h:22: In file included from include/linux/seccomp.h:21: In file included from arch/riscv/include/asm/seccomp.h:8: In file included from include/asm-generic/seccomp.h:11: In file included from include/uapi/linux/unistd.h:8: In file included from arch/riscv/include/asm/unistd.h:13: In file included from arch/riscv/include/uapi/asm/unistd.h:24: >> include/uapi/asm-generic/unistd.h:875:50: error: too many arguments provided to function-like macro invocation __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ include/uapi/asm-generic/unistd.h:16:9: note: macro '__SYSCALL' defined here #define __SYSCALL(x, y) ^ >> include/uapi/asm-generic/unistd.h:875:1: error: unknown type name '__SYSCALL' __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ In file included from arch/riscv/kernel/asm-offsets.c:10: In file included from include/linux/sched.h:22: In file included from include/linux/seccomp.h:21: In file included from arch/riscv/include/asm/seccomp.h:8: In file included from include/asm-generic/seccomp.h:11: In file included from include/uapi/linux/unistd.h:8: In file included from arch/riscv/include/asm/unistd.h:13: In file included from arch/riscv/include/uapi/asm/unistd.h:24: >> include/uapi/asm-generic/unistd.h:875:10: error: expected ';' after top level declarator __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ ; 4 errors generated. -- In file included from arch/riscv/kernel/asm-offsets.c:10: In file included from include/linux/sched.h:22: In file included from include/linux/seccomp.h:21: In file included from arch/riscv/include/asm/seccomp.h:6: In file included from arch/riscv/include/asm/unistd.h:13: In file included from arch/riscv/include/uapi/asm/unistd.h:24: >> include/uapi/asm-generic/unistd.h:875:50: error: too many arguments provided to function-like macro invocation __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ include/uapi/asm-generic/unistd.h:16:9: note: macro '__SYSCALL' defined here #define __SYSCALL(x, y) ^ In file included from arch/riscv/kernel/asm-offsets.c:10: In file included from include/linux/sched.h:22: In file included from include/linux/seccomp.h:21: In file included from arch/riscv/include/asm/seccomp.h:8: In file included from include/asm-generic/seccomp.h:11: In file included from include/uapi/linux/unistd.h:8: In file included from arch/riscv/include/asm/unistd.h:13: In file included from arch/riscv/include/uapi/asm/unistd.h:24: >> include/uapi/asm-generic/unistd.h:875:50: error: too many arguments provided to function-like macro invocation __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ include/uapi/asm-generic/unistd.h:16:9: note: macro '__SYSCALL' defined here #define __SYSCALL(x, y) ^ >> include/uapi/asm-generic/unistd.h:875:1: error: unknown type name '__SYSCALL' __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ In file included from arch/riscv/kernel/asm-offsets.c:10: In file included from include/linux/sched.h:22: In file included from include/linux/seccomp.h:21: In file included from arch/riscv/include/asm/seccomp.h:8: In file included from include/asm-generic/seccomp.h:11: In file included from include/uapi/linux/unistd.h:8: In file included from arch/riscv/include/asm/unistd.h:13: In file included from arch/riscv/include/uapi/asm/unistd.h:24: >> include/uapi/asm-generic/unistd.h:875:10: error: expected ';' after top level declarator __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ ; 4 errors generated. make[2]: *** [scripts/Makefile.build:117: arch/riscv/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1201: prepare0] Error 2 make[1]: Target 'modules_prepare' not remade because of errors. make: *** [Makefile:185: __sub-make] Error 2 make: Target 'modules_prepare' not remade because of errors. -- In file included from arch/riscv/kernel/asm-offsets.c:10: In file included from include/linux/sched.h:22: In file included from include/linux/seccomp.h:21: In file included from arch/riscv/include/asm/seccomp.h:6: In file included from arch/riscv/include/asm/unistd.h:13: In file included from arch/riscv/include/uapi/asm/unistd.h:24: >> include/uapi/asm-generic/unistd.h:875:50: error: too many arguments provided to function-like macro invocation __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ include/uapi/asm-generic/unistd.h:16:9: note: macro '__SYSCALL' defined here #define __SYSCALL(x, y) ^ In file included from arch/riscv/kernel/asm-offsets.c:10: In file included from include/linux/sched.h:22: In file included from include/linux/seccomp.h:21: In file included from arch/riscv/include/asm/seccomp.h:8: In file included from include/asm-generic/seccomp.h:11: In file included from include/uapi/linux/unistd.h:8: In file included from arch/riscv/include/asm/unistd.h:13: In file included from arch/riscv/include/uapi/asm/unistd.h:24: >> include/uapi/asm-generic/unistd.h:875:50: error: too many arguments provided to function-like macro invocation __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ include/uapi/asm-generic/unistd.h:16:9: note: macro '__SYSCALL' defined here #define __SYSCALL(x, y) ^ >> include/uapi/asm-generic/unistd.h:875:1: error: unknown type name '__SYSCALL' __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ In file included from arch/riscv/kernel/asm-offsets.c:10: In file included from include/linux/sched.h:22: In file included from include/linux/seccomp.h:21: In file included from arch/riscv/include/asm/seccomp.h:8: In file included from include/asm-generic/seccomp.h:11: In file included from include/uapi/linux/unistd.h:8: In file included from arch/riscv/include/asm/unistd.h:13: In file included from arch/riscv/include/uapi/asm/unistd.h:24: >> include/uapi/asm-generic/unistd.h:875:10: error: expected ';' after top level declarator __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) ^ ; 4 errors generated. make[2]: *** [scripts/Makefile.build:117: arch/riscv/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1201: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:185: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +875 include/uapi/asm-generic/unistd.h 873 874 #define __NR_futex_requeue 445 > 875 __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) 876 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org