[libvirt] [PATCH] util: netlink: fix the mismatch parameter description of functions
John Ferlan
jferlan at redhat.com
Fri Feb 9 20:49:33 UTC 2018
On 02/06/2018 06:38 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao at gmail.com>
>
> Some of netlink functions don't have the right
> @parameters description according to the declaration of function.
>
> This patch fix them.
>
> Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
> ---
> src/util/virnetlink.c | 35 ++++++++++++++++++-----------------
> 1 file changed, 18 insertions(+), 17 deletions(-)
>
> diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c
> index d732fe8cf..6a6508fa4 100644
> --- a/src/util/virnetlink.c
> +++ b/src/util/virnetlink.c
> @@ -278,14 +278,14 @@ virNetlinkSendRequest(struct nl_msg *nl_msg, uint32_t src_pid,
>
> /**
> * virNetlinkCommand:
> - * @nlmsg: pointer to netlink message
> - * @respbuf: pointer to pointer where response buffer will be allocated
> + * @nl_msg: pointer to netlink message
^
Off by 1 here
The others were OK... Fixed an adjusted commit message and pushed.
John
More information about the libvir-list
mailing list