tree:
https://github.com/zen-kernel/zen-kernel 5.10/futex2
head: 65d8ec592b14a8c75ce2a04bfef5a188cd279d00
commit: f585b7a6e72052dbdee6c9baf387846cbcccb58f [4/13] futex2: Implement requeue
operation
config: c6x-randconfig-c004-20210218 (attached as .config)
compiler: c6x-elf-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/zen-kernel/zen-kernel/commit/f585b7a6e72052dbdee6c9baf...
git remote add zen-kernel-zen-kernel
https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.10/futex2
git checkout f585b7a6e72052dbdee6c9baf387846cbcccb58f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=c6x
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
| ^
include/uapi/asm-generic/unistd.h:852:1: note: in expansion of macro
'__SYSCALL'
852 | __SYSCALL(__NR_close_range, sys_close_range)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: note: (near initialization for
'sys_call_table[436]')
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:852:1: note: in expansion of macro
'__SYSCALL'
852 | __SYSCALL(__NR_close_range, sys_close_range)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: warning: initialized field overwritten
[-Woverride-init]
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:855:1: note: in expansion of macro
'__SYSCALL'
855 | __SYSCALL(__NR_openat2, sys_openat2)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: note: (near initialization for
'sys_call_table[437]')
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:855:1: note: in expansion of macro
'__SYSCALL'
855 | __SYSCALL(__NR_openat2, sys_openat2)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: warning: initialized field overwritten
[-Woverride-init]
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:857:1: note: in expansion of macro
'__SYSCALL'
857 | __SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: note: (near initialization for
'sys_call_table[438]')
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:857:1: note: in expansion of macro
'__SYSCALL'
857 | __SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: warning: initialized field overwritten
[-Woverride-init]
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:859:1: note: in expansion of macro
'__SYSCALL'
859 | __SYSCALL(__NR_faccessat2, sys_faccessat2)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: note: (near initialization for
'sys_call_table[439]')
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:859:1: note: in expansion of macro
'__SYSCALL'
859 | __SYSCALL(__NR_faccessat2, sys_faccessat2)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: warning: initialized field overwritten
[-Woverride-init]
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:861:1: note: in expansion of macro
'__SYSCALL'
861 | __SYSCALL(__NR_process_madvise, sys_process_madvise)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: note: (near initialization for
'sys_call_table[440]')
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:861:1: note: in expansion of macro
'__SYSCALL'
861 | __SYSCALL(__NR_process_madvise, sys_process_madvise)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: warning: initialized field overwritten
[-Woverride-init]
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:864:1: note: in expansion of macro
'__SYSCALL'
864 | __SYSCALL(__NR_futex_wait, sys_futex_wait)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: note: (near initialization for
'sys_call_table[441]')
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:864:1: note: in expansion of macro
'__SYSCALL'
864 | __SYSCALL(__NR_futex_wait, sys_futex_wait)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: warning: initialized field overwritten
[-Woverride-init]
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:867:1: note: in expansion of macro
'__SYSCALL'
867 | __SYSCALL(__NR_futex_wake, sys_futex_wake)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: note: (near initialization for
'sys_call_table[442]')
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:867:1: note: in expansion of macro
'__SYSCALL'
867 | __SYSCALL(__NR_futex_wake, sys_futex_wake)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: warning: initialized field overwritten
[-Woverride-init]
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:29:37: note: in expansion of macro
'__SYSCALL'
29 | #define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _sys)
| ^~~~~~~~~
include/uapi/asm-generic/unistd.h:870:1: note: in expansion of macro
'__SC_COMP'
870 | __SC_COMP(__NR_futex_waitv, sys_futex_waitv, compat_sys_futex_waitv)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: note: (near initialization for
'sys_call_table[443]')
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:29:37: note: in expansion of macro
'__SYSCALL'
29 | #define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _sys)
| ^~~~~~~~~
include/uapi/asm-generic/unistd.h:870:1: note: in expansion of macro
'__SC_COMP'
870 | __SC_COMP(__NR_futex_waitv, sys_futex_waitv, compat_sys_futex_waitv)
| ^~~~~~~~~
> include/uapi/asm-generic/unistd.h:872:28: error: array index in
initializer exceeds array bounds
872 | #define __NR_futex_requeue 445
| ^~~
arch/c6x/kernel/sys_c6x.c:48:30: note: in definition of macro '__SYSCALL'
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^~
include/uapi/asm-generic/unistd.h:873:1: note: in expansion of macro
'__SC_COMP'
873 | __SC_COMP(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue)
| ^~~~~~~~~
include/uapi/asm-generic/unistd.h:873:11: note: in expansion of macro
'__NR_futex_requeue'
873 | __SC_COMP(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue)
| ^~~~~~~~~~~~~~~~~~
include/uapi/asm-generic/unistd.h:872:28: note: (near initialization for
'sys_call_table')
872 | #define __NR_futex_requeue 445
| ^~~
arch/c6x/kernel/sys_c6x.c:48:30: note: in definition of macro '__SYSCALL'
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^~
include/uapi/asm-generic/unistd.h:873:1: note: in expansion of macro
'__SC_COMP'
873 | __SC_COMP(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue)
| ^~~~~~~~~
include/uapi/asm-generic/unistd.h:873:11: note: in expansion of macro
'__NR_futex_requeue'
873 | __SC_COMP(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue)
| ^~~~~~~~~~~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: warning: initialized field overwritten
[-Woverride-init]
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:29:37: note: in expansion of macro
'__SYSCALL'
29 | #define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _sys)
| ^~~~~~~~~
include/uapi/asm-generic/unistd.h:873:1: note: in expansion of macro
'__SC_COMP'
873 | __SC_COMP(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: note: (near initialization for
'sys_call_table[444]')
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
include/uapi/asm-generic/unistd.h:29:37: note: in expansion of macro
'__SYSCALL'
29 | #define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _sys)
| ^~~~~~~~~
include/uapi/asm-generic/unistd.h:873:1: note: in expansion of macro
'__SC_COMP'
873 | __SC_COMP(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: warning: initialized field overwritten
[-Woverride-init]
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
arch/c6x/include/uapi/asm/unistd.h:29:1: note: in expansion of macro
'__SYSCALL'
29 | __SYSCALL(__NR_cache_sync, sys_cache_sync)
| ^~~~~~~~~
arch/c6x/kernel/sys_c6x.c:48:36: note: (near initialization for
'sys_call_table[244]')
48 | #define __SYSCALL(nr, call) [nr] = (call),
| ^
arch/c6x/include/uapi/asm/unistd.h:29:1: note: in expansion of macro
'__SYSCALL'
29 | __SYSCALL(__NR_cache_sync, sys_cache_sync)
| ^~~~~~~~~
vim +872 include/uapi/asm-generic/unistd.h
871
872 #define __NR_futex_requeue 445
873 __SC_COMP(__NR_futex_requeue, sys_futex_requeue, compat_sys_futex_requeue)
874
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org