Re: [PATCH 5/7] mm/follow_page_mask: Add support for hugepage directory entry
From: kbuild test robot
Date: Mon Apr 17 2017 - 13:58:00 EST
Hi Aneesh,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc7 next-20170413]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/HugeTLB-migration-support-for-PPC64/20170418-011540
config: i386-randconfig-x016-201716 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
In file included from fs/proc/task_mmu.c:3:0:
>> include/linux/hugetlb.h:121:31: error: unknown type name 'hugepd_t'
unsigned long address, hugepd_t hpd,
^~~~~~~~
--
In file included from mm/gup.c:15:0:
>> include/linux/hugetlb.h:121:31: error: unknown type name 'hugepd_t'
unsigned long address, hugepd_t hpd,
^~~~~~~~
mm/gup.c: In function 'follow_pmd_mask':
>> mm/gup.c:230:10: error: implicit declaration of function 'follow_huge_pd' [-Werror=implicit-function-declaration]
page = follow_huge_pd(vma, address,
^~~~~~~~~~~~~~
mm/gup.c:230:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
page = follow_huge_pd(vma, address,
^
mm/gup.c: In function 'follow_pud_mask':
mm/gup.c:304:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
page = follow_huge_pd(vma, address,
^
mm/gup.c: In function 'follow_p4d_mask':
mm/gup.c:340:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
page = follow_huge_pd(vma, address,
^
mm/gup.c: In function 'follow_page_mask':
mm/gup.c:392:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
page = follow_huge_pd(vma, address,
^
cc1: some warnings being treated as errors
vim +/hugepd_t +121 include/linux/hugetlb.h
115 unsigned long addr, unsigned long sz);
116 pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr);
117 int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep);
118 struct page *follow_huge_addr(struct mm_struct *mm, unsigned long address,
119 int write);
120 struct page *follow_huge_pd(struct vm_area_struct *vma,
> 121 unsigned long address, hugepd_t hpd,
122 int flags, int pdshift);
123 struct page *follow_huge_pmd(struct mm_struct *mm, unsigned long address,
124 pmd_t *pmd, int flags);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip