From patchwork Thu Sep 12 07:39:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 13801608 Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) (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 6A5E6191F80 for ; Thu, 12 Sep 2024 07:40:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726126848; cv=none; b=rOYU96DRNVoTJVndDE50h4inZgp9j+8LaQZh+V6kJMYfAiMrBkYGdnXzdrEHKJZImAUwMST0ARcCfbB3GEVMpEuepyeOntVnYpUAo5QRtxhG8mm7q2sKTsWUUE7/ZRfTknZoil6pv85cFT5y3Z4oy/cguy0jdlOCvsAepxKXYJA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726126848; c=relaxed/simple; bh=6IxNtV2pSABUGEVqYotLXDo3F9afyAR4ukMpE2TbNdg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=hy4c9u9T2Rkn1yxBMpTmGqbro5SQIytSYlQ17spSxQEfBsxEbt3BjlST3rVDPB2t9UGd706B+xrwC6fauGYUrs1CLnxM2aLar8FRdPdfS7fJLH8/aHB3ByjKdqPZCJF01AGtCvTArUyVWZzh6sd6dczlDR68sFbLA+udQ/4jtTw= 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=IvhtMO/B; arc=none smtp.client-ip=209.85.167.177 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="IvhtMO/B" Received: by mail-oi1-f177.google.com with SMTP id 5614622812f47-3e0510b6647so258039b6e.0 for ; Thu, 12 Sep 2024 00:40:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726126845; x=1726731645; 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=G15/cfLWuhy58D3S6VTY2yyYFPoVOBpPVm7OgoLv/9Y=; b=IvhtMO/BHVqdK7MjPrRW5nr2C78T7/G/rz6xtOOGbE55V/SHpAXjqmgGnE3lQtSWad BFbCU2ifv9pPLePJtQbMng/g4ExZKYhFYKbFrNByYJxpfaUEZQ4MvrSJC3sfHCNWHJMW IrdKuPu9BZdwPjupLwZkECfr0PHgAoG0dZkKZ/bqSPy6mhr08ksDa5XLlwI27vi8tXVW nxVlsuiUsHteqNl+QTSS0cfKou4x3xq2vmOi/RfEZB8Gy+0ODy+3tJ2KMbtocnypv+XP YnwnMEyRYEZsJOeowArpjeiwS0FCYTbDSFn5G1oPbmjWraP9tLqXKAUfNUENfDU0L0Hv Ir1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726126845; x=1726731645; 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=G15/cfLWuhy58D3S6VTY2yyYFPoVOBpPVm7OgoLv/9Y=; b=b5wqAENDOSUta1a0whl2qSp63zSs4sIdEfqXryeDTFvOR5oIdMba2AIs1/AfJQgN4i BvfBFXI/kT1wyJg0KXlvsgJ06uCMrkm+qGSgHzI6c3ATOFS/1tisFWSf8XQKbIgzhx3B dpyP/2n3XLoqjUlAqAHON8kwkjLV4b6VTKHHfMOSzNJ6EtkdcA1Y7kQpNDMKuhvf53+o HsbQwVl+jST6/X1843Qb2q96hCEzhFVfoPLwhmH+gmd9JvGTZHIPLX+ACaB4wDabpqJo ejVTJuHfhgBComc17rfckk+I/Nkxj5huDlYAo3DNNKPXFKVz94bD/+GhOHuXA0xA/bnx MFaA== X-Forwarded-Encrypted: i=1; AJvYcCVdQJvKKBVuHHTjZqqr3Z36CxXDlp7eXjfhEx6Yf9/CAxDSHcYagHMB4wh6segJPtw0jfI=@vger.kernel.org X-Gm-Message-State: AOJu0YxwbtjY4+x/syXD9A1Z0MxoiFOFMRL6pUNzT0Kurvgyk7AQJj3N D/ih7NffwHIV1Msib3Bt/5tk+iA7UI1Zw70a8E8P9khxPP8iWPkAMkI0k7kLT88= X-Google-Smtp-Source: AGHT+IETN6rcEOkN5n0lmGk313YArCk9WXbSbiIwWQ/b2J6sYsWxK5jf+hG5cA2W/PAz8ROKcimuCw== X-Received: by 2002:a05:6808:448a:b0:3d6:3450:7fe0 with SMTP id 5614622812f47-3e071a835ffmr1063495b6e.9.1726126845522; Thu, 12 Sep 2024 00:40:45 -0700 (PDT) Received: from linaro.vn.shawcable.net ([2604:3d08:9384:1d00::9633]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db1fb9ad87sm983458a12.6.2024.09.12.00.40.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Sep 2024 00:40:44 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Jason Wang , =?utf-8?q?Alex_Benn=C3=A9e?= , Laurent Vivier , Marcelo Tosatti , Nicholas Piggin , Klaus Jensen , WANG Xuerui , Halil Pasic , Rob Herring , Michael Rolnik , Zhao Liu , Peter Maydell , Richard Henderson , Fabiano Rosas , Corey Minyard , Keith Busch , Thomas Huth , "Maciej S. Szmigiero" , Harsh Prateek Bora , Kevin Wolf , Paolo Bonzini , Jesper Devantier , Hyman Huang , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Palmer Dabbelt , qemu-s390x@nongnu.org, Laurent Vivier , qemu-riscv@nongnu.org, "Richard W.M. Jones" , Liu Zhiwei , Aurelien Jarno , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Marcel Apfelbaum , kvm@vger.kernel.org, Christian Borntraeger , Akihiko Odaki , Daniel Henrique Barboza , Hanna Reitz , Ani Sinha , qemu-ppc@nongnu.org, =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Alistair Francis , Bin Meng , "Michael S. Tsirkin" , Helge Deller , Peter Xu , Daniel Henrique Barboza , Dmitry Fleytman , Nina Schoetterl-Glausch , Yanan Wang , qemu-arm@nongnu.org, Igor Mammedov , Jean-Christophe Dubois , Eric Farman , Sriram Yagnaraman , qemu-block@nongnu.org, Stefan Berger , Joel Stanley , Eduardo Habkost , David Gibson , Fam Zheng , Weiwei Li , Markus Armbruster , Pierrick Bouvier Subject: [PATCH v2 30/48] hw/pci-host: remove break after g_assert_not_reached() Date: Thu, 12 Sep 2024 00:39:03 -0700 Message-Id: <20240912073921.453203-31-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240912073921.453203-1-pierrick.bouvier@linaro.org> References: <20240912073921.453203-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. Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Pierrick Bouvier --- hw/pci-host/gt64120.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/pci-host/gt64120.c b/hw/pci-host/gt64120.c index 33607dfbec4..58557416629 100644 --- a/hw/pci-host/gt64120.c +++ b/hw/pci-host/gt64120.c @@ -689,7 +689,6 @@ static void gt64120_writel(void *opaque, hwaddr addr, case GT_PCI0_CFGDATA: /* Mapped via in gt64120_pci_mapping() */ g_assert_not_reached(); - break; /* Interrupts */ case GT_INTRCAUSE: @@ -933,7 +932,6 @@ static uint64_t gt64120_readl(void *opaque, case GT_PCI0_CFGDATA: /* Mapped via in gt64120_pci_mapping() */ g_assert_not_reached(); - break; case GT_PCI0_CMD: case GT_PCI0_TOR: