* [PATCH] vhost: Fix documentation
@ 2020-06-30 5:29 Eli Cohen
2020-06-30 5:33 ` Jason Wang
0 siblings, 1 reply; 2+ messages in thread
From: Eli Cohen @ 2020-06-30 5:29 UTC (permalink / raw)
To: Jason Wang, linux-kernel, netdev, Michael S. Tsirkin
Fix documentation to match actual function prototypes
"end" used instead of "last". Fix that.
Signed-off-by: Eli Cohen <eli@mellanox.com>
---
drivers/vhost/iotlb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/vhost/iotlb.c b/drivers/vhost/iotlb.c
index 1f0ca6e44410..0d4213a54a88 100644
--- a/drivers/vhost/iotlb.c
+++ b/drivers/vhost/iotlb.c
@@ -149,7 +149,7 @@ EXPORT_SYMBOL_GPL(vhost_iotlb_free);
* vhost_iotlb_itree_first - return the first overlapped range
* @iotlb: the IOTLB
* @start: start of IOVA range
- * @end: end of IOVA range
+ * @last: last byte in IOVA range
*/
struct vhost_iotlb_map *
vhost_iotlb_itree_first(struct vhost_iotlb *iotlb, u64 start, u64 last)
@@ -162,7 +162,7 @@ EXPORT_SYMBOL_GPL(vhost_iotlb_itree_first);
* vhost_iotlb_itree_first - return the next overlapped range
* @iotlb: the IOTLB
* @start: start of IOVA range
- * @end: end of IOVA range
+ * @last: last byte IOVA range
*/
struct vhost_iotlb_map *
vhost_iotlb_itree_next(struct vhost_iotlb_map *map, u64 start, u64 last)
--
2.26.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] vhost: Fix documentation
2020-06-30 5:29 [PATCH] vhost: Fix documentation Eli Cohen
@ 2020-06-30 5:33 ` Jason Wang
0 siblings, 0 replies; 2+ messages in thread
From: Jason Wang @ 2020-06-30 5:33 UTC (permalink / raw)
To: Eli Cohen, linux-kernel, netdev, Michael S. Tsirkin
On 2020/6/30 下午1:29, Eli Cohen wrote:
> Fix documentation to match actual function prototypes
>
> "end" used instead of "last". Fix that.
>
> Signed-off-by: Eli Cohen <eli@mellanox.com>
> ---
Acked-by: Jason Wang <jasowang@redhat.com>
Thanks
> drivers/vhost/iotlb.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/vhost/iotlb.c b/drivers/vhost/iotlb.c
> index 1f0ca6e44410..0d4213a54a88 100644
> --- a/drivers/vhost/iotlb.c
> +++ b/drivers/vhost/iotlb.c
> @@ -149,7 +149,7 @@ EXPORT_SYMBOL_GPL(vhost_iotlb_free);
> * vhost_iotlb_itree_first - return the first overlapped range
> * @iotlb: the IOTLB
> * @start: start of IOVA range
> - * @end: end of IOVA range
> + * @last: last byte in IOVA range
> */
> struct vhost_iotlb_map *
> vhost_iotlb_itree_first(struct vhost_iotlb *iotlb, u64 start, u64 last)
> @@ -162,7 +162,7 @@ EXPORT_SYMBOL_GPL(vhost_iotlb_itree_first);
> * vhost_iotlb_itree_first - return the next overlapped range
> * @iotlb: the IOTLB
> * @start: start of IOVA range
> - * @end: end of IOVA range
> + * @last: last byte IOVA range
> */
> struct vhost_iotlb_map *
> vhost_iotlb_itree_next(struct vhost_iotlb_map *map, u64 start, u64 last)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-30 5:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-30 5:29 [PATCH] vhost: Fix documentation Eli Cohen
2020-06-30 5:33 ` Jason Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).