tree:
https://github.com/zen-kernel/zen-kernel 5.13/futex2
head: db649ce1f5de12432be5bfedd8388eacc2f85efc
commit: af4131182efecad873c0a1cfd1ed5002d7594307 [4/19] futex2: Implement requeue
operation
config: arm64-randconfig-r022-20210718 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
5d5b08761f944d5b9822d582378333cc4b36a0a7)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
#
https://github.com/zen-kernel/zen-kernel/commit/af4131182efecad873c0a1cfd...
git remote add zen-kernel-zen-kernel
https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.13/futex2
git checkout af4131182efecad873c0a1cfd1ed5002d7594307
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:84:1: note: expanded from here
__arm64_sys_clone3
^
kernel/sys_ni.c:144:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:147:1: warning: no previous prototype for function
'__arm64_sys_futex' [-Wmissing-prototypes]
COND_SYSCALL(futex);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:85:1: note: expanded from here
__arm64_sys_futex
^
kernel/sys_ni.c:147:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:148:1: warning: no previous prototype for function
'__arm64_sys_futex_time32' [-Wmissing-prototypes]
COND_SYSCALL(futex_time32);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:86:1: note: expanded from here
__arm64_sys_futex_time32
^
kernel/sys_ni.c:148:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:149:1: warning: no previous prototype for function
'__arm64_sys_set_robust_list' [-Wmissing-prototypes]
COND_SYSCALL(set_robust_list);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:87:1: note: expanded from here
__arm64_sys_set_robust_list
^
kernel/sys_ni.c:149:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:151:1: warning: no previous prototype for function
'__arm64_sys_get_robust_list' [-Wmissing-prototypes]
COND_SYSCALL(get_robust_list);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:92:1: note: expanded from here
__arm64_sys_get_robust_list
^
kernel/sys_ni.c:151:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:155:1: warning: no previous prototype for function
'__arm64_sys_futex_wait' [-Wmissing-prototypes]
COND_SYSCALL(futex_wait);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:97:1: note: expanded from here
__arm64_sys_futex_wait
^
kernel/sys_ni.c:155:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:157:1: warning: no previous prototype for function
'__arm64_sys_futex_wake' [-Wmissing-prototypes]
COND_SYSCALL(futex_wake);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:102:1: note: expanded from here
__arm64_sys_futex_wake
^
kernel/sys_ni.c:157:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:158:1: warning: no previous prototype for function
'__arm64_sys_futex_waitv' [-Wmissing-prototypes]
COND_SYSCALL(futex_waitv);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:103:1: note: expanded from here
__arm64_sys_futex_waitv
^
kernel/sys_ni.c:158:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
> kernel/sys_ni.c:160:1: warning: no previous prototype for
function '__arm64_sys_futex_requeue' [-Wmissing-prototypes]
COND_SYSCALL(futex_requeue);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:108:1: note: expanded from here
__arm64_sys_futex_requeue
^
kernel/sys_ni.c:160:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:168:1: warning: no previous prototype for function
'__arm64_sys_kexec_load' [-Wmissing-prototypes]
COND_SYSCALL(kexec_load);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:113:1: note: expanded from here
__arm64_sys_kexec_load
^
kernel/sys_ni.c:168:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:172:1: warning: no previous prototype for function
'__arm64_sys_init_module' [-Wmissing-prototypes]
COND_SYSCALL(init_module);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:118:1: note: expanded from here
__arm64_sys_init_module
^
kernel/sys_ni.c:172:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:173:1: warning: no previous prototype for function
'__arm64_sys_delete_module' [-Wmissing-prototypes]
COND_SYSCALL(delete_module);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:119:1: note: expanded from here
__arm64_sys_delete_module
^
kernel/sys_ni.c:173:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:178:1: warning: no previous prototype for function
'__arm64_sys_syslog' [-Wmissing-prototypes]
COND_SYSCALL(syslog);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:120:1: note: expanded from here
__arm64_sys_syslog
^
kernel/sys_ni.c:178:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:185:1: warning: no previous prototype for function
'__arm64_sys_setregid' [-Wmissing-prototypes]
COND_SYSCALL(setregid);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:121:1: note: expanded from here
__arm64_sys_setregid
^
kernel/sys_ni.c:185:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:186:1: warning: no previous prototype for function
'__arm64_sys_setgid' [-Wmissing-prototypes]
COND_SYSCALL(setgid);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:122:1: note: expanded from here
__arm64_sys_setgid
^
kernel/sys_ni.c:186:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:187:1: warning: no previous prototype for function
'__arm64_sys_setreuid' [-Wmissing-prototypes]
COND_SYSCALL(setreuid);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro
'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:123:1: note: expanded from here
__arm64_sys_setreuid
^
kernel/sys_ni.c:187:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
vim +/__arm64_sys_futex_requeue +160 kernel/sys_ni.c
153
154 /* kernel/futex2.c */
155 COND_SYSCALL(futex_wait);
156 COND_SYSCALL_COMPAT(futex_wait);
157 COND_SYSCALL(futex_wake);
158 COND_SYSCALL(futex_waitv);
159 COND_SYSCALL_COMPAT(futex_waitv);
160 COND_SYSCALL(futex_requeue);
161 COND_SYSCALL_COMPAT(futex_requeue);
162
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org