|
From: | Daniel Henrique Barboza |
Subject: | Re: [PATCH 20/39] hw/ppc: replace assert(false) with g_assert_not_reached() |
Date: | Wed, 11 Sep 2024 06:41:28 -0300 |
User-agent: | Mozilla Thunderbird |
On 9/10/24 7:15 PM, Pierrick Bouvier wrote:
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> ---
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
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; }
[Prev in Thread] | Current Thread | [Next in Thread] |