[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user: add missing return in netlink switc
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] linux-user: add missing return in netlink switch statement |
Date: |
Tue, 14 Jun 2016 14:14:34 +0100 |
On 14 June 2016 at 14:07, Laurent Vivier <address@hidden> wrote:
> Reported-by: Peter Maydell <address@hidden>
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
> linux-user/syscall.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 71ccbd9..0b937ca 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -1688,6 +1688,7 @@ static abi_long target_to_host_for_each_nlmsg(struct
> nlmsghdr *nlh,
> struct nlmsgerr *e = NLMSG_DATA(nlh);
> e->error = tswap32(e->error);
> tswap_nlmsghdr(&e->msg);
> + return 0;
> }
> default:
> ret = target_to_host_nlmsg(nlh);
> --
> 2.5.5
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM