From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHyRp-00029E-Hl for qemu-devel@nongnu.org; Tue, 28 Jun 2016 15:13:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHyRn-0006x1-AF for qemu-devel@nongnu.org; Tue, 28 Jun 2016 15:13:24 -0400 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:34581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHyRn-0006wi-23 for qemu-devel@nongnu.org; Tue, 28 Jun 2016 15:13:23 -0400 Received: by mail-lf0-x236.google.com with SMTP id h129so18189272lfh.1 for ; Tue, 28 Jun 2016 12:13:23 -0700 (PDT) From: riku.voipio@linaro.org Date: Tue, 28 Jun 2016 22:12:50 +0300 Message-Id: <84f34b00c8cccfcefbadc45f68036dea957d2153.1467138806.git.riku.voipio@linaro.org> In-Reply-To: References: Subject: [Qemu-devel] [PULL v2 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 b8a0738..33409c0 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