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-nommu_k210_defconfig (attached as .config) compiler: riscv64-linux-gcc (GCC) 9.3.0 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 # 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=gcc-9.3.0 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/include/uapi/asm/unistd.h:24, from arch/riscv/include/asm/unistd.h:13, from arch/riscv/include/asm/seccomp.h:6, from include/linux/seccomp.h:21, from include/linux/sched.h:22, from arch/riscv/kernel/asm-offsets.c:10: include/uapi/asm-generic/unistd.h:875:74: error: macro "__SYSCALL" passed 3 arguments, but takes just 2 875 | __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) | ^ include/uapi/asm-generic/unistd.h:16: note: macro "__SYSCALL" defined here 16 | #define __SYSCALL(x, y) | In file included from arch/riscv/include/uapi/asm/unistd.h:24, from arch/riscv/include/asm/unistd.h:13, from include/uapi/linux/unistd.h:8, from include/asm-generic/seccomp.h:11, from arch/riscv/include/asm/seccomp.h:8, from include/linux/seccomp.h:21, from include/linux/sched.h:22, from arch/riscv/kernel/asm-offsets.c:10: include/uapi/asm-generic/unistd.h:875:74: error: macro "__SYSCALL" passed 3 arguments, but takes just 2 875 | __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) | ^ In file included from arch/riscv/include/uapi/asm/unistd.h:24, from arch/riscv/include/asm/unistd.h:13, from arch/riscv/include/asm/seccomp.h:6, from include/linux/seccomp.h:21, from include/linux/sched.h:22, from arch/riscv/kernel/asm-offsets.c:10: include/uapi/asm-generic/unistd.h:16: note: macro "__SYSCALL" defined here 16 | #define __SYSCALL(x, y) | include/uapi/asm-generic/unistd.h:875:1: error: unknown type name '__SYSCALL'; did you mean 'EXC_SYSCALL'? 875 | __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) | ^~~~~~~~~ | EXC_SYSCALL In file included from arch/riscv/include/uapi/asm/unistd.h:24, from arch/riscv/include/asm/unistd.h:13, from include/uapi/linux/unistd.h:8, from include/asm-generic/seccomp.h:11, from arch/riscv/include/asm/seccomp.h:8, from include/linux/seccomp.h:21, from include/linux/sched.h:22, from arch/riscv/kernel/asm-offsets.c:10: >> include/uapi/asm-generic/unistd.h:875:10: error: expected ';' before 'struct' 875 | __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) | ^ | ; -- In file included from arch/riscv/include/uapi/asm/unistd.h:24, from arch/riscv/include/asm/unistd.h:13, from arch/riscv/include/asm/seccomp.h:6, from include/linux/seccomp.h:21, from include/linux/sched.h:22, from arch/riscv/kernel/asm-offsets.c:10: include/uapi/asm-generic/unistd.h:875:74: error: macro "__SYSCALL" passed 3 arguments, but takes just 2 875 | __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) | ^ include/uapi/asm-generic/unistd.h:16: note: macro "__SYSCALL" defined here 16 | #define __SYSCALL(x, y) | In file included from arch/riscv/include/uapi/asm/unistd.h:24, from arch/riscv/include/asm/unistd.h:13, from include/uapi/linux/unistd.h:8, from include/asm-generic/seccomp.h:11, from arch/riscv/include/asm/seccomp.h:8, from include/linux/seccomp.h:21, from include/linux/sched.h:22, from arch/riscv/kernel/asm-offsets.c:10: include/uapi/asm-generic/unistd.h:875:74: error: macro "__SYSCALL" passed 3 arguments, but takes just 2 875 | __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) | ^ In file included from arch/riscv/include/uapi/asm/unistd.h:24, from arch/riscv/include/asm/unistd.h:13, from arch/riscv/include/asm/seccomp.h:6, from include/linux/seccomp.h:21, from include/linux/sched.h:22, from arch/riscv/kernel/asm-offsets.c:10: include/uapi/asm-generic/unistd.h:16: note: macro "__SYSCALL" defined here 16 | #define __SYSCALL(x, y) | include/uapi/asm-generic/unistd.h:875:1: error: unknown type name '__SYSCALL'; did you mean 'EXC_SYSCALL'? 875 | __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) | ^~~~~~~~~ | EXC_SYSCALL In file included from arch/riscv/include/uapi/asm/unistd.h:24, from arch/riscv/include/asm/unistd.h:13, from include/uapi/linux/unistd.h:8, from include/asm-generic/seccomp.h:11, from arch/riscv/include/asm/seccomp.h:8, from include/linux/seccomp.h:21, from include/linux/sched.h:22, from arch/riscv/kernel/asm-offsets.c:10: >> include/uapi/asm-generic/unistd.h:875:10: error: expected ';' before 'struct' 875 | __SYSCALL(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue) | ^ | ; 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