summary refs log tree commit diff stats
path: root/hw/net/e1000e_core.c
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2024-09-18 21:46:16 -0700
committerThomas Huth <thuth@redhat.com>2024-09-24 13:53:35 +0200
commitd81e87e9729ac1342d15a012814b2515391d7af8 (patch)
tree96bdc55acea0925ef04d9fe3f1e6475b87bc3027 /hw/net/e1000e_core.c
parent159e011a9f7be43e89a742b50611941b63ef81b2 (diff)
downloadfocaccia-qemu-d81e87e9729ac1342d15a012814b2515391d7af8.tar.gz
focaccia-qemu-d81e87e9729ac1342d15a012814b2515391d7af8.zip
hw/net: replace assert(false) with g_assert_not_reached()
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 <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20240919044641.386068-10-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/net/e1000e_core.c')
-rw-r--r--hw/net/e1000e_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c
index 3ae2a184d5..248381f976 100644
--- a/hw/net/e1000e_core.c
+++ b/hw/net/e1000e_core.c
@@ -561,7 +561,7 @@ e1000e_rss_calc_hash(E1000ECore *core,
         type = NetPktRssIpV6Ex;
         break;
     default:
-        assert(false);
+        g_assert_not_reached();
         return 0;
     }