All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [zen-kernel-zen-kernel:5.13/futex2-tkg 4/15] kernel/sys_ni.c:158:1: warning: no previous prototype for function '__arm64_sys_futex_requeue'
Date: Wed, 21 Jul 2021 17:38:55 +0800	[thread overview]
Message-ID: <202107211749.aCIRmggV-lkp@intel.com> (raw)

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

tree:   https://github.com/zen-kernel/zen-kernel 5.13/futex2-tkg
head:   8eb940ffa39f19c4ddf284615dfb27a6444a3c1d
commit: 0180aec9b832267462e7d6bfc1659ac5bd32350a [4/15] futex2: Implement requeue operation
config: arm64-randconfig-r022-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87039c048c0cbc3d8cbba86187269b006bf2f373)
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/0180aec9b832267462e7d6bfc1659ac5bd32350a
        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-tkg
        git checkout 0180aec9b832267462e7d6bfc1659ac5bd32350a
        # 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@intel.com>

All warnings (new ones prefixed by >>):

           asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs)   \
                                  ^
   <scratch space>:62: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>:63: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:150:1: warning: no previous prototype for function '__arm64_compat_sys_set_robust_list' [-Wmissing-prototypes]
   COND_SYSCALL_COMPAT(set_robust_list);
   ^
   arch/arm64/include/asm/syscall_wrapper.h:41:25: note: expanded from macro 'COND_SYSCALL_COMPAT'
           asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs)    \
                                  ^
   <scratch space>:64:1: note: expanded from here
   __arm64_compat_sys_set_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/arm64/include/asm/syscall_wrapper.h:41:13: note: expanded from macro 'COND_SYSCALL_COMPAT'
           asmlinkage long __weak __arm64_compat_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>:65: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:152:1: warning: no previous prototype for function '__arm64_compat_sys_get_robust_list' [-Wmissing-prototypes]
   COND_SYSCALL_COMPAT(get_robust_list);
   ^
   arch/arm64/include/asm/syscall_wrapper.h:41:25: note: expanded from macro 'COND_SYSCALL_COMPAT'
           asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs)    \
                                  ^
   <scratch space>:66:1: note: expanded from here
   __arm64_compat_sys_get_robust_list
   ^
   kernel/sys_ni.c:152: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:41:13: note: expanded from macro 'COND_SYSCALL_COMPAT'
           asmlinkage long __weak __arm64_compat_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>:67: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:156: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>:68:1: note: expanded from here
   __arm64_sys_futex_wake
   ^
   kernel/sys_ni.c:156: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_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>:69:1: note: expanded from here
   __arm64_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/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_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>:70:1: note: expanded from here
   __arm64_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/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:165: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>:71:1: note: expanded from here
   __arm64_sys_kexec_load
   ^
   kernel/sys_ni.c:165: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:166:1: warning: no previous prototype for function '__arm64_compat_sys_kexec_load' [-Wmissing-prototypes]
   COND_SYSCALL_COMPAT(kexec_load);
   ^
   arch/arm64/include/asm/syscall_wrapper.h:41:25: note: expanded from macro 'COND_SYSCALL_COMPAT'
           asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs)    \
                                  ^
   <scratch space>:72:1: note: expanded from here
   __arm64_compat_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/arm64/include/asm/syscall_wrapper.h:41:13: note: expanded from macro 'COND_SYSCALL_COMPAT'
           asmlinkage long __weak __arm64_compat_sys_##name(const struct pt_regs *regs)    \
                      ^
   kernel/sys_ni.c:169: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>:73:1: note: expanded from here
   __arm64_sys_init_module
   ^
   kernel/sys_ni.c:169: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:170: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>:74:1: note: expanded from here
   __arm64_sys_delete_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/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:175: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>:75:1: note: expanded from here
   __arm64_sys_syslog
   ^
   kernel/sys_ni.c:175: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:182: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>:76:1: note: expanded from here
   __arm64_sys_setregid
   ^
   kernel/sys_ni.c:182: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:183: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>:77:1: note: expanded from here
   __arm64_sys_setgid
   ^
   kernel/sys_ni.c:183:1: note: declare 'static' if the function is not intended to be used outside of this translation unit


vim +/__arm64_sys_futex_requeue +158 kernel/sys_ni.c

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

---
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: 45533 bytes --]

                 reply	other threads:[~2021-07-21  9:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202107211749.aCIRmggV-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.