Skip to content

Commit 71c548c

Browse files
Eli Cohenmstsirkin
authored andcommitted
vhost: Fix documentation
Fix documentation to match actual function prototypes "end" used instead of "last". Fix that. Signed-off-by: Eli Cohen <eli@mellanox.com> Link: https://lore.kernel.org/r/20200630052925.GA157062@mtl-vdi-166.wap.labs.mlnx Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent ba4f184 commit 71c548c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/vhost/iotlb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ EXPORT_SYMBOL_GPL(vhost_iotlb_free);
149149
* vhost_iotlb_itree_first - return the first overlapped range
150150
* @iotlb: the IOTLB
151151
* @start: start of IOVA range
152-
* @end: end of IOVA range
152+
* @last: last byte in IOVA range
153153
*/
154154
struct vhost_iotlb_map *
155155
vhost_iotlb_itree_first(struct vhost_iotlb *iotlb, u64 start, u64 last)
@@ -162,7 +162,7 @@ EXPORT_SYMBOL_GPL(vhost_iotlb_itree_first);
162162
* vhost_iotlb_itree_next - return the next overlapped range
163163
* @map: the starting map node
164164
* @start: start of IOVA range
165-
* @end: end of IOVA range
165+
* @last: last byte IOVA range
166166
*/
167167
struct vhost_iotlb_map *
168168
vhost_iotlb_itree_next(struct vhost_iotlb_map *map, u64 start, u64 last)

0 commit comments

Comments
 (0)