Commit eef74c6a authored by jiangdongxu's avatar jiangdongxu Committed by Jiang Dongxu
Browse files

vhost-vdpa: fix compile warnings

virt inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I86ITO



----------------------------------------------------------------------

fix compile warnings

Signed-off-by: default avatarjiangdongxu1 <jiangdongxu1@huawei.com>
parent 9d014d08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1390,7 +1390,7 @@ static int vhost_vdpa_alloc_domain(struct vhost_vdpa *v)
	struct vdpa_device *vdpa = v->vdpa;
	const struct vdpa_config_ops *ops = vdpa->config;
	struct device *dma_dev = vdpa_get_dma_dev(vdpa);
	const struct bus_type *bus;
	struct bus_type *bus;
	int ret;

	/* Device want to do DMA by itself */