CC: [email protected] TO: [email protected] Hi André,
FYI, the error/warning still remains. tree: https://github.com/zen-kernel/zen-kernel 5.12/futex2 head: 81255c11c48cc2302883425c87318f9cad37e7e6 commit: 64cdae0a6364c651f13a9ba90f6a8fadd7e1b9f7 [1/16] futex2: Implement wait and wake functions :::::: branch date: 9 hours ago :::::: commit date: 6 weeks ago config: x86_64-randconfig-b001-20210615 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401) 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 x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # https://github.com/zen-kernel/zen-kernel/commit/64cdae0a6364c651f13a9ba90f6a8fadd7e1b9f7 git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel git fetch --no-tags zen-kernel-zen-kernel 5.12/futex2 git checkout 64cdae0a6364c651f13a9ba90f6a8fadd7e1b9f7 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> All warnings (new ones prefixed by >>): kernel/sys_ni.c:146:1: warning: no previous prototype for function '__x64_sys_futex' [-Wmissing-prototypes] COND_SYSCALL(futex); ^ arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:14: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ <scratch space>:189:1: note: expanded from here __x64_sys_futex ^ kernel/sys_ni.c:146:1: note: declare 'static' if the function is not intended to be used outside of this translation unit arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:9: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ kernel/sys_ni.c:147:1: warning: no previous prototype for function '__x64_sys_futex_time32' [-Wmissing-prototypes] COND_SYSCALL(futex_time32); ^ arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:14: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ <scratch space>:193:1: note: expanded from here __x64_sys_futex_time32 ^ kernel/sys_ni.c:147:1: note: declare 'static' if the function is not intended to be used outside of this translation unit arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:9: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ kernel/sys_ni.c:148:1: warning: no previous prototype for function '__x64_sys_set_robust_list' [-Wmissing-prototypes] COND_SYSCALL(set_robust_list); ^ arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:14: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ <scratch space>:197:1: note: expanded from here __x64_sys_set_robust_list ^ kernel/sys_ni.c:148:1: note: declare 'static' if the function is not intended to be used outside of this translation unit arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:9: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ kernel/sys_ni.c:150:1: warning: no previous prototype for function '__x64_sys_get_robust_list' [-Wmissing-prototypes] COND_SYSCALL(get_robust_list); ^ arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:14: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ <scratch space>:205:1: note: expanded from here __x64_sys_get_robust_list ^ kernel/sys_ni.c:150:1: note: declare 'static' if the function is not intended to be used outside of this translation unit arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:9: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ >> kernel/sys_ni.c:154:1: warning: no previous prototype for function >> '__x64_sys_futex_wait' [-Wmissing-prototypes] COND_SYSCALL(futex_wait); ^ arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:14: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ <scratch space>:213:1: note: expanded from here __x64_sys_futex_wait ^ kernel/sys_ni.c:154:1: note: declare 'static' if the function is not intended to be used outside of this translation unit arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:9: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ >> kernel/sys_ni.c:155:1: warning: no previous prototype for function >> '__x64_sys_futex_wake' [-Wmissing-prototypes] COND_SYSCALL(futex_wake); ^ arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:14: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ <scratch space>:217:1: note: expanded from here __x64_sys_futex_wake ^ kernel/sys_ni.c:155:1: note: declare 'static' if the function is not intended to be used outside of this translation unit arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:9: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ kernel/sys_ni.c:162:1: warning: no previous prototype for function '__x64_sys_kexec_load' [-Wmissing-prototypes] COND_SYSCALL(kexec_load); ^ arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:14: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ <scratch space>:221:1: note: expanded from here __x64_sys_kexec_load ^ kernel/sys_ni.c:162:1: note: declare 'static' if the function is not intended to be used outside of this translation unit arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:9: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ kernel/sys_ni.c:166:1: warning: no previous prototype for function '__x64_sys_init_module' [-Wmissing-prototypes] COND_SYSCALL(init_module); ^ arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:14: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ <scratch space>:229:1: note: expanded from here __x64_sys_init_module ^ kernel/sys_ni.c:166:1: note: declare 'static' if the function is not intended to be used outside of this translation unit arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:9: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ kernel/sys_ni.c:167:1: warning: no previous prototype for function '__x64_sys_delete_module' [-Wmissing-prototypes] COND_SYSCALL(delete_module); ^ arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:14: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ <scratch space>:233:1: note: expanded from here __x64_sys_delete_module ^ kernel/sys_ni.c:167:1: note: declare 'static' if the function is not intended to be used outside of this translation unit arch/x86/include/asm/syscall_wrapper.h:256:2: note: expanded from macro 'COND_SYSCALL' __X64_COND_SYSCALL(name) \ ^ arch/x86/include/asm/syscall_wrapper.h:100:2: note: expanded from macro '__X64_COND_SYSCALL' __COND_SYSCALL(x64, sys_##name) ^ arch/x86/include/asm/syscall_wrapper.h:83:9: note: expanded from macro '__COND_SYSCALL' __weak long __##abi##_##name(const struct pt_regs *__unused) \ ^ kernel/sys_ni.c:172:1: warning: no previous prototype for function '__x64_sys_syslog' [-Wmissing-prototypes] vim +/__x64_sys_futex_wait +154 kernel/sys_ni.c 70dd4b3160798b Dominik Brodowski 2018-03-06 152 64cdae0a6364c6 André Almeida 2021-02-05 153 /* kernel/futex2.c */ 64cdae0a6364c6 André Almeida 2021-02-05 @154 COND_SYSCALL(futex_wait); 64cdae0a6364c6 André Almeida 2021-02-05 @155 COND_SYSCALL(futex_wake); 64cdae0a6364c6 André Almeida 2021-02-05 156 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
