[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <93e4cb04-105e-e853-e2b6-d95435ca55f2@redhat.com>
Date: Thu, 6 May 2021 11:17:27 +0800
From: Jason Wang <jasowang@...hat.com>
To: Stefano Garzarella <sgarzare@...hat.com>,
virtualization@...ts.linux-foundation.org
Cc: netdev@...r.kernel.org, "Michael S. Tsirkin" <mst@...hat.com>,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Subject: Re: [PATCH] vhost-iotlb: fix vhost_iotlb_del_range() documentation
在 2021/5/4 下午9:54, Stefano Garzarella 写道:
> Trivial change for the vhost_iotlb_del_range() documentation,
> fixing the function name in the comment block.
>
> Discovered with `make C=2 M=drivers/vhost`:
> ../drivers/vhost/iotlb.c:92: warning: expecting prototype for vring_iotlb_del_range(). Prototype was for vhost_iotlb_del_range() instead
>
> Signed-off-by: Stefano Garzarella <sgarzare@...hat.com>
> ---
Acked-by: Jason Wang <jasowang@...hat.com>
> drivers/vhost/iotlb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/vhost/iotlb.c b/drivers/vhost/iotlb.c
> index 0fd3f87e913c..0582079e4bcc 100644
> --- a/drivers/vhost/iotlb.c
> +++ b/drivers/vhost/iotlb.c
> @@ -83,7 +83,7 @@ int vhost_iotlb_add_range(struct vhost_iotlb *iotlb,
> EXPORT_SYMBOL_GPL(vhost_iotlb_add_range);
>
> /**
> - * vring_iotlb_del_range - delete overlapped ranges from vhost IOTLB
> + * vhost_iotlb_del_range - delete overlapped ranges from vhost IOTLB
> * @iotlb: the IOTLB
> * @start: start of the IOVA range
> * @last: last of IOVA range
Powered by blists - more mailing lists