Skip to content

Commit 8009b0f

Browse files
stefano-garzarellamstsirkin
authored andcommitted
vringh: fix vringh_iov_push_*() documentation
vringh_iov_push_*() functions don't have 'dst' parameter, but have the 'src' parameter. Replace 'dst' description with 'src' description. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://lore.kernel.org/r/20201116161653.102904-1-sgarzare@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent b4fffc1 commit 8009b0f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/vhost/vringh.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ EXPORT_SYMBOL(vringh_iov_pull_user);
730730
/**
731731
* vringh_iov_push_user - copy bytes into vring_iov.
732732
* @wiov: the wiov as passed to vringh_getdesc_user() (updated as we consume)
733-
* @dst: the place to copy.
733+
* @src: the place to copy from.
734734
* @len: the maximum length to copy.
735735
*
736736
* Returns the bytes copied <= len or a negative errno.
@@ -976,7 +976,7 @@ EXPORT_SYMBOL(vringh_iov_pull_kern);
976976
/**
977977
* vringh_iov_push_kern - copy bytes into vring_iov.
978978
* @wiov: the wiov as passed to vringh_getdesc_kern() (updated as we consume)
979-
* @dst: the place to copy.
979+
* @src: the place to copy from.
980980
* @len: the maximum length to copy.
981981
*
982982
* Returns the bytes copied <= len or a negative errno.
@@ -1333,7 +1333,7 @@ EXPORT_SYMBOL(vringh_iov_pull_iotlb);
13331333
* vringh_iov_push_iotlb - copy bytes into vring_iov.
13341334
* @vrh: the vring.
13351335
* @wiov: the wiov as passed to vringh_getdesc_iotlb() (updated as we consume)
1336-
* @dst: the place to copy.
1336+
* @src: the place to copy from.
13371337
* @len: the maximum length to copy.
13381338
*
13391339
* Returns the bytes copied <= len or a negative errno.

0 commit comments

Comments
 (0)