All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Wang <jasowang@redhat.com>
To: Yang Yingliang <yangyingliang@huawei.com>,
	linux-kernel@vger.kernel.org,
	virtualization@lists.linux-foundation.org
Cc: mst@redhat.com
Subject: Re: [PATCH -next] virtio_ring: Correct function name virtqueue_get_buf_ctx()
Date: Tue, 25 May 2021 09:12:56 +0800	[thread overview]
Message-ID: <d5e348da-6101-9ead-f675-387db8c90844@redhat.com> (raw)
In-Reply-To: <20210518050057.614081-1-yangyingliang@huawei.com>


在 2021/5/18 下午1:00, Yang Yingliang 写道:
> Fix the following make W=1 kernel build warning:
>
>    drivers/virtio/virtio_ring.c:1903: warning: expecting prototype for virtqueue_get_buf(). Prototype was for virtqueue_get_buf_ctx() instead
>
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---
>   drivers/virtio/virtio_ring.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
> index 88f0b16b11b8..992cb1cbec93 100644
> --- a/drivers/virtio/virtio_ring.c
> +++ b/drivers/virtio/virtio_ring.c
> @@ -1882,7 +1882,7 @@ bool virtqueue_kick(struct virtqueue *vq)
>   EXPORT_SYMBOL_GPL(virtqueue_kick);
>   
>   /**
> - * virtqueue_get_buf - get the next used buffer
> + * virtqueue_get_buf_ctx - get the next used buffer
>    * @_vq: the struct virtqueue we're talking about.
>    * @len: the length written into the buffer
>    * @ctx: extra context for the token


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



WARNING: multiple messages have this Message-ID (diff)
From: Jason Wang <jasowang@redhat.com>
To: Yang Yingliang <yangyingliang@huawei.com>,
	linux-kernel@vger.kernel.org,
	virtualization@lists.linux-foundation.org
Cc: mst@redhat.com
Subject: Re: [PATCH -next] virtio_ring: Correct function name virtqueue_get_buf_ctx()
Date: Tue, 25 May 2021 09:12:56 +0800	[thread overview]
Message-ID: <d5e348da-6101-9ead-f675-387db8c90844@redhat.com> (raw)
In-Reply-To: <20210518050057.614081-1-yangyingliang@huawei.com>


在 2021/5/18 下午1:00, Yang Yingliang 写道:
> Fix the following make W=1 kernel build warning:
>
>    drivers/virtio/virtio_ring.c:1903: warning: expecting prototype for virtqueue_get_buf(). Prototype was for virtqueue_get_buf_ctx() instead
>
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---
>   drivers/virtio/virtio_ring.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
> index 88f0b16b11b8..992cb1cbec93 100644
> --- a/drivers/virtio/virtio_ring.c
> +++ b/drivers/virtio/virtio_ring.c
> @@ -1882,7 +1882,7 @@ bool virtqueue_kick(struct virtqueue *vq)
>   EXPORT_SYMBOL_GPL(virtqueue_kick);
>   
>   /**
> - * virtqueue_get_buf - get the next used buffer
> + * virtqueue_get_buf_ctx - get the next used buffer
>    * @_vq: the struct virtqueue we're talking about.
>    * @len: the length written into the buffer
>    * @ctx: extra context for the token


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


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

  parent reply	other threads:[~2021-05-25  1:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18  5:00 [PATCH -next] virtio_ring: Correct function name virtqueue_get_buf_ctx() Yang Yingliang
2021-05-20  7:29 ` Stefano Garzarella
2021-05-20  7:29   ` Stefano Garzarella
2021-05-25  1:12 ` Jason Wang [this message]
2021-05-25  1:12   ` Jason Wang

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=d5e348da-6101-9ead-f675-387db8c90844@redhat.com \
    --to=jasowang@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=yangyingliang@huawei.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.