[vhost:linux-next 12/19] drivers/vhost/vhost.h:196:22: error: field 'mmu_notifier' has incomplete type

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

 



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@xxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux