From patchwork Thu Sep 12 16:11:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 13802329 Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02BD1148300 for ; Thu, 12 Sep 2024 16:12:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726157534; cv=none; b=j5GmgGKdFJdGyzh8ZANqJn0asV+CpADCWHuCjLFkX0O8fG3Tk4y2hqJ5rdA+vjjBb/8fVAnu8/az7CwCp+p5y5vVS5rppHLS7Ihu0bE+AERzYKmW6kTqFbiJW+H/l/Sn333my54JYcvPRY6HmalBtpq8sGg4b8+wJUxx414FwSg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726157534; c=relaxed/simple; bh=7ePZGISZjz4seQJioMzifLb68u9zgTlI1DyF+ig+7UY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=AxiUAMkrjPkJ6SjvyfWpoZM8VajQFLv4+LIAd0ULQ0bQaxf2o5PRSrt8wLc80Ini8VG1dP1UcQdTwLn2xOjve0UtSiPH15VY8BRJxjtO4cnlBmyVXOd6DXaWKNKcd62I+1u3MgQFPEzRnUdw8YCicx/QNWstnP+SdjipQLUGFjY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xE32lnYH; arc=none smtp.client-ip=209.85.215.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xE32lnYH" Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-7db299608e7so475336a12.1 for ; Thu, 12 Sep 2024 09:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726157532; x=1726762332; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I2RDX2fjFJQRiytlapcKfuKzsswRML3AeBvlkH5UKQw=; b=xE32lnYH6r7HTQ9dl6EpjeaO6RT9S8QzrcbKjdvS7s+OeJAmKQiIReXsUm+P/e/Og2 5MT027i2ubayceKnwdKiywD1FYl99dhCLJGlOIsAgXAzJXsLccOL90Sfg+gnYY7NOxg7 BjjbsS/gZnpSqj74sFSd1DsmGgidTYcDRzACjYCMEYbtyjmCoXV4dIxzyiiatEQKNgWW 7x1kyC2LbKJKgVR4ZaP9GX5iph+xvKTc39xm4sCfokianNMSxFXEHeC/0Q5GyO4KqgIE ljXn5E1z6i6Ytvmg1Aa4EksMiYcpRXQIejVRGjjphBU5lIjc+RmKjZgwBHEtKuglwffX g+xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726157532; x=1726762332; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I2RDX2fjFJQRiytlapcKfuKzsswRML3AeBvlkH5UKQw=; b=TdiIGgysq53Fk0ZGmH0JJafKTnGEUu60pYCTI9H4TIRHW8zwHg6x9Q9zuU98eyycgl 82BbNohCgm9kF1QtndqZfv0cmR86C7d4FNLwYI6Z0Mql+pLGxDdmA7dymJ77OQD4/SgR BySNAJB6GbuM/EPL0I0Mot6K2c1HHiIroYx5JhWVK22hVLWGk+NqXnWfjlXoAbw7rhdf FjddkFXTjfAwalP2uQPK0tTTW29hbRmwtGMDt58PAV5WLSG9GZSIo91N4su5Woebis9Q UbXTaN95+cYh0l5XPKIowignSH69AnvbBq9biB4XiQosLPlkuz5bIfcUsDQUd2KYIGP+ rZig== X-Forwarded-Encrypted: i=1; AJvYcCVJZTUsm6MWb02qu6Ec1o+EuJJMFfs0DhR4VfC8/xBaQLsvHYrMsY6k4d1cOrkAZW8qQ4k=@vger.kernel.org X-Gm-Message-State: AOJu0YxOJ4EyHcY/dwrzEumkEgJp+qTt5sOql+xYK2JWjCvfGKu6OkSX BRyhmhgLU0ubMOqyuAS6FXmbEMSfHl8ZKrcVFSPqTjYAfMge9gLs2NHEPMQNsgM= X-Google-Smtp-Source: AGHT+IGK4aCZmCNuEDtLotPImMG0hqQX92keeNScArTDh0uI/me/xdlfLavv9yxHnNep1l1nzhsFEw== X-Received: by 2002:a17:903:2285:b0:205:2a59:a28c with SMTP id d9443c01a7336-2076e3155demr54911595ad.1.1726157532316; Thu, 12 Sep 2024 09:12:12 -0700 (PDT) Received: from linaro.vn.shawcable.net ([2604:3d08:9384:1d00::9633]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2db0419aab4sm10868139a91.15.2024.09.12.09.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Sep 2024 09:12:11 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Nicholas Piggin , Igor Mammedov , Akihiko Odaki , Weiwei Li , "Maciej S. Szmigiero" , qemu-s390x@nongnu.org, Michael Rolnik , Liu Zhiwei , =?utf-8?q?Daniel_P=2E_Berrang?= =?utf-8?q?=C3=A9?= , Palmer Dabbelt , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Nina Schoetterl-Glausch , Yanan Wang , Marcel Apfelbaum , Dmitry Fleytman , Stefan Berger , Halil Pasic , Paolo Bonzini , Laurent Vivier , Daniel Henrique Barboza , =?utf-8?q?Marc-Andr=C3=A9_?= =?utf-8?q?Lureau?= , kvm@vger.kernel.org, Joel Stanley , qemu-riscv@nongnu.org, Aurelien Jarno , Fabiano Rosas , Eduardo Habkost , Harsh Prateek Bora , Peter Xu , Hyman Huang , Rob Herring , Peter Maydell , Kevin Wolf , Marcelo Tosatti , Eric Farman , Helge Deller , Jesper Devantier , Daniel Henrique Barboza , Fam Zheng , Klaus Jensen , Keith Busch , Zhao Liu , qemu-ppc@nongnu.org, Jean-Christophe Dubois , Christian Borntraeger , David Gibson , WANG Xuerui , Laurent Vivier , Richard Henderson , Markus Armbruster , Sriram Yagnaraman , Bin Meng , Ani Sinha , qemu-block@nongnu.org, qemu-arm@nongnu.org, Thomas Huth , Jason Wang , "Richard W.M. Jones" , "Michael S. Tsirkin" , Hanna Reitz , Corey Minyard , Alistair Francis , Pierrick Bouvier Subject: [PATCH v2 47/48] tests/qtest: remove return after g_assert_not_reached() Date: Thu, 12 Sep 2024 09:11:49 -0700 Message-Id: <20240912161150.483515-4-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240912161150.483515-1-pierrick.bouvier@linaro.org> References: <20240912161150.483515-1-pierrick.bouvier@linaro.org> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This patch is part of a series that moves towards a consistent use of g_assert_not_reached() rather than an ad hoc mix of different assertion mechanisms. Signed-off-by: Pierrick Bouvier --- tests/qtest/acpi-utils.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/qtest/acpi-utils.c b/tests/qtest/acpi-utils.c index 673fc975862..9dc24fbe5a0 100644 --- a/tests/qtest/acpi-utils.c +++ b/tests/qtest/acpi-utils.c @@ -156,5 +156,4 @@ uint64_t acpi_find_rsdp_address_uefi(QTestState *qts, uint64_t start, g_usleep(TEST_DELAY); } g_assert_not_reached(); - return 0; }