[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 03/27] libvhost-user: improve vu_queue_pop() doc
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 03/27] libvhost-user: improve vu_queue_pop() doc |
Date: |
Tue, 19 Sep 2017 15:43:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 23/08/2017 18:19, Marc-André Lureau wrote:
> Signed-off-by: Marc-André Lureau <address@hidden>
> ---
> contrib/libvhost-user/libvhost-user.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/contrib/libvhost-user/libvhost-user.h
> b/contrib/libvhost-user/libvhost-user.h
> index 53ef222c0b..9b9b00e191 100644
> --- a/contrib/libvhost-user/libvhost-user.h
> +++ b/contrib/libvhost-user/libvhost-user.h
> @@ -351,7 +351,8 @@ void vu_queue_notify(VuDev *dev, VuVirtq *vq);
> * @vq: a VuVirtq queue
> * @sz: the size of struct to return (must be >= VuVirtqElement)
> *
> - * Returns: a VuVirtqElement filled from the queue or NULL.
> + * Returns: a VuVirtqElement filled from the queue or NULL. The
> + * returned element must be free() by the caller.
Maybe free()-d or freed.
Otherwise
Reviewed-by: Paolo Bonzini <address@hidden>
> */
> void *vu_queue_pop(VuDev *dev, VuVirtq *vq, size_t sz);
>
>
- Re: [Qemu-devel] [PATCH 03/27] libvhost-user: improve vu_queue_pop() doc,
Paolo Bonzini <=