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

From: kbuild test robot
Date: Mon Sep 12 2016 - 11:14:40 EST


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: parisc-c3000_defconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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=parisc

All errors (new ones prefixed by >>):

include/asm-generic/pgtable.h: Assembler messages:
>> include/asm-generic/pgtable.h:817: Error: Unknown opcode: `struct'
>> include/asm-generic/pgtable.h:818: Error: Unknown opcode: `int'
>> include/asm-generic/pgtable.h:819: Error: Unknown opcode: `unsigned'

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

Attachment: .config.gz
Description: Binary data