From patchwork Tue Jun 28 19:12:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 641739 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 3rfGbq4VHRz9sdb for ; Wed, 29 Jun 2016 05:49:43 +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=kPhL+AcH; dkim-atps=neutral Received: from localhost ([::1]:39233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHz0v-0001uN-L2 for incoming@patchwork.ozlabs.org; Tue, 28 Jun 2016 15:49:41 -0400 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) 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=LtoqIjCK2qLNJHkdG2iKu+K8jW2ORzTaIzQMOaEFrpQ=; b=kPhL+AcHg7VE/+PgcmZSBN0pIlJfK79RLqfABPFZK8Qx0BwKxSNavEEZlg921XJduC NPImqG1vK9VepUS+J0Q+2XFk/4g9l80ZzNeZSos02nv9012UtphAByFxkLItohQDxWsH wp+eydOOLlXakbOkMmCiBSH7USLB4YhRIuMUQ= 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=LtoqIjCK2qLNJHkdG2iKu+K8jW2ORzTaIzQMOaEFrpQ=; b=OxsVHSO6DrKfq4tjXaxHBvPjWOuO3x9t4mbm1j9TxAeaQZrNZTAeVptrPn/oMkRSDU t6TKa2anBVuORvykBMzQSjhD/EsyOQ353qJlk9G1K61/s+eCQx5kAk/Pj6frqvLbnguT 4Zh4cxl+gf5kOsenajuR+T4ITD62+KVV/DN0LLVZst5tU1mkc9Vj6wwhQhcM7ri1N/+N AGvwakzbDthkgoNt76ijiHYqnr3/KJaSwFR8zLjWCRxLa3ePK9DgofzOV3U6Z2visdb5 xc2BcFz/31h2sSbSGvZ1nnVX6YKFcFA8T97gxTFmocI2OyBqXaXelU2ufKYcVWMvUmnK /qcg== X-Gm-Message-State: ALyK8tIFEtf5jAspZrCvp4Yz4bIWamjny25bJn/L9QuG0WX3jS32JEugPJo8zBgYUiblpDmj X-Received: by 10.25.42.18 with SMTP id q18mr1879288lfq.102.1467141202416; Tue, 28 Jun 2016 12:13:22 -0700 (PDT) Received: from beaming.home (91-157-170-157.elisa-laajakaista.fi. [91.157.170.157]) by smtp.gmail.com with ESMTPSA id h10sm4262823ljh.38.2016.06.28.12.13.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jun 2016 12:13:21 -0700 (PDT) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Tue, 28 Jun 2016 22:12:50 +0300 Message-Id: <84f34b00c8cccfcefbadc45f68036dea957d2153.1467138806.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::236 Subject: [Qemu-devel] [PULL v2 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 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);