Skip to content

Commit

Permalink
vhost-iotlb: fix vhost_iotlb_del_range() documentation
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Jason Wang <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
  • Loading branch information
stefano-garzarella authored and mstsirkin committed Jul 3, 2021
1 parent 4f11847 commit 8693059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/vhost/iotlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8693059

Please sign in to comment.