From patchwork Wed Sep 11 12:14:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 827422 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp766430wrc; Wed, 11 Sep 2024 05:26:32 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUeQxdHUZdlr7LWNWZEYfWa8HEVZMm8SZ7xySWpo3PjjK0jODsESX4yWQeYV/A/m19Oqai8pw==@linaro.org X-Google-Smtp-Source: AGHT+IHfzeCa4B17pQfeLG/FAtbAU5t3jORDgyEsQti6QNPmf1KUTYrEVjwme13epBqjLEogu1UN X-Received: by 2002:a05:620a:4550:b0:7a9:b4d2:9d69 with SMTP id af79cd13be357-7a9d37ea3e2mr545570985a.0.1726057591925; Wed, 11 Sep 2024 05:26:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726057591; cv=none; d=google.com; s=arc-20240605; b=XKt9YpC1YXK5gyJo9edfIRllq5TSKDMhDt+48kEODlWtxfwVEEeaYqbXrijprZ16ZW e8oHVK4PLk1BoplJzP0nbWnmMek4J1Qkds169RW1pZ1gcATiBkV5KR/6LrlvbXDLSRH+ zMngcVeVOPPQ4jAf8yVN9E0jyBb0q296TLO+3xKFZXU1QpDDLLqt3zepgHS3iyj+dXiM STOHtXebLJmLa96ODTpNU480hDFLnAQ3mK3/2v1lKAvSN4Td1fdSHDdVi2R3MJdJMIPs MfvuKn0CuVYNQ2XQP7vHG1W0O/h+uHutYFvypzFG45I0ilkximbd038oA2e9h/oy41yU dkAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ZUo8rGZSom7mlAfCU5Z2bDlbbhMhxBWW2+c4LGYwQ+E=; fh=pgRJImLGStw4JiZaQ8tZ6Gx4wEkoSwwNn1cV112GpBk=; b=d/v98PzVDbHifuH/bCx9vAFVx+59JeTZe1SPRojyieN+05QDm5JQ8Ro/mIVdIywBro LCo33kxgNrbYmZ+DgZ8SsAs/HGKSFaSWMFdoZOh9601fH4KCs9A9c7KquJfIhO1yG1xF jwxgN3mY7rUVdKcOSuupPFRbDlGvceyDMFI1TjHsNYUIPHLgSVRFH+oZ8sX/anpWF+Je QHt+mjJ1+83kuhy23OD/NVOWnqvApLCPnhiYHkQ/rwgttgRx6ry3ysT3kwsX5u2tHL5K jWev0h7pplYMA8XoFOytDLXZTfgywTzmMaqu7shlxIol8L9tsT1KkZmVVjqTdiR73FOo japw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jhgSymHR; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7a9a79ef800si994633485a.158.2024.09.11.05.26.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2024 05:26:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jhgSymHR; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soMK8-0004gY-FK; Wed, 11 Sep 2024 08:19:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1soMK6-0004bT-WF for qemu-devel@nongnu.org; Wed, 11 Sep 2024 08:19:51 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1soMK5-0007jL-FD for qemu-devel@nongnu.org; Wed, 11 Sep 2024 08:19:50 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4280ca0791bso62816645e9.1 for ; Wed, 11 Sep 2024 05:19:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726057188; x=1726661988; darn=nongnu.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=ZUo8rGZSom7mlAfCU5Z2bDlbbhMhxBWW2+c4LGYwQ+E=; b=jhgSymHRtJweLm4rOEYW4zXS5jqZU/ehAKsteK6I4Gi1tuPTlcIndQXbNmJ7+rx6Tq fZ5y0MZA3jgp0D3UEKKDLAunXE/2egDCFg1ho+kgxfseiPBeSNhBXus6CjYVizXSZFoV fgXFYCsPn/T4FTJCkiigAd5wAT8gTn4Ue8aSsyzZqvIuoh4nUdHKGrvHu2lEICiz0rcy 3pFuFHfhkvvLrIZZ9vsTICujJwrkYj3HK3iG1TzfFxr2xaQzrG78FJ5hs1vZY5RBI7YM Dwn51LkY9N1SekT60GcKDgwI/pSFszZY2uljSKDQgm2GCX+OQkLElocDbheDagqQUvZH jdlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726057188; x=1726661988; 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=ZUo8rGZSom7mlAfCU5Z2bDlbbhMhxBWW2+c4LGYwQ+E=; b=I5eW7BIQYtAMA2oFZCP0PQo91shd+CEfdsiKnix70ueUHJW/coIVvSF0EsrJ8uIwe2 YDpPCYvIgkr0QjycyhXemWuEjg8tgppu7c4nwGLVdDdrhZ0wDtBMdLpe20lgFaC3b3wO HdQ9MXfG6haSATSm1EZ5SwR113CRmCFRmWu0yFtqJ0nnqA1H+BfB86+M7tsR39/eKJXe 8APl2WE5ofH2PrUxTz0Kd+yAhCEyX2J/JbGI1tYOhTLVVVU2uVeiC874CJKlx/cHiffB gC2brljanwiAQdGYrGnymFz2mMrIVsotF8S4cRFq/ggLBD+dHYDycvSBlQJktBKSotwP zf7g== X-Gm-Message-State: AOJu0YwTr8XOW0wp8HDpxsSBOvlqLkZd9lJl1jBZ3k8c1O+YN1iu26K0 AKuBfEGpwwIIR/+B1DqSKxwsY25ll9w6xGTdE79t+C64ET9gSXXy0zze2nzm1vNMvYXNF9rFEHb o X-Received: by 2002:a05:600c:4798:b0:42c:a574:6364 with SMTP id 5b1f17b1804b1-42ca574664amr121721125e9.12.1726057187581; Wed, 11 Sep 2024 05:19:47 -0700 (PDT) Received: from m1x-phil.lan ([176.187.196.107]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42caeb4444asm140843695e9.22.2024.09.11.05.19.46 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 11 Sep 2024 05:19:47 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PULL 47/56] hw/core: replace assert(0) with g_assert_not_reached() Date: Wed, 11 Sep 2024 14:14:12 +0200 Message-ID: <20240911121422.52585-48-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240911121422.52585-1-philmd@linaro.org> References: <20240911121422.52585-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=philmd@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Pierrick Bouvier Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240910221606.1817478-6-pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/core/numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/numa.c b/hw/core/numa.c index f8ce332cfe..14283293b4 100644 --- a/hw/core/numa.c +++ b/hw/core/numa.c @@ -380,7 +380,7 @@ void parse_numa_hmat_lb(NumaState *numa_state, NumaHmatLBOptions *node, } lb_data.data = node->bandwidth; } else { - assert(0); + g_assert_not_reached(); } g_array_append_val(hmat_lb->list, lb_data);