* [PATCH -next] virtio_ring: Correct function name virtqueue_get_buf_ctx()
@ 2021-05-18 5:00 Yang Yingliang
2021-05-20 7:29 ` Stefano Garzarella
2021-05-25 1:12 ` Jason Wang
0 siblings, 2 replies; 3+ messages in thread
From: Yang Yingliang @ 2021-05-18 5:00 UTC (permalink / raw)
To: linux-kernel, virtualization; +Cc: jasowang, mst
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
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] virtio_ring: Correct function name virtqueue_get_buf_ctx()
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-25 1:12 ` Jason Wang
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Garzarella @ 2021-05-20 7:29 UTC (permalink / raw)
To: Yang Yingliang; +Cc: linux-kernel, virtualization, jasowang, mst
On Tue, May 18, 2021 at 01:00:57PM +0800, Yang Yingliang wrote:
>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
>--
>2.25.1
>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] virtio_ring: Correct function name virtqueue_get_buf_ctx()
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-25 1:12 ` Jason Wang
1 sibling, 0 replies; 3+ messages in thread
From: Jason Wang @ 2021-05-25 1:12 UTC (permalink / raw)
To: Yang Yingliang, linux-kernel, virtualization; +Cc: mst
在 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-25 1:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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-25 1:12 ` Jason Wang
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).