All of lore.kernel.org
 help / color / mirror / Atom feed
* [zen-kernel-zen-kernel:5.12/futex2 4/14] kernel/sys_ni.c:158:1: warning: no previous prototype for function '__x64_sys_futex_requeue'
@ 2021-05-05 11:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-05 11:01 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 14703 bytes --]

tree:   https://github.com/zen-kernel/zen-kernel 5.12/futex2
head:   5932045f3f84865548199be0695192a500fbb5cb
commit: 270e16f72b29d04a83645b653e9fc65be51801d2 [4/14] futex2: Implement requeue operation
config: x86_64-randconfig-r033-20210504 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8f5a2a5836cc8e4c1def2bdeb022e7b496623439)
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/270e16f72b29d04a83645b653e9fc65be51801d2
        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 270e16f72b29d04a83645b653e9fc65be51801d2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   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:156:1: warning: no previous prototype for function '__x64_sys_futex_waitv' [-Wmissing-prototypes]
   COND_SYSCALL(futex_waitv);
   ^
   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_futex_waitv
   ^
   kernel/sys_ni.c:156: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:157:1: warning: no previous prototype for function '__x32_compat_sys_futex_waitv' [-Wmissing-prototypes]
   COND_SYSCALL_COMPAT(futex_waitv);
   ^
   arch/x86/include/asm/syscall_wrapper.h:219:2: note: expanded from macro 'COND_SYSCALL_COMPAT'
           __X32_COMPAT_COND_SYSCALL(name)
           ^
   arch/x86/include/asm/syscall_wrapper.h:175:2: note: expanded from macro '__X32_COMPAT_COND_SYSCALL'
           __COND_SYSCALL(x32, compat_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>:225:1: note: expanded from here
   __x32_compat_sys_futex_waitv
   ^
   kernel/sys_ni.c:157: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:219:2: note: expanded from macro 'COND_SYSCALL_COMPAT'
           __X32_COMPAT_COND_SYSCALL(name)
           ^
   arch/x86/include/asm/syscall_wrapper.h:175:2: note: expanded from macro '__X32_COMPAT_COND_SYSCALL'
           __COND_SYSCALL(x32, compat_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:158:1: warning: no previous prototype for function '__x64_sys_futex_requeue' [-Wmissing-prototypes]
   COND_SYSCALL(futex_requeue);
   ^
   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_futex_requeue
   ^
   kernel/sys_ni.c:158: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:159:1: warning: no previous prototype for function '__x32_compat_sys_futex_requeue' [-Wmissing-prototypes]
   COND_SYSCALL_COMPAT(futex_requeue);
   ^
   arch/x86/include/asm/syscall_wrapper.h:219:2: note: expanded from macro 'COND_SYSCALL_COMPAT'
           __X32_COMPAT_COND_SYSCALL(name)
           ^
   arch/x86/include/asm/syscall_wrapper.h:175:2: note: expanded from macro '__X32_COMPAT_COND_SYSCALL'
           __COND_SYSCALL(x32, compat_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
   __x32_compat_sys_futex_requeue
   ^
   kernel/sys_ni.c:159: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:219:2: note: expanded from macro 'COND_SYSCALL_COMPAT'
           __X32_COMPAT_COND_SYSCALL(name)
           ^
   arch/x86/include/asm/syscall_wrapper.h:175:2: note: expanded from macro '__X32_COMPAT_COND_SYSCALL'
           __COND_SYSCALL(x32, compat_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_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>:237:1: note: expanded from here
   __x64_sys_kexec_load
   ^
   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 '__x32_compat_sys_kexec_load' [-Wmissing-prototypes]
   COND_SYSCALL_COMPAT(kexec_load);
   ^
   arch/x86/include/asm/syscall_wrapper.h:219:2: note: expanded from macro 'COND_SYSCALL_COMPAT'
           __X32_COMPAT_COND_SYSCALL(name)
           ^
   arch/x86/include/asm/syscall_wrapper.h:175:2: note: expanded from macro '__X32_COMPAT_COND_SYSCALL'
           __COND_SYSCALL(x32, compat_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>:241:1: note: expanded from here
   __x32_compat_sys_kexec_load
   ^
   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:219:2: note: expanded from macro 'COND_SYSCALL_COMPAT'
           __X32_COMPAT_COND_SYSCALL(name)
           ^
   arch/x86/include/asm/syscall_wrapper.h:175:2: note: expanded from macro '__X32_COMPAT_COND_SYSCALL'
           __COND_SYSCALL(x32, compat_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:170: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>:245:1: note: expanded from here
   __x64_sys_init_module
   ^
   kernel/sys_ni.c:170: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:171:1: warning: no previous prototype for function '__x64_sys_delete_module' [-Wmissing-prototypes]


vim +/__x64_sys_futex_requeue +158 kernel/sys_ni.c

   152	
   153	/* kernel/futex2.c */
   154	COND_SYSCALL(futex_wait);
   155	COND_SYSCALL(futex_wake);
   156	COND_SYSCALL(futex_waitv);
   157	COND_SYSCALL_COMPAT(futex_waitv);
 > 158	COND_SYSCALL(futex_requeue);
 > 159	COND_SYSCALL_COMPAT(futex_requeue);
   160	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32448 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-05 11:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05 11:01 [zen-kernel-zen-kernel:5.12/futex2 4/14] kernel/sys_ni.c:158:1: warning: no previous prototype for function '__x64_sys_futex_requeue' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.