? 2021/5/24 ??8:04, Shaokun Zhang ??:> Function 'vhost_vring_ioctl' is declared twice, remove the repeated
> declaration.
>
> Cc: "Michael S. Tsirkin" <mst at redhat.com>
> Cc: Jason Wang <jasowang at redhat.com>
> Signed-off-by: Shaokun Zhang <zhangshaokun at hisilicon.com>
> ---
> drivers/vhost/vhost.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
> index b063324c7669..374f4795cb5a 100644
> --- a/drivers/vhost/vhost.h
> +++ b/drivers/vhost/vhost.h
> @@ -47,7 +47,6 @@ void vhost_poll_stop(struct vhost_poll *poll);
> void vhost_poll_flush(struct vhost_poll *poll);
> void vhost_poll_queue(struct vhost_poll *poll);
> void vhost_work_flush(struct vhost_dev *dev, struct vhost_work *work);
> -long vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void
__user *argp);
>
> struct vhost_log {
> u64 addr;
Acked-by: Jason Wang <jasowang at redhat.com>