* [mmotm:master 97/161] include/linux/hugetlb.h:262:32: error: dereferencing pointer to incomplete type 'const struct vm_operations_struct'
@ 2017-12-10 16:36 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-12-10 16:36 UTC (permalink / raw)
To: Dan Williams
Cc: kbuild-all, Johannes Weiner, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: aa36d8aef8ac03f26d98c73117d5c8fda47f9654
commit: 175dc051b816ff49e5e1429d58b59db748e24f70 [97/161] mm, hugetlbfs: introduce ->pagesize() to vm_operations_struct
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 175dc051b816ff49e5e1429d58b59db748e24f70
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
In file included from drivers/infiniband/core/umem_odp.c:41:0:
include/linux/hugetlb.h: In function 'vma_kernel_pagesize':
>> include/linux/hugetlb.h:262:32: error: dereferencing pointer to incomplete type 'const struct vm_operations_struct'
if (vma->vm_ops && vma->vm_ops->pagesize)
^~
vim +262 include/linux/hugetlb.h
255
256 /*
257 * Return the size of the pages allocated when backing a VMA. In the majority
258 * cases this will be same size as used by the page table entries.
259 */
260 static inline unsigned long vma_kernel_pagesize(struct vm_area_struct *vma)
261 {
> 262 if (vma->vm_ops && vma->vm_ops->pagesize)
263 return vma->vm_ops->pagesize(vma);
264 return PAGE_SIZE;
265 }
266
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 64645 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-10 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-10 16:36 [mmotm:master 97/161] include/linux/hugetlb.h:262:32: error: dereferencing pointer to incomplete type 'const struct vm_operations_struct' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox