Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Eli Cohen and committed by
Michael S. Tsirkin
71c548c2 ba4f184e

+2 -2
+2 -2
drivers/vhost/iotlb.c
··· 149 149 * vhost_iotlb_itree_first - return the first overlapped range 150 150 * @iotlb: the IOTLB 151 151 * @start: start of IOVA range 152 - * @end: end of IOVA range 152 + * @last: last byte in IOVA range 153 153 */ 154 154 struct vhost_iotlb_map * 155 155 vhost_iotlb_itree_first(struct vhost_iotlb *iotlb, u64 start, u64 last) ··· 162 162 * vhost_iotlb_itree_next - return the next overlapped range 163 163 * @map: the starting map node 164 164 * @start: start of IOVA range 165 - * @end: end of IOVA range 165 + * @last: last byte IOVA range 166 166 */ 167 167 struct vhost_iotlb_map * 168 168 vhost_iotlb_itree_next(struct vhost_iotlb_map *map, u64 start, u64 last)