From patchwork Tue Sep 10 22:15:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 13799390 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 C37BD1B1D6E for ; Tue, 10 Sep 2024 22:16:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726006620; cv=none; b=TNr2dowRiFx3yqtwRSrZvZTgn8kQFQpRgMFlPMX/K7/ndw7vUmGmsWLiX6kLEymchNz8jsODV8JbwRggDYv7AYA8QW6r2v6HaKA/qoU7nWsmoARPkqXWTb/XqpTfzzakpP8pUPFd2vfjuwxoNkZl0noerbSTUcTb6N2/8n4SxuQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726006620; c=relaxed/simple; bh=7LqFEY2QfoGxyVYwZS6fAzF+2VVFA03Wck9rcu1wO1M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=P+XO4RBYTDuITE5Q9IntO//wTAkbT0dQW5r+DasMeXFOj/SWfyy/sSbxSU7QAYbVcKTMCEXZPvAY2NA2370UMXZYxV3nk1eQzWhFRQag7bOlui+k5tlVG9OSblvn00a4HX3S7axBLcAdGCEizUkQfqGYrLKPAg8ESWT6Zmjo4Wc= 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=xQ2qv6PI; arc=none smtp.client-ip=209.85.215.176 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="xQ2qv6PI" Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-7c3e1081804so736972a12.3 for ; Tue, 10 Sep 2024 15:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006618; x=1726611418; 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=qcrIg2qAf6uELGwQ4F3jw2Dk1PoiMNeAX8XN3cIVz0A=; b=xQ2qv6PIY/zvRlCXB+ejcB+sGEA9/t8I5pzbvzUfNOBD6j7Kp8vYIwdbuhA8es4hK6 NpD4VlLf0laUS26NFmk9Ovvizb0QWo9Ng6YVUR1RbnAA6S8oemGteoUls6wfhhCfphMM UNjXG++nqx+UYzS6UmjRxMiJAf5YlRlMo38Qkl85FftKM0dBcUs0uzd5wLi29xv1zbL2 rHKrjzxTtIB7UWKb3BEyvh8qXl/41p/YzsGlYp/QFdL56gQjO6fcji9lAk44s0mBkEI8 7YffJuVHKCv73tIKtRG1PCPB3oHwwC6MCecl1JPIe6kB/g4gIfk7BVYGfwQZAgA3xtMX eCDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006618; x=1726611418; 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=qcrIg2qAf6uELGwQ4F3jw2Dk1PoiMNeAX8XN3cIVz0A=; b=JYAPqdS6cJiNERXuyEzkUw+VZaLtVBj1j2h9wDG/gwAHTX0z2OtJN0qt4EwPfsRoHd ALcKbg0JtL/Mcpb1gHu2+6RbXkXqUu80JvkdA8ePfP2jM7QlhkSQxnn8vL/L1bVdZXMh vlcCN+34uLnkzc8qy5EVL9LArgM2VLjbrGsU2SdhJhVYPgGyj37QDLwGLei8QBQe9adz 8d+NeAKBTftqLOberFJZ+6hNR6gEyZF3spveUvUOA9Aa4ODee5bGhA+Z3qaars0anhts 2kIvcx4tiFFeSfIPDQ/a/EmXlIf5ycxuuD2uEyJHa4E8/Am+A6FcRQM9blXt1tt6sQ/A h12g== X-Forwarded-Encrypted: i=1; AJvYcCWO46hnpW4inhrmOVXA5TJhCsA2zOE/JW2k5O7LdYOf5VK7co0XgndUU/1UvCNtN6rmhK8=@vger.kernel.org X-Gm-Message-State: AOJu0YwaXW5Yjgd3m/pPffJg2yBg2AUUvOeFw/aAZUZfkEx4p47rZcG1 iaoFFHGU/R/g00aR86QXPFz/jyEoG0vyAD3LZNhMASsnWhagqsiyKJmD0Q/0Qiw= X-Google-Smtp-Source: AGHT+IHlXcViJ7Uqavmm9h0Agv/EoGh3ujOBi2hWwTsBLR4Ow1eipycn2U7OZZTHFj/uG0XH/qrB2Q== X-Received: by 2002:a05:6a21:70cb:b0:1c4:9f31:ac9e with SMTP id adf61e73a8af0-1cf62d7bea5mr1368837637.42.1726006618086; Tue, 10 Sep 2024 15:16:58 -0700 (PDT) Received: from linaro.vn.shawcable.net ([2604:3d08:9384:1d00::9633]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71909003d0esm1884055b3a.93.2024.09.10.15.16.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:57 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Zhao Liu , "Richard W.M. Jones" , Joel Stanley , Kevin Wolf , Paolo Bonzini , qemu-arm@nongnu.org, Corey Minyard , Eric Farman , Thomas Huth , Keith Busch , WANG Xuerui , Hyman Huang , Stefan Berger , Michael Rolnik , Alistair Francis , =?utf-8?q?Marc-Andr=C3=A9_Lure?= =?utf-8?q?au?= , Markus Armbruster , Sriram Yagnaraman , Palmer Dabbelt , qemu-riscv@nongnu.org, Ani Sinha , Halil Pasic , Jesper Devantier , Laurent Vivier , Peter Maydell , Igor Mammedov , kvm@vger.kernel.org, =?utf-8?q?Alex_Be?= =?utf-8?q?nn=C3=A9e?= , Richard Henderson , Fam Zheng , qemu-s390x@nongnu.org, Hanna Reitz , Nicholas Piggin , Eduardo Habkost , Laurent Vivier , Rob Herring , Marcel Apfelbaum , qemu-block@nongnu.org, "Maciej S. Szmigiero" , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Christian Borntraeger , Harsh Prateek Bora , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Nina Schoetterl-Glausch , "Michael S. Tsirkin" , Fabiano Rosas , Helge Deller , Dmitry Fleytman , Daniel Henrique Barboza , Akihiko Odaki , Marcelo Tosatti , David Gibson , Aurelien Jarno , Liu Zhiwei , Yanan Wang , Peter Xu , Bin Meng , Weiwei Li , Klaus Jensen , Jean-Christophe Dubois , Jason Wang , Pierrick Bouvier Subject: [PATCH 20/39] hw/ppc: replace assert(false) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:47 -0700 Message-Id: <20240910221606.1817478-21-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240910221606.1817478-1-pierrick.bouvier@linaro.org> References: <20240910221606.1817478-1-pierrick.bouvier@linaro.org> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Pierrick Bouvier Reviewed-by: Daniel Henrique Barboza --- hw/ppc/spapr_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ppc/spapr_events.c b/hw/ppc/spapr_events.c index cb0eeee5874..38ac1cb7866 100644 --- a/hw/ppc/spapr_events.c +++ b/hw/ppc/spapr_events.c @@ -645,7 +645,7 @@ static void spapr_hotplug_req_event(uint8_t hp_id, uint8_t hp_action, /* we shouldn't be signaling hotplug events for resources * that don't support them */ - g_assert(false); + g_assert_not_reached(); return; }