Stefano Garzarella
2021-May-04 13:54 UTC
[PATCH] vhost-iotlb: fix vhost_iotlb_del_range() documentation
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 at redhat.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 -- 2.30.2
Jason Wang
2021-May-06 03:17 UTC
[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 at redhat.com> > ---Acked-by: Jason Wang <jasowang at redhat.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