tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_next
head: 660d06585433d4ea99580b53d355bf4f6cd90dfb
commit: fa8b90070a80bb1a3042b4b25af4b3ee2c4c27e1 [15/16] quota: wire up quotactl_path
config: x86_64-randconfig-r011-20210317 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
8ef111222a3dd12a9175f69c3bff598c46e8bdf7)
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://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git/commit/...
git remote add ext3
https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git
git fetch --no-tags ext3 for_next
git checkout fa8b90070a80bb1a3042b4b25af4b3ee2c4c27e1
# 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 <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
kernel/sys_ni.c:88:1: warning: no previous prototype for function
'__ia32_sys_flock' [-Wmissing-prototypes]
COND_SYSCALL(flock);
^
arch/x86/include/asm/syscall_wrapper.h:257:2: note: expanded from macro
'COND_SYSCALL'
__IA32_COND_SYSCALL(name)
^
arch/x86/include/asm/syscall_wrapper.h:120:2: note: expanded from macro
'__IA32_COND_SYSCALL'
__COND_SYSCALL(ia32, 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>:257:1: note: expanded from here
__ia32_sys_flock
^
kernel/sys_ni.c:88: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:257:2: note: expanded from macro
'COND_SYSCALL'
__IA32_COND_SYSCALL(name)
^
arch/x86/include/asm/syscall_wrapper.h:120:2: note: expanded from macro
'__IA32_COND_SYSCALL'
__COND_SYSCALL(ia32, 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:101:1: warning: no previous prototype for function
'__x64_sys_quotactl' [-Wmissing-prototypes]
COND_SYSCALL(quotactl);
^
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>:261:1: note: expanded from here
__x64_sys_quotactl
^
kernel/sys_ni.c:101: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:101:1: warning: no previous prototype for function
'__ia32_sys_quotactl' [-Wmissing-prototypes]
COND_SYSCALL(quotactl);
^
arch/x86/include/asm/syscall_wrapper.h:257:2: note: expanded from macro
'COND_SYSCALL'
__IA32_COND_SYSCALL(name)
^
arch/x86/include/asm/syscall_wrapper.h:120:2: note: expanded from macro
'__IA32_COND_SYSCALL'
__COND_SYSCALL(ia32, 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>:265:1: note: expanded from here
__ia32_sys_quotactl
^
kernel/sys_ni.c:101: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:257:2: note: expanded from macro
'COND_SYSCALL'
__IA32_COND_SYSCALL(name)
^
arch/x86/include/asm/syscall_wrapper.h:120:2: note: expanded from macro
'__IA32_COND_SYSCALL'
__COND_SYSCALL(ia32, 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:102:1: warning: no previous prototype for function
'__x64_sys_quotactl_path' [-Wmissing-prototypes]
COND_SYSCALL(quotactl_path);
^
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>:269:1: note: expanded from here
__x64_sys_quotactl_path
^
kernel/sys_ni.c:102: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:102:1: warning: no previous prototype for
function '__ia32_sys_quotactl_path' [-Wmissing-prototypes]
COND_SYSCALL(quotactl_path);
^
arch/x86/include/asm/syscall_wrapper.h:257:2: note: expanded from macro
'COND_SYSCALL'
__IA32_COND_SYSCALL(name)
^
arch/x86/include/asm/syscall_wrapper.h:120:2: note: expanded from macro
'__IA32_COND_SYSCALL'
__COND_SYSCALL(ia32, 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>:273:1: note: expanded from here
__ia32_sys_quotactl_path
^
kernel/sys_ni.c:102: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:257:2: note: expanded from macro
'COND_SYSCALL'
__IA32_COND_SYSCALL(name)
^
arch/x86/include/asm/syscall_wrapper.h:120:2: note: expanded from macro
'__IA32_COND_SYSCALL'
__COND_SYSCALL(ia32, 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:113:1: warning: no previous prototype for function
'__x64_sys_signalfd4' [-Wmissing-prototypes]
COND_SYSCALL(signalfd4);
^
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>:2:1: note: expanded from here
__x64_sys_signalfd4
^
kernel/sys_ni.c:113: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:113:1: warning: no previous prototype for function
'__ia32_sys_signalfd4' [-Wmissing-prototypes]
COND_SYSCALL(signalfd4);
^
arch/x86/include/asm/syscall_wrapper.h:257:2: note: expanded from macro
'COND_SYSCALL'
__IA32_COND_SYSCALL(name)
^
arch/x86/include/asm/syscall_wrapper.h:120:2: note: expanded from macro
'__IA32_COND_SYSCALL'
__COND_SYSCALL(ia32, 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>:6:1: note: expanded from here
__ia32_sys_signalfd4
^
kernel/sys_ni.c:113: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:257:2: note: expanded from macro
'COND_SYSCALL'
__IA32_COND_SYSCALL(name)
^
arch/x86/include/asm/syscall_wrapper.h:120:2: note: expanded from macro
'__IA32_COND_SYSCALL'
__COND_SYSCALL(ia32, 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:114:1: warning: no previous prototype for function
'__ia32_compat_sys_signalfd4' [-Wmissing-prototypes]
COND_SYSCALL_COMPAT(signalfd4);
^
arch/x86/include/asm/syscall_wrapper.h:218:2: note: expanded from macro
'COND_SYSCALL_COMPAT'
__IA32_COMPAT_COND_SYSCALL(name) \
^
arch/x86/include/asm/syscall_wrapper.h:148:2: note: expanded from macro
'__IA32_COMPAT_COND_SYSCALL'
__COND_SYSCALL(ia32, 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>:10:1: note: expanded from here
__ia32_compat_sys_signalfd4
^
kernel/sys_ni.c:114: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:218:2: note: expanded from macro
'COND_SYSCALL_COMPAT'
__IA32_COMPAT_COND_SYSCALL(name) \
^
arch/x86/include/asm/syscall_wrapper.h:148:2: note: expanded from macro
'__IA32_COMPAT_COND_SYSCALL'
__COND_SYSCALL(ia32, 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:114:1: warning: no previous prototype for function
'__x32_compat_sys_signalfd4' [-Wmissing-prototypes]
vim +/__ia32_sys_quotactl_path +102 kernel/sys_ni.c
99
100 /* fs/quota.c */
101 COND_SYSCALL(quotactl);
102 COND_SYSCALL(quotactl_path);
103
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org