lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201906060703.tsa7f2Ts%lkp@intel.com>
Date:   Thu, 6 Jun 2019 07:44:04 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Jason Wang <jasowang@...hat.com>
Cc:     kbuild-all@...org, kvm@...r.kernel.org,
        virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
        "Michael S. Tsirkin" <mst@...hat.com>
Subject: [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@...el.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

Download attachment ".config.gz" of type "application/gzip" (61147 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ