[mmotm:master 97/161] include/linux/hugetlb.h:262:32: error: dereferencing pointer to incomplete type 'const struct vm_operations_struct'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux