From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCo49-0006ZD-EX for qemu-devel@nongnu.org; Tue, 14 Jun 2016 09:07:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCo45-0006yf-8C for qemu-devel@nongnu.org; Tue, 14 Jun 2016 09:07:36 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:64865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCo44-0006yV-TK for qemu-devel@nongnu.org; Tue, 14 Jun 2016 09:07:33 -0400 From: Laurent Vivier Date: Tue, 14 Jun 2016 15:07:09 +0200 Message-Id: <1465909629-12698-1-git-send-email-laurent@vivier.eu> Subject: [Qemu-devel] [PATCH] linux-user: add missing return in netlink switch statement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Riku Voipio Cc: Peter Maydell , qemu-devel@nongnu.org, Laurent Vivier Reported-by: Peter Maydell Signed-off-by: Laurent Vivier --- 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