lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210520072934.ubkprak3li6nyrjf@steredhat>
Date:   Thu, 20 May 2021 09:29:34 +0200
From:   Stefano Garzarella <sgarzare@...hat.com>
To:     Yang Yingliang <yangyingliang@...wei.com>
Cc:     linux-kernel@...r.kernel.org,
        virtualization@...ts.linux-foundation.org, jasowang@...hat.com,
        mst@...hat.com
Subject: Re: [PATCH -next] virtio_ring: Correct function name
 virtqueue_get_buf_ctx()

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@...wei.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@...hat.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ