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


Groups > linux.kernel > #1481490

Re: [PATCH] mm: move phys_mem_access_prot_allowed() declaration to pgtable.h

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: move phys_mem_access_prot_allowed() declaration to pgtable.h
Date 2016-09-12 17:50 +0200
Message-ID <sgBEC-5cu-21@gated-at.bofh.it> (permalink)
References <sgyGK-3jx-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Baoyou,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc6 next-20160912]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Baoyou-Xie/mm-move-phys_mem_access_prot_allowed-declaration-to-pgtable-h/20160912-211348
config: m32r-m32104ut_defconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 4.9.0
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=m32r 

All errors (new ones prefixed by >>):

   include/asm-generic/pgtable.h: Assembler messages:
>> include/asm-generic/pgtable.h:817: Error: bad instruction `struct file'
>> include/asm-generic/pgtable.h:818: Error: bad instruction `int phys_mem_access_prot_allowed(struct file*file,...'
>> include/asm-generic/pgtable.h:819: Error: bad instruction `unsigned long size,pgprot_t*vma_prot)'

vim +817 include/asm-generic/pgtable.h

   811	#define has_transparent_hugepage() 1
   812	#else
   813	#define has_transparent_hugepage() 0
   814	#endif
   815	#endif
   816	
 > 817	struct file;
 > 818	int phys_mem_access_prot_allowed(struct file *file, unsigned long pfn,
 > 819				unsigned long size, pgprot_t *vma_prot);
   820	#endif /* _ASM_GENERIC_PGTABLE_H */

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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


Thread

[PATCH] mm: move phys_mem_access_prot_allowed() declaration to pgtable.h Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-12 14:40 +0200
  Re: [PATCH] mm: move phys_mem_access_prot_allowed() declaration to  pgtable.h kbuild test robot <lkp@intel.com> - 2016-09-12 17:20 +0200
    Re: [PATCH] mm: move phys_mem_access_prot_allowed() declaration to pgtable.h Arnd Bergmann <arnd@arndb.de> - 2016-09-12 17:30 +0200
  Re: [PATCH] mm: move phys_mem_access_prot_allowed() declaration to  pgtable.h kbuild test robot <lkp@intel.com> - 2016-09-12 17:50 +0200
  Re: [PATCH] mm: move phys_mem_access_prot_allowed() declaration to  pgtable.h kbuild test robot <lkp@intel.com> - 2016-09-12 18:30 +0200

csiph-web