Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1348463

Re: [PATCH] sparc64: Add support for Application Data Integrity (ADI)

From Khalid Aziz <khalid.aziz@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] sparc64: Add support for Application Data Integrity (ADI)
Date 2016-03-02 21:40 +0100
Message-ID <r8lIR-4R2-1@gated-at.bofh.it> (permalink)
References <r8lzc-4NJ-9@gated-at.bofh.it>
Organization Oracle Corp

Show all headers | View raw


On 03/02/2016 01:26 PM, kbuild test robot wrote:
> Hi Khalid,
>
> [auto build test ERROR on sparc/master]
> [also build test ERROR on v4.5-rc6]
> [cannot apply to next-20160302]
> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
>
> url:    https://github.com/0day-ci/linux/commits/Khalid-Aziz/sparc64-Add-support-for-Application-Data-Integrity-ADI/20160303-025709
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git master
> config: sparc64-allnoconfig (attached as .config)
> reproduce:
>          wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
>          chmod +x ~/bin/make.cross
>          # save the attached .config to linux build tree
>          make.cross ARCH=sparc64
>
> All errors (new ones prefixed by >>):
>
>     arch/sparc/kernel/process_64.c: In function 'disable_sparc_adi':
>>> arch/sparc/kernel/process_64.c:961:6: error: implicit declaration of function 'vma_policy' [-Werror=implicit-function-declaration]
>           vma_policy(vma), vma->vm_userfaultfd_ctx);
>           ^
>     arch/sparc/kernel/process_64.c:959:10: error: passing argument 9 of 'vma_merge' makes pointer from integer without a cast [-Werror]
>        prev = vma_merge(mm, prev, addr, end, vma->vm_flags,
>               ^
>     In file included from arch/sparc/kernel/process_64.c:18:0:
>     include/linux/mm.h:1922:31: note: expected 'struct mempolicy *' but argument is of type 'int'
>      extern struct vm_area_struct *vma_merge(struct mm_struct *,
>                                    ^

Not sure why it built without errors on my system. I will #include 
<linux/mempolicy.h> and send updated patch.

--
Khalid

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] sparc64: Add support for Application Data Integrity (ADI) Khalid Aziz <khalid.aziz@oracle.com> - 2016-03-02 20:00 +0100
  Re: [PATCH] sparc64: Add support for Application Data Integrity (ADI) kbuild test robot <lkp@intel.com> - 2016-03-02 21:30 +0100
    Re: [PATCH] sparc64: Add support for Application Data Integrity (ADI) Khalid Aziz <khalid.aziz@oracle.com> - 2016-03-02 21:40 +0100
  Re: [PATCH] sparc64: Add support for Application Data Integrity (ADI) Julian Calaby <julian.calaby@gmail.com> - 2016-03-03 02:40 +0100
    Re: [PATCH] sparc64: Add support for Application Data Integrity (ADI) Khalid Aziz <khalid.aziz@oracle.com> - 2016-03-03 18:50 +0100
      Re: [PATCH] sparc64: Add support for Application Data Integrity (ADI) Julian Calaby <julian.calaby@gmail.com> - 2016-03-03 23:30 +0100
        Re: [PATCH] sparc64: Add support for Application Data Integrity (ADI) Khalid Aziz <khalid.aziz@oracle.com> - 2016-03-04 01:00 +0100

csiph-web