virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Jason Wang <jasowang@redhat.com>
To: Stefano Garzarella <sgarzare@redhat.com>, mst@redhat.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	kvm@vger.kernel.org, virtualization@lists.linux-foundation.org
Subject: Re: [PATCH] vringh: fix vringh_iov_push_*() documentation
Date: Tue, 17 Nov 2020 10:29:56 +0800	[thread overview]
Message-ID: <3aa02874-1c7f-d516-b80b-c79b33c0b1fd@redhat.com> (raw)
In-Reply-To: <20201116161653.102904-1-sgarzare@redhat.com>


On 2020/11/17 上午12:16, Stefano Garzarella wrote:
> 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>


Acked-by: Jason Wang <jasowang@redhat.com>


> ---
>   drivers/vhost/vringh.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/vhost/vringh.c b/drivers/vhost/vringh.c
> index 8bd8b403f087..b7403ba8e7f7 100644
> --- a/drivers/vhost/vringh.c
> +++ b/drivers/vhost/vringh.c
> @@ -730,7 +730,7 @@ EXPORT_SYMBOL(vringh_iov_pull_user);
>   /**
>    * vringh_iov_push_user - copy bytes into vring_iov.
>    * @wiov: the wiov as passed to vringh_getdesc_user() (updated as we consume)
> - * @dst: the place to copy.
> + * @src: the place to copy from.
>    * @len: the maximum length to copy.
>    *
>    * Returns the bytes copied <= len or a negative errno.
> @@ -976,7 +976,7 @@ EXPORT_SYMBOL(vringh_iov_pull_kern);
>   /**
>    * vringh_iov_push_kern - copy bytes into vring_iov.
>    * @wiov: the wiov as passed to vringh_getdesc_kern() (updated as we consume)
> - * @dst: the place to copy.
> + * @src: the place to copy from.
>    * @len: the maximum length to copy.
>    *
>    * Returns the bytes copied <= len or a negative errno.
> @@ -1333,7 +1333,7 @@ EXPORT_SYMBOL(vringh_iov_pull_iotlb);
>    * vringh_iov_push_iotlb - copy bytes into vring_iov.
>    * @vrh: the vring.
>    * @wiov: the wiov as passed to vringh_getdesc_iotlb() (updated as we consume)
> - * @dst: the place to copy.
> + * @src: the place to copy from.
>    * @len: the maximum length to copy.
>    *
>    * Returns the bytes copied <= len or a negative errno.

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

      reply	other threads:[~2020-11-17  2:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 16:16 [PATCH] vringh: fix vringh_iov_push_*() documentation Stefano Garzarella
2020-11-17  2:29 ` Jason Wang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3aa02874-1c7f-d516-b80b-c79b33c0b1fd@redhat.com \
    --to=jasowang@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=sgarzare@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).