search for: a0b7c91948e1

Displaying 1 result from an estimated 1 matches for "a0b7c91948e1".

2020 Aug 05
0
[PATCH V4 linux-next 08/12] vdpa: Modify get_vq_state() to return error code
...; > struct vringh *vrh = &vq->vring; > > state->avail_index = vrh->last_avail_idx; > + return 0; > } > > static u32 vdpasim_get_vq_align(struct vdpa_device *vdpa) > diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c > index c2e1e2d55084..a0b7c91948e1 100644 > --- a/drivers/vhost/vdpa.c > +++ b/drivers/vhost/vdpa.c > @@ -392,7 +392,10 @@ static long vhost_vdpa_vring_ioctl(struct vhost_vdpa *v, unsigned int cmd, > ops->set_vq_ready(vdpa, idx, s.num); > return 0; > case VHOST_GET_VRING_BASE: > - ops->get_vq_s...