kbuild test robot
2019-Jun-05  23:44 UTC
[vhost:linux-next 12/19] drivers/vhost/vhost.h:196:22: error: field 'mmu_notifier' has incomplete type
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
head:   aa5dc31069763f9b1afcfcf2583de258af44d72c
commit: eb43203ceabbab75b07a526b59b34bc170e0dc2c [12/19] vhost: access vq
metadata through kernel virtual address
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 7.4.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 eb43203ceabbab75b07a526b59b34bc170e0dc2c
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=mips 
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
   In file included from drivers/vhost/net.c:37:0:>> drivers/vhost/vhost.h:196:22: error: field 'mmu_notifier' has
incomplete type
     struct mmu_notifier mmu_notifier;
                         ^~~~~~~~~~~~
vim +/mmu_notifier +196 drivers/vhost/vhost.h
   193	
   194	struct vhost_dev {
   195		struct mm_struct *mm;
 > 196		struct mmu_notifier mmu_notifier;
   197		struct mutex mutex;
   198		struct vhost_virtqueue **vqs;
   199		int nvqs;
   200		struct eventfd_ctx *log_ctx;
   201		struct llist_head work_list;
   202		struct task_struct *worker;
   203		struct vhost_umem *umem;
   204		struct vhost_umem *iotlb;
   205		spinlock_t iotlb_lock;
   206		struct list_head read_list;
   207		struct list_head pending_list;
   208		wait_queue_head_t wait;
   209		int iov_limit;
   210		int weight;
   211		int byte_weight;
   212	};
   213	
---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 61147 bytes
Desc: not available
URL:
<http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20190606/d87818c3/attachment-0001.bin>
Maybe Matching Threads
- [PATCH 2/6] vhost: validate MMU notifier registration
- [PATCH 2/6] vhost: validate MMU notifier registration
- [PATCH 3/3] vhost: device IOTLB API
- [PATCH] vhost: Move vhost.h to allow vhost driver out-of-tree compilation
- [PATCH 2/2] vhost: re-introducing metadata acceleration through kernel virtual address
