summaryrefslogtreecommitdiff
path: root/drivers/vhost/iotlb.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-09-29 10:33:06 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-09-29 10:33:06 -0700
commit1ccfa66d94cf65d3e89eeb95676a03e8f90edd99 (patch)
treebeacd1b3959b6089481f75b387012626b0d5e267 /drivers/vhost/iotlb.c
parentfb0155a09b0224a7147cb07a4ce6034c8d29667f (diff)
parenta127c5bbb6a8eee851cbdec254424c480b8edd75 (diff)
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio fixes from Michael Tsirkin: "A couple of last minute fixes" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: vhost-vdpa: fix backend feature ioctls vhost: Fix documentation
Diffstat (limited to 'drivers/vhost/iotlb.c')
-rw-r--r--drivers/vhost/iotlb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/vhost/iotlb.c b/drivers/vhost/iotlb.c
index 34aec4ba331e..0fd3f87e913c 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_next - return the next overlapped range
* @map: the starting map node
* @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)