From patchwork Fri Jun 24 09:53:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 640129 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rbZ4H07MKz9sBX for ; Fri, 24 Jun 2016 20:16:31 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b=g4KBPRMg; dkim-atps=neutral Received: from localhost ([::1]:42363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGOA0-0002nL-Ur for incoming@patchwork.ozlabs.org; Fri, 24 Jun 2016 06:16:28 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XVEkrikDHqsvXp27whgHoVAKZgQYK1l7pGFT/e7Cc4U=; b=g4KBPRMgFAPu6QB3G92FKiJ5nXGuI02vYgdPLUJByFY9XasHVJ2UD6L9uPNGHG7UD6 we8hYxwF71jOHxYZWyQ8fQk5DyEfxTfQ+qQ485JvuXoicUzq8nZ2P2ftVoD+1y8NkhFZ lVQg90AtR95whRH06xkadJzTI81Hd6/3UFV9o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XVEkrikDHqsvXp27whgHoVAKZgQYK1l7pGFT/e7Cc4U=; b=hCxahDl033IiwxziCP8B5RC0MdX5Jd4V0NVb7h8om+CSxYgbZbF0EYeRDfmFMjVvnV LBpktt0E4iNn3pYaT8E8uqQSVP8Ypv6uneSkLGJLzX9GfKzmsLKt3Ow0dkghIQBqG74r HATqPgAf8rdIQleM/uvUEbTeDFONGGLvfFlaWN+oEmZkLOm8tivsUyYBjpTKe5eq5Z/v aVIh008ePb/R3XT7Gd/WuwgWpqcJ6/q1tJMUsnE5yESqgHSAJ+X0CF2eAGjQg9DxUIvb 3peNIjVrYlXsFSj4+Pt5ygPHgs0RgjuqvNIynXPGfnTdV2ecAZXFWMjftFSK75+wOU37 T/Lg== X-Gm-Message-State: ALyK8tLWSN+BdnI8yyIsiwlgqkYGLMWRTIWA4KAJXZnwr27LbzURACZAYHIvupaPeJg6hTwv X-Received: by 10.25.131.200 with SMTP id f191mr1005587lfd.219.1466762024406; Fri, 24 Jun 2016 02:53:44 -0700 (PDT) Received: from beaming.home (85-76-80-69-nat.elisa-mobile.fi. [85.76.80.69]) by smtp.gmail.com with ESMTPSA id o137sm798203lfe.2.2016.06.24.02.53.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Jun 2016 02:53:43 -0700 (PDT) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Fri, 24 Jun 2016 12:53:11 +0300 Message-Id: <79b5fdb0708ecb118078182da1d42dd77dca57b1.1466760944.git.riku.voipio@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::235 Subject: [Qemu-devel] [PULL 16/24] linux-user: add missing return in netlink switch statement X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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);