Hi "Aneesh,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on arm64/for-next/core]
[also build test WARNING on linus/master v5.15-rc6]
[cannot apply to hnaz-mm/master tip/x86/asm next-20211020]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/mm-mempolicy-us...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-randconfig-r033-20211019 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
9660563950aaed54020bfdf0be07e7096a9553e4)
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/0day-ci/linux/commit/10f30e8157782f17ae682c2bbca95c226...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Aneesh-Kumar-K-V/mm-mempolicy-use-policy_node-helper-with-MPOL_PREFERRED_MANY/20211020-172721
git checkout 10f30e8157782f17ae682c2bbca95c226af3612a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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>:60:1: note: expanded from here
__arm64_sys_process_madvise
^
kernel/sys_ni.c:291: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:292:1: warning: no previous prototype for function
'__arm64_sys_process_mrelease' [-Wmissing-prototypes]
COND_SYSCALL(process_mrelease);
^
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>:61:1: note: expanded from here
__arm64_sys_process_mrelease
^
kernel/sys_ni.c:292: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:293:1: warning: no previous prototype for function
'__arm64_sys_remap_file_pages' [-Wmissing-prototypes]
COND_SYSCALL(remap_file_pages);
^
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>:62:1: note: expanded from here
__arm64_sys_remap_file_pages
^
kernel/sys_ni.c:293: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:294:1: warning: no previous prototype for function
'__arm64_sys_mbind' [-Wmissing-prototypes]
COND_SYSCALL(mbind);
^
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_mbind
^
kernel/sys_ni.c:294: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:295:1: warning: no previous prototype for function
'__arm64_sys_get_mempolicy' [-Wmissing-prototypes]
COND_SYSCALL(get_mempolicy);
^
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>:64:1: note: expanded from here
__arm64_sys_get_mempolicy
^
kernel/sys_ni.c:295: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:296:1: warning: no previous prototype for function
'__arm64_sys_set_mempolicy' [-Wmissing-prototypes]
COND_SYSCALL(set_mempolicy);
^
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_set_mempolicy
^
kernel/sys_ni.c:296: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:297:1: warning: no previous prototype for function
'__arm64_sys_migrate_pages' [-Wmissing-prototypes]
COND_SYSCALL(migrate_pages);
^
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>:66:1: note: expanded from here
__arm64_sys_migrate_pages
^
kernel/sys_ni.c:297: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:298:1: warning: no previous prototype for function
'__arm64_sys_move_pages' [-Wmissing-prototypes]
COND_SYSCALL(move_pages);
^
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_move_pages
^
kernel/sys_ni.c:298: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:299:1: warning: no previous prototype for
function '__arm64_sys_set_mempolicy_home_node' [-Wmissing-prototypes]
COND_SYSCALL(set_mempolicy_home_node);
^
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_set_mempolicy_home_node
^
kernel/sys_ni.c:299: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:301:1: warning: no previous prototype for function
'__arm64_sys_perf_event_open' [-Wmissing-prototypes]
COND_SYSCALL(perf_event_open);
^
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_perf_event_open
^
kernel/sys_ni.c:301: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:302:1: warning: no previous prototype for function
'__arm64_sys_accept4' [-Wmissing-prototypes]
COND_SYSCALL(accept4);
^
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_accept4
^
kernel/sys_ni.c:302: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:303:1: warning: no previous prototype for function
'__arm64_sys_recvmmsg' [-Wmissing-prototypes]
COND_SYSCALL(recvmmsg);
^
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_recvmmsg
^
kernel/sys_ni.c:303: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:304:1: warning: no previous prototype for function
'__arm64_sys_recvmmsg_time32' [-Wmissing-prototypes]
COND_SYSCALL(recvmmsg_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>:72:1: note: expanded from here
__arm64_sys_recvmmsg_time32
^
kernel/sys_ni.c:304: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:313:1: warning: no previous prototype for function
'__arm64_sys_fanotify_init' [-Wmissing-prototypes]
COND_SYSCALL(fanotify_init);
^
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>:81:1: note: expanded from here
__arm64_sys_fanotify_init
^
kernel/sys_ni.c:313: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:314:1: warning: no previous prototype for function
'__arm64_sys_fanotify_mark' [-Wmissing-prototypes]
COND_SYSCALL(fanotify_mark);
^
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>:82:1: note: expanded from here
__arm64_sys_fanotify_mark
^
kernel/sys_ni.c:314: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:317:1: warning: no previous prototype for function
'__arm64_sys_name_to_handle_at' [-Wmissing-prototypes]
COND_SYSCALL(name_to_handle_at);
^
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>:83:1: note: expanded from here
__arm64_sys_name_to_handle_at
^
kernel/sys_ni.c:317:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
vim +/__arm64_sys_set_mempolicy_home_node +299 kernel/sys_ni.c
279
280 /* mm/, CONFIG_MMU only */
281 COND_SYSCALL(swapon);
282 COND_SYSCALL(swapoff);
283 COND_SYSCALL(mprotect);
284 COND_SYSCALL(msync);
285 COND_SYSCALL(mlock);
286 COND_SYSCALL(munlock);
287 COND_SYSCALL(mlockall);
288 COND_SYSCALL(munlockall);
289 COND_SYSCALL(mincore);
290 COND_SYSCALL(madvise);
291 COND_SYSCALL(process_madvise);
292 COND_SYSCALL(process_mrelease);
293 COND_SYSCALL(remap_file_pages);
294 COND_SYSCALL(mbind);
295 COND_SYSCALL(get_mempolicy);
296 COND_SYSCALL(set_mempolicy);
297 COND_SYSCALL(migrate_pages);
298 COND_SYSCALL(move_pages);
299 COND_SYSCALL(set_mempolicy_home_node);
300
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org