Hi Minchan, I love your patch! Yet something to improve: [auto build test ERROR on m68k/for-next] [also build test ERROR on powerpc/next s390/features linus/master v5.6-rc2 next-20200220] [cannot apply to arm64/for-next/core tip/x86/asm arm/for-next hp-parisc/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Minchan-Kim/introduce-memory-hinting-API-for-external-process/20200220-225155 base: https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-next config: arm64-randconfig-a001-20200220 (attached as .config) compiler: aarch64-linux-gcc (GCC) 7.5.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree GCC_VERSION=7.5.0 make.cross ARCH=arm64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from include/uapi/linux/unistd.h:8, from include/linux/syscalls.h:81, from arch/arm64/kernel/sys.c:16: include/uapi/asm-generic/unistd.h:858:0: warning: "__NR_pidfd_getfd" redefined #define __NR_pidfd_getfd 439 include/uapi/asm-generic/unistd.h:856:0: note: this is the location of the previous definition #define __NR_pidfd_getfd 438 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from arch/arm64/kernel/sys.c:53: include/uapi/asm-generic/unistd.h:856:0: warning: "__NR_pidfd_getfd" redefined #define __NR_pidfd_getfd 438 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from include/uapi/linux/unistd.h:8, from include/linux/syscalls.h:81, from arch/arm64/kernel/sys.c:16: include/uapi/asm-generic/unistd.h:858:0: note: this is the location of the previous definition #define __NR_pidfd_getfd 439 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from arch/arm64/kernel/sys.c:53: include/uapi/asm-generic/unistd.h:858:0: warning: "__NR_pidfd_getfd" redefined #define __NR_pidfd_getfd 439 include/uapi/asm-generic/unistd.h:856:0: note: this is the location of the previous definition #define __NR_pidfd_getfd 438 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from arch/arm64/kernel/sys.c:60: include/uapi/asm-generic/unistd.h:856:0: warning: "__NR_pidfd_getfd" redefined #define __NR_pidfd_getfd 438 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from arch/arm64/kernel/sys.c:53: include/uapi/asm-generic/unistd.h:858:0: note: this is the location of the previous definition #define __NR_pidfd_getfd 439 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from arch/arm64/kernel/sys.c:60: include/uapi/asm-generic/unistd.h:858:0: warning: "__NR_pidfd_getfd" redefined #define __NR_pidfd_getfd 439 include/uapi/asm-generic/unistd.h:856:0: note: this is the location of the previous definition #define __NR_pidfd_getfd 438 >> include/uapi/asm-generic/unistd.h:859:11: error: '__NR_process_madvise' undeclared here (not in a function); did you mean '__NR_process_vm_writev'? __SYSCALL(__NR_process_madvise, sys_process_madvise) ^ arch/arm64/kernel/sys.c:56:29: note: in definition of macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^~ include/uapi/asm-generic/unistd.h:859:11: error: array index in initializer not of integer type __SYSCALL(__NR_process_madvise, sys_process_madvise) ^ arch/arm64/kernel/sys.c:56:29: note: in definition of macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^~ include/uapi/asm-generic/unistd.h:859:11: note: (near initialization for 'sys_call_table') __SYSCALL(__NR_process_madvise, sys_process_madvise) ^ arch/arm64/kernel/sys.c:56:29: note: in definition of macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^~ -- In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from include/uapi/linux/unistd.h:8, from include/linux/syscalls.h:81, from arch/arm64//kernel/sys.c:16: include/uapi/asm-generic/unistd.h:858:0: warning: "__NR_pidfd_getfd" redefined #define __NR_pidfd_getfd 439 include/uapi/asm-generic/unistd.h:856:0: note: this is the location of the previous definition #define __NR_pidfd_getfd 438 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from arch/arm64//kernel/sys.c:53: include/uapi/asm-generic/unistd.h:856:0: warning: "__NR_pidfd_getfd" redefined #define __NR_pidfd_getfd 438 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from include/uapi/linux/unistd.h:8, from include/linux/syscalls.h:81, from arch/arm64//kernel/sys.c:16: include/uapi/asm-generic/unistd.h:858:0: note: this is the location of the previous definition #define __NR_pidfd_getfd 439 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from arch/arm64//kernel/sys.c:53: include/uapi/asm-generic/unistd.h:858:0: warning: "__NR_pidfd_getfd" redefined #define __NR_pidfd_getfd 439 include/uapi/asm-generic/unistd.h:856:0: note: this is the location of the previous definition #define __NR_pidfd_getfd 438 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from arch/arm64//kernel/sys.c:60: include/uapi/asm-generic/unistd.h:856:0: warning: "__NR_pidfd_getfd" redefined #define __NR_pidfd_getfd 438 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from arch/arm64//kernel/sys.c:53: include/uapi/asm-generic/unistd.h:858:0: note: this is the location of the previous definition #define __NR_pidfd_getfd 439 In file included from arch/arm64/include/uapi/asm/unistd.h:24:0, from arch/arm64/include/asm/unistd.h:47, from arch/arm64//kernel/sys.c:60: include/uapi/asm-generic/unistd.h:858:0: warning: "__NR_pidfd_getfd" redefined #define __NR_pidfd_getfd 439 include/uapi/asm-generic/unistd.h:856:0: note: this is the location of the previous definition #define __NR_pidfd_getfd 438 >> include/uapi/asm-generic/unistd.h:859:11: error: '__NR_process_madvise' undeclared here (not in a function); did you mean '__NR_process_vm_writev'? __SYSCALL(__NR_process_madvise, sys_process_madvise) ^ arch/arm64//kernel/sys.c:56:29: note: in definition of macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^~ include/uapi/asm-generic/unistd.h:859:11: error: array index in initializer not of integer type __SYSCALL(__NR_process_madvise, sys_process_madvise) ^ arch/arm64//kernel/sys.c:56:29: note: in definition of macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^~ include/uapi/asm-generic/unistd.h:859:11: note: (near initialization for 'sys_call_table') __SYSCALL(__NR_process_madvise, sys_process_madvise) ^ arch/arm64//kernel/sys.c:56:29: note: in definition of macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^~ vim +859 include/uapi/asm-generic/unistd.h 853 854 #define __NR_openat2 437 855 __SYSCALL(__NR_openat2, sys_openat2) 856 #define __NR_pidfd_getfd 438 857 __SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd) 858 #define __NR_pidfd_getfd 439 > 859 __SYSCALL(__NR_process_madvise, sys_process_madvise) 860 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip