Re: [PATCH] numa: fix /proc/<pid>/numa_maps on s390

From: kbuild test robot
Date: Wed Jan 20 2016 - 14:34:18 EST


Hi Michael,

[auto build test ERROR on next-20160120]
[cannot apply to v4.4-rc8 v4.4-rc7 v4.4-rc6 v4.4]
[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/Michael-Holzheu/numa-fix-proc-pid-numa_maps-on-s390/20160121-022313
config: ia64-alldefconfig (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=ia64

All errors (new ones prefixed by >>):

fs/proc/task_mmu.c: In function 'gather_pte_stats':
>> fs/proc/task_mmu.c:1523:3: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration]
pte_t huge_pte = huge_ptep_get((pte_t *)pmd);
^
>> fs/proc/task_mmu.c:1523:3: error: invalid initializer
cc1: some warnings being treated as errors

vim +/huge_ptep_get +1523 fs/proc/task_mmu.c

1517 struct vm_area_struct *vma = walk->vma;
1518 spinlock_t *ptl;
1519 pte_t *orig_pte;
1520 pte_t *pte;
1521
1522 if (pmd_trans_huge_lock(pmd, vma, &ptl)) {
> 1523 pte_t huge_pte = huge_ptep_get((pte_t *)pmd);
1524 struct page *page;
1525
1526 page = can_gather_numa_stats(huge_pte, vma, addr);

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

Attachment: .config.gz
Description: Binary data