From: kbuild test robot <fengguang.wu@intel.com>
To: Dan Williams <dan.j.williams@intel.com>
Cc: kbuild-all@01.org, Johannes Weiner <hannes@cmpxchg.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [mmotm:master 97/161] include/linux/hugetlb.h:262:32: error: dereferencing pointer to incomplete type 'const struct vm_operations_struct'
Date: Mon, 11 Dec 2017 00:36:04 +0800 [thread overview]
Message-ID: <201712110047.yhpRS7kf%fengguang.wu@intel.com> (raw)
[-- 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 --]
reply other threads:[~2017-12-10 16:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201712110047.yhpRS7kf%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=akpm@linux-foundation.org \
--cc=dan.j.williams@intel.com \
--cc=hannes@cmpxchg.org \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox