Re: [PATCH] numa: fix /proc/<pid>/numa_maps for THP

From: kbuild test robot
Date: Mon Apr 04 2016 - 11:53:16 EST


Hi Gerald,

[auto build test ERROR on v4.6-rc2]
[also build test ERROR on next-20160404]
[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/Gerald-Schaefer/numa-fix-proc-pid-numa_maps-for-THP/20160404-233625
config: xtensa-allyesconfig (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=xtensa

All errors (new ones prefixed by >>):

mm/memory.c: In function 'vm_normal_page_pmd':
>> mm/memory.c:795:2: error: implicit declaration of function 'pmd_pfn' [-Werror=implicit-function-declaration]
unsigned long pfn = pmd_pfn(pmd);
^
cc1: some warnings being treated as errors

vim +/pmd_pfn +795 mm/memory.c

789 return pfn_to_page(pfn);
790 }
791
792 struct page *vm_normal_page_pmd(struct vm_area_struct *vma, unsigned long addr,
793 pmd_t pmd)
794 {
> 795 unsigned long pfn = pmd_pfn(pmd);
796
797 /*
798 * There is no pmd_special() but there may be special pmds, e.g.

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

Attachment: .config.gz
Description: Binary data