All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vhost-iotlb: fix vhost_iotlb_del_range() documentation
@ 2021-05-04 13:54 ` Stefano Garzarella
  0 siblings, 0 replies; 4+ messages in thread
From: Stefano Garzarella @ 2021-05-04 13:54 UTC (permalink / raw)
  To: virtualization; +Cc: netdev, Jason Wang, Michael S. Tsirkin, linux-kernel, kvm

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@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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] vhost-iotlb: fix vhost_iotlb_del_range() documentation
@ 2021-05-04 13:54 ` Stefano Garzarella
  0 siblings, 0 replies; 4+ messages in thread
From: Stefano Garzarella @ 2021-05-04 13:54 UTC (permalink / raw)
  To: virtualization; +Cc: netdev, linux-kernel, kvm, Michael S. Tsirkin

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@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

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] vhost-iotlb: fix vhost_iotlb_del_range() documentation
  2021-05-04 13:54 ` Stefano Garzarella
@ 2021-05-06  3:17   ` Jason Wang
  -1 siblings, 0 replies; 4+ messages in thread
From: Jason Wang @ 2021-05-06  3:17 UTC (permalink / raw)
  To: Stefano Garzarella, virtualization
  Cc: netdev, Michael S. Tsirkin, linux-kernel, kvm


在 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@redhat.com>
> ---


Acked-by: Jason Wang <jasowang@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] vhost-iotlb: fix vhost_iotlb_del_range() documentation
@ 2021-05-06  3:17   ` Jason Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Wang @ 2021-05-06  3:17 UTC (permalink / raw)
  To: Stefano Garzarella, virtualization
  Cc: netdev, linux-kernel, kvm, Michael S. Tsirkin


在 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@redhat.com>
> ---


Acked-by: Jason Wang <jasowang@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

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-06  3:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 13:54 [PATCH] vhost-iotlb: fix vhost_iotlb_del_range() documentation Stefano Garzarella
2021-05-04 13:54 ` Stefano Garzarella
2021-05-06  3:17 ` Jason Wang
2021-05-06  3:17   ` Jason Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.