From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGNo6-0000yM-68 for qemu-devel@nongnu.org; Fri, 24 Jun 2016 05:53:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGNo1-0003RV-HL for qemu-devel@nongnu.org; Fri, 24 Jun 2016 05:53:50 -0400 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:32944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGNo1-0003RQ-9g for qemu-devel@nongnu.org; Fri, 24 Jun 2016 05:53:45 -0400 Received: by mail-lf0-x235.google.com with SMTP id f6so112307028lfg.0 for ; Fri, 24 Jun 2016 02:53:45 -0700 (PDT) From: riku.voipio@linaro.org Date: Fri, 24 Jun 2016 12:53:11 +0300 Message-Id: <79b5fdb0708ecb118078182da1d42dd77dca57b1.1466760944.git.riku.voipio@linaro.org> In-Reply-To: References: Subject: [Qemu-devel] [PULL 16/24] linux-user: add missing return in netlink switch statement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Laurent Vivier From: Laurent Vivier Reported-by: Peter Maydell Signed-off-by: Laurent Vivier Signed-off-by: Riku Voipio Reviewed-by: Peter Maydell --- linux-user/syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index b1ed57c..ce9f020 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -1692,6 +1692,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.1.4