[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 20/39] hw/ppc: replace assert(false) with g_assert_not_reached()
From: |
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 |
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
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;
}
--
2.39.2
- Re: [PATCH 10/39] system: replace assert(0) with g_assert_not_reached(), (continued)
- [PATCH 14/39] include/hw/s390x: replace assert(false) with g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 13/39] tests/unit: replace assert(0) with g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 15/39] block: replace assert(false) with g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 16/39] hw/hyperv: replace assert(false) with g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 17/39] hw/net: replace assert(false) with g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 18/39] hw/nvme: replace assert(false) with g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 20/39] hw/ppc: replace assert(false) with g_assert_not_reached(),
Pierrick Bouvier <=
- [PATCH 21/39] migration: replace assert(false) with g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 22/39] target/i386/kvm: replace assert(false) with g_assert_not_reached(), Pierrick Bouvier, 2024/09/10
- [PATCH 19/39] hw/pci: replace assert(false) with g_assert_not_reached(), Pierrick Bouvier, 2024/09/10