From patchwork Tue May 18 09:07:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 441190 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp52751jac; Tue, 18 May 2021 02:37:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGPjKcdpyMa4It0CnJXZZncMcbtn5Tsj+JQz/omKz1pA/Eheh2hjNI6mnTcGgpDRQ1dFWU X-Received: by 2002:a6b:8d46:: with SMTP id p67mr3580756iod.204.1621330625508; Tue, 18 May 2021 02:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621330625; cv=none; d=google.com; s=arc-20160816; b=NyaZYPQyqVmurckeJ3VcSIbiYcr8vN8iz4WegV0S9KA80pTvH15osPZOsFAHMh7AVu LPm++Jbyhg6qWbPxvO/dSfVkOFeeTDpxtSw5qgrtcZ9lF2dlgHwDmE2D1AXObWXmLy2P c4J78hGkP4oONlGHem037FIkYDgyFPadlIPXxj85REibtiWA56pkcR5eXwdNPHTghgg6 up5BPP+9bCGGGUhH/0RUu/J4rzKrORb0zZJnrGxaCJ8Z45ujC2fr1+idwJYg+r8mC6u4 XuZpR2slCr1zUCs7cgsFtXO53jgYFgneWqD13MajBzFb6qXgL89kW0e7noNZdLlT5HhE iAlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=D5Inb5L/9oK+/2nTuHYzlDm1Dd5BgSxGl3J/R/np3c0=; b=z0wm/MYciIohJGA3QvOgVJ80DfZeGVD3DqB9kxXpxVDqWl8I8zy8qZ/yEzsxe4tThZ aF7NNlFBH2aMep1JUhKF3rE9ofVw5XYluixs1pc3FPYIIY3Vi6GRJ7RvOriMdf7k1IPA TesK4Z3kHaA8znbaqQZsnB2LjReGrylTmL5VXTdD+AaYZPfPHCkYb1F5AUeF91oltcPD umB8XtcNhs5azDinxPHFe4YHojvqNRSC1RQ5rlg+PegaFmI5bPFmzA9zgdgzeK7PtIzA bol9oNFaWeyuktsyq+iz6wKqyU4LqEfSPa0aytcDUBG16EBYKOfKATj5YLaWtIBylLus 2SRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=yThcQAjH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n4si19267025ion.59.2021.05.18.02.37.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 May 2021 02:37:05 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=yThcQAjH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liw9w-0001si-V1 for patch@linaro.org; Tue, 18 May 2021 05:37:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1livpE-00058N-2G for qemu-devel@nongnu.org; Tue, 18 May 2021 05:15:40 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:42716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1livp2-00014H-AT for qemu-devel@nongnu.org; Tue, 18 May 2021 05:15:39 -0400 Received: by mail-wm1-x32c.google.com with SMTP id f75-20020a1c1f4e0000b0290171001e7329so1053865wmf.1 for ; Tue, 18 May 2021 02:15:26 -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 :mime-version:content-transfer-encoding; bh=D5Inb5L/9oK+/2nTuHYzlDm1Dd5BgSxGl3J/R/np3c0=; b=yThcQAjHPXzskrS/7h8G3qn4/jTFlwwzQAMB9Tw3YFMSZxXIGowYlCEUxe9W/NZxww IdHfkM3WeJUcnxbEgbQ1qeFC8XJPyxAsHmpJy6lrTV/ITL4BLXbQ0iWZIc5DiQuXIGU/ Wy3eTnUS6SnDW+EcJguq98/he2fAqlChypLQSaAzZ44qRRTfPDAgre+LNdUIWaawxdEm 5cfqo1pl4zIvEhIdDs1RP27c7HwTunJZRVCo0iWVfDprozAYBZcFHZmVOxJ1Ew9NvNSA N6A1EedvcOjiyzwbfneuk7o28HWhDi+l/5QuHJSTGIiFdKQIIPCLEiMl5dzYAy5gbzJm Balg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=D5Inb5L/9oK+/2nTuHYzlDm1Dd5BgSxGl3J/R/np3c0=; b=jy+krfAWMFXl5T8ElpubKa1jx/1y6oh09k8I+axrbJVCgfzg4xyuJSryNNypJFDJFu WXapOQsctiYUrImV4H8cnIVlMaVQErT72Q+I1UBdAVbFW02M4o6FBIS+QGf0rVLYCZdv z4w8cGW54DeI6ak3EcTIOrvrP/mrmgrbS1d+WXl8mqpSrvj1FhUOE5ZItI1ExrknmZ6j Ihhh+E2Sz03+xfehP7fy8d19iwaqekWGCIeZz/ACZra5sVNhMCztOj3mrzpeAHTH39iG Lz+YXmBsqKARJey3wGv7BeRiMuxsiGxaFiSsCP2euW+93QN6Uro4pGv2se/vLfUZ/R46 pG8g== X-Gm-Message-State: AOAM532rP8MY3Tv3FKO63iOaI1woyWsLUyOzCIPegATUX26hZEAJiH7+ eUXos324EGm7+cY7n/8Nu1t6UA== X-Received: by 2002:a1c:638b:: with SMTP id x133mr3854378wmb.182.1621329325818; Tue, 18 May 2021 02:15:25 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a16sm8843047wrw.62.2021.05.18.02.15.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 02:15:18 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 84B761FFB3; Tue, 18 May 2021 10:07:23 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL v2 27/29] tests/tcg: fix missing return Date: Tue, 18 May 2021 10:07:18 +0100 Message-Id: <20210518090720.21915-28-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210518090720.21915-1-alex.bennee@linaro.org> References: <20210518090720.21915-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This was picked up when clang built the test. Signed-off-by: Alex Bennée Message-Id: <20210512102051.12134-30-alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé -- 2.20.1 diff --git a/tests/tcg/multiarch/system/memory.c b/tests/tcg/multiarch/system/memory.c index eb0ec6f8eb..41c7f66e2e 100644 --- a/tests/tcg/multiarch/system/memory.c +++ b/tests/tcg/multiarch/system/memory.c @@ -326,6 +326,7 @@ static bool do_unsigned_test(init_ufn fn) fn(i); ok = do_unsigned_reads(i); } + return ok; #else fn(0); return do_unsigned_reads(0);