public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: "Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com>
To: kernel test robot <lkp@intel.com>,
	akpm@linux-foundation.org, aarcange@redhat.com,
	ak@linux.intel.com, ben.widawsky@intel.com,
	dan.j.williams@intel.com, dave.hansen@linux.intel.com,
	feng.tang@intel.com, linux-api@vger.kernel.org,
	mgorman@techsingularity.net, mhocko@kernel.org
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: + mm-mempolicy-wire-up-syscall-set_mempolicy_home_node.patch added to -mm tree
Date: Mon, 06 Dec 2021 11:44:28 +0530	[thread overview]
Message-ID: <87o85ub6pn.fsf@linux.ibm.com> (raw)
In-Reply-To: <202112060718.JbZsyJcP-lkp@intel.com>

kernel test robot <lkp@intel.com> writes:

> Hi,
>
> I love your patch! Perhaps something to improve:
>
> [auto build test WARNING on arm64/for-next/core]
> [also build test WARNING on deller-parisc/for-next linus/master v5.16-rc3]
> [cannot apply to geert-m68k/for-next powerpc/next s390/features arnd-asm-generic/master tip/x86/asm davem-sparc/master next-20211203]
> [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/akpm-linux-foundation-org/mm-mempolicy-wire-up-syscall-set_mempolicy_home_node-patch-added-to-mm-tree/20211203-065847
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
> config: arm64-randconfig-r025-20211203 (https://download.01.org/0day-ci/archive/20211206/202112060718.JbZsyJcP-lkp@intel.com/config)
> compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1e328b06c15273edf4a40a27ca24931b5efb3a87)
> 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/d7bb34dec7840474ed1ad87136b47eb1ea0c8bee
>         git remote add linux-review https://github.com/0day-ci/linux
>         git fetch --no-tags linux-review akpm-linux-foundation-org/mm-mempolicy-wire-up-syscall-set_mempolicy_home_node-patch-added-to-mm-tree/20211203-065847
>         git checkout d7bb34dec7840474ed1ad87136b47eb1ea0c8bee
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash
>
> 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>:161:1: note: expanded from here
>    __arm64_sys_process_madvise
>    ^
>    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_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>:162:1: note: expanded from here
>    __arm64_sys_process_mrelease

These build warnings with W=1 are related to arm header includes. arm64
expand syscall macro such that '__arm64_' is added to the syscall
handler name. Hence the include  linux/syscall.h that have below
prototype is not sufficient.   
asmlinkage long sys_set_mempolicy_home_node(unsigned long start, unsigned long len,
					    unsigned long home_node,
					    unsigned long flags);


That should be fixed outside this series.

-aneesh



      reply	other threads:[~2021-12-06  6:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211202225542.A2LkS8Bho%akpm@linux-foundation.org>
2021-12-05 23:42 ` + mm-mempolicy-wire-up-syscall-set_mempolicy_home_node.patch added to -mm tree kernel test robot
2021-12-06  6:14   ` Aneesh Kumar K.V [this message]

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=87o85ub6pn.fsf@linux.ibm.com \
    --to=aneesh.kumar@linux.ibm.com \
    --cc=aarcange@redhat.com \
    --cc=ak@linux.intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=ben.widawsky@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=feng.tang@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-api@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=mgorman@techsingularity.net \
    --cc=mhocko@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox