From patchwork Tue Sep 10 22:15:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827046 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp528699wrc; Tue, 10 Sep 2024 15:17:12 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW+qAyByGiVQz79OZQoHIhwlND8AlzdiVxG8yJ+tZ+Vg4KXv2RlGkEMikMVbsBL2wWkvZ4C0g==@linaro.org X-Google-Smtp-Source: AGHT+IG+LmQgLotkUn4WuyDLoI5nhk+2T2fNZocsOwlorhYUIOgCjpIl5FvKoe9AhKAUA749V5Pm X-Received: by 2002:a05:620a:4081:b0:7a9:d0d2:a5fc with SMTP id af79cd13be357-7a9d0d2ad65mr279258285a.15.1726006632530; Tue, 10 Sep 2024 15:17:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006632; cv=none; d=google.com; s=arc-20240605; b=QAf2tAz4uS1BQMZ+GLV86QtElLQYvtg3voHWuEpWpa4RP7MebJRt8MeuNnqy27k+lj uFITwAwKEz2qAyD4gj6lfpYPe9c1lqSyDJ1ed3jB9g/mGvOriBtutrOZkIu+m7XQAAY1 0cdnKdlrZmbwCgYruKsq2XRybsjtUShpRX9GlwBciNSta1+NDcGT462TIHn22x8KL5Jm ttT5gOWQF8VSWdHudu87QNt08W6zibzX+Dd3yt0GKai/rzwmquk0795BzbJAzouigUWf 20xcfinbjF91dPRrV+ZtaGGAcGxuIN6IGKzHJhrnuN1g8b6CoVPLggz7cZ3aZ46L4x8g e/AQ== 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=CeSGQFthD+JPD1wVuC9PwgsK3RUFyGiI0SGu9xd9Ivo=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=SI+k13bXfbrb/JOojPhJlNdxhUttj0IiR4wHXdPjbN8r/ba4AXwHSnlsf8A0137fyI EQpyDTqvyF54tNZSQl95lwIlMys+Cr3lh1dAL0tv2OvnXV3DmIGGIOeL54Fgy6D/9NYu lR66Asiu7ZuLBcBVAHQ3z0CrgkslpnyLI61kZ+YQZ4anUnqkghg74fXpGhXuNbrgwZn6 bVzj3DNq23ZBTb1URfzVF4MCnnBdptCPaYk0EVqyq9d5DCi3bOOI41WK3yI0aMD2blpk E424Y89Ds7Hf9027ds1iDsrPUv2XGhbcdQOBupvmOXqxntSDhPanITeN1Mscj3XJlnvG xKqw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rhbZGnlD; 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-7a9aacbb1absi834727685a.662.2024.09.10.15.17.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:17:12 -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=rhbZGnlD; 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 1so99w-00075a-VV; Tue, 10 Sep 2024 18:16:30 -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 1so99l-0006U3-5E for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:17 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so99i-0006Rx-78 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:16 -0400 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-718a3b8a2dcso3687294b3a.2 for ; Tue, 10 Sep 2024 15:16:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006573; x=1726611373; 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=CeSGQFthD+JPD1wVuC9PwgsK3RUFyGiI0SGu9xd9Ivo=; b=rhbZGnlDNOC+F4FxLysBk2HCD3E4ibnAxbiI1Z29HlvOIxnBURjejLNtLPupD0a38d ieKSqotaNDCgJnw3GdtoGuNFMMJhp77l7v0hPuV6Ttgk/Z2qBhrIhyuE1zNGr1ON2yws s8somf5nUWKBHjxeNmatTYyE8WJes48SmXuOL437fshEW/mqAHxHBsBAPwSjyfVlHhyZ UOcBrMvvdEZ5dvitpGr82qVMVba6I4Pyz2btDznt89TcBA6rAIvk5eP1gybf4ciIUagx dNjjWjtyiX2VrTvPs45kkRXKcf2Za1FfyVguvGw99BBnSMhk2VDPfq5p57ECu/0f9rKz Q80w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006573; x=1726611373; 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=CeSGQFthD+JPD1wVuC9PwgsK3RUFyGiI0SGu9xd9Ivo=; b=tkemAe76K65uzgxtwVVR3H2CD/C9HpzVHVzOlRrPIIiU3hubd92kZfHzFayJCo+Zug RTmpTs3PW00Sgf5xn2oLVTfYWd0v8asyIdabNwBxdMOzvv1iA+YJidSY6w6A+FDWRmQY +S7SWfu2PyWOmqzrZC1Rq1cr253ss5MhQgPDOLMzBqV1x1MClX2MiyBqWEllsKy4YFSn HzFGWtZlsXZtpKoGMQIYImBgklTG0eRlFo7l/oryRyVyYl+Sim2zjsL6k2hY6yeQjZHn Tt/G52aA/neKbdJD5zm5jDnb2GVTOm6VT/AXcUYVZLQOWssENK8CdQBA7EO8tJ2RtECS wYag== X-Gm-Message-State: AOJu0Yzve709O6QOlgamF73kQ0oyfx9E8cGSQw9+uml7+l6a3uu8Kllm PjCGf+mvzF1mzfbayOHbnZ3U6HSxgdgPCeqPZ1r7LrLBwhX69YA3iXMz1YbTQb9Quk8np1g5ZfV TmsP8HqXu X-Received: by 2002:a05:6a20:c703:b0:1cf:590f:ddbc with SMTP id adf61e73a8af0-1cf5e0b7845mr3064462637.18.1726006572754; Tue, 10 Sep 2024 15:16:12 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:12 -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 01/39] docs/spin: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:28 -0700 Message-Id: <20240910221606.1817478-2-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x430.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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- docs/spin/aio_notify_accept.promela | 6 +++--- docs/spin/aio_notify_bug.promela | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/spin/aio_notify_accept.promela b/docs/spin/aio_notify_accept.promela index 9cef2c955dd..f929d303281 100644 --- a/docs/spin/aio_notify_accept.promela +++ b/docs/spin/aio_notify_accept.promela @@ -118,7 +118,7 @@ accept_if_req_not_eventually_false: if :: req -> goto accept_if_req_not_eventually_false; fi; - assert(0); + g_assert_not_reached(); } #else @@ -141,12 +141,12 @@ accept_if_event_not_eventually_true: :: !event && notifier_done -> do :: true -> skip; od; :: !event && !notifier_done -> goto accept_if_event_not_eventually_true; fi; - assert(0); + g_assert_not_reached(); accept_if_event_not_eventually_false: if :: event -> goto accept_if_event_not_eventually_false; fi; - assert(0); + g_assert_not_reached(); } #endif diff --git a/docs/spin/aio_notify_bug.promela b/docs/spin/aio_notify_bug.promela index b3bfca1ca4f..ce6f5177ed5 100644 --- a/docs/spin/aio_notify_bug.promela +++ b/docs/spin/aio_notify_bug.promela @@ -106,7 +106,7 @@ accept_if_req_not_eventually_false: if :: req -> goto accept_if_req_not_eventually_false; fi; - assert(0); + g_assert_not_reached(); } #else @@ -129,12 +129,12 @@ accept_if_event_not_eventually_true: :: !event && notifier_done -> do :: true -> skip; od; :: !event && !notifier_done -> goto accept_if_event_not_eventually_true; fi; - assert(0); + g_assert_not_reached(); accept_if_event_not_eventually_false: if :: event -> goto accept_if_event_not_eventually_false; fi; - assert(0); + g_assert_not_reached(); } #endif From patchwork Tue Sep 10 22:15:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827049 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp528857wrc; Tue, 10 Sep 2024 15:17:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXIEyOeETDl3qKADPcsY0hTVI6mMXvOW43YD01twxj4UazDYXTHOJ+qB5MNEZmI4oJSRKtPjQ==@linaro.org X-Google-Smtp-Source: AGHT+IF2pyd09WwBHd+1YP2RgiShCdyK9BXWf3MpbE6kJyjL/YXqgw216Y/7wUPWCCZtGRvuyCMT X-Received: by 2002:ac8:5d0c:0:b0:458:40e9:8d0d with SMTP id d75a77b69052e-45840e98e39mr45139371cf.58.1726006661003; Tue, 10 Sep 2024 15:17:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006660; cv=none; d=google.com; s=arc-20240605; b=WhmelNLcU53lygl/619jNNpRxBh9GI1ZGNq98+kyNkqNC9oiZK+4FXqB9wNIxMBSEK Yjpb6rUVCkHX7bG+aJr9OdMz1JJRPZq6qjOPS5+4Rqvj79oJQtskqJAHQPuI6U5J3Ehx ouHyfflw0jXBwodhcXtBHJMwpIUijxiLbJBYL8MKKMXp/hbcnR1TEAcBktc7EB3uPtDC /ZgzEaOF8OA7h2hSqxTo8vSExf+ECMSvRXiUFDfCh/83O7mAoAh9DSEcoK2WrmSFUKnC 7m8zHwSBV80M1yeBnI5oqJAgKxr7v41AyoBwNtDUHSDJflmNdE3vjmYV03L7KaECx0R5 hAxQ== 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=BIrX6LSYcWKQ7NWgVt5fl+kpf/h4MdU5BhontmNSP2g=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=VrzHSlr/UXb7HcMg7cLY68RsnjkaYa00IT4JZuMhTB0iGNfRjj0X2cHczW8O/1hn7w qd6LQ0MZVFFOeix4Z6uC/ukssopi/LPPPXxf5wqn26yf1kPayAAGW0QA9nrDWu34HZ7s UHs+S6joI66+tOX0gTG4W5Aodf5qu+okO5bpzuuLUVRJ//tFfxa5vh9TMDTcNSekI0GF csEAWxx7uGwIuv9ZzfgpY7pwWSGpCx7FsKJO3BVDgW7Fc8ezNx9qRdtNUfPTTJWyCumU 3DmaK6cVoz0AjeecXo4T7fUC2MrXIA7Mn03qFS6ZWUTMtC9yjzlR8+3h3n/R6ogTd2kk NMhQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mExn9Ztc; 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 d75a77b69052e-45822e629e0si88418131cf.56.2024.09.10.15.17.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:17:40 -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=mExn9Ztc; 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 1so9A6-0007XN-MZ; Tue, 10 Sep 2024 18:16:39 -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 1so99n-0006aX-QD for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:19 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so99l-0006T5-H1 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:19 -0400 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-718a3b8a2dcso3687336b3a.2 for ; Tue, 10 Sep 2024 15:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006576; x=1726611376; 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=BIrX6LSYcWKQ7NWgVt5fl+kpf/h4MdU5BhontmNSP2g=; b=mExn9ZtcTMXAA12LnB1F36zN5UZGDhPJVn232oGpUBBZA7HrdhTDVwkFmo6o93IpMN fU8RX5dTp5RLYW8wTOEiKuPozs+t/lob/hvD5G/bptg2k+pEthkqp4Yb4gIY98lkwvxW kz0UdqErQznUfA+hgcUZgh1OOYsr3/fPV/lhx1YhqmtpC6DodSGstpPeR+m23kj8FQal diR79BxyHFUq7shKawvqSl7qreX6I7Qx7nVEd54Qa2GCfKWj5/YTMMsNL240QZIdwTiT l7CsW8Sssgf8JKI1IKq4zuADOS+0wUY9JJLkUZVjV+F8gJD1fB9x5lAnYo8i2jRDZTdh li4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006576; x=1726611376; 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=BIrX6LSYcWKQ7NWgVt5fl+kpf/h4MdU5BhontmNSP2g=; b=cZoNZKhpxQ5/sjkstzdeO5V+mRWZmpa0w3xCO5+lew8PqCmgadFpuPaEMnqMp+mL9h xiVdSNM8l8wjZIFjuBPJjWRJwLp/0252yR2I25h+PNRaLyHA7OynveM8NSc8CiPtaK07 7ZcLqHPSCiWbHDdRgUiCVQUNmg303qWoKAmHNGBOFPgzfVGZ/PB74z5okjvUzLkxbMER VhoRi9HSXE6N3ZfsRJ+FDqn+Wns864N1L+VSRmhj20F77T0kmXDwOqfBKscrfQQsbGWS xQDrROsIhqzhhBELROqVBQSmyxsFQXHCi4ITmb65sG+/6NYBkC1he9FJG4+zpxoWweNU e/6g== X-Gm-Message-State: AOJu0YzMk9HgbuPcYiXCZotg9mMKWbZHY/UzPgsgCBWhnfKFLSag6MhN MClKo2QioIfFgIbOVKuHrIZ2+XQsJ88sBhrckiBITsAkB2hyRoXX7KeVg2T5+rpVz4ZCPld3I+f jm2ESA6VU X-Received: by 2002:aa7:8883:0:b0:714:2069:d917 with SMTP id d2e1a72fcca58-718d5f0fcccmr19299081b3a.25.1726006575824; Tue, 10 Sep 2024 15:16:15 -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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:15 -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 02/39] hw/acpi: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:29 -0700 Message-Id: <20240910221606.1817478-3-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x434.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- hw/acpi/aml-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c index 6d4517cfbe3..006c506a375 100644 --- a/hw/acpi/aml-build.c +++ b/hw/acpi/aml-build.c @@ -534,7 +534,7 @@ void aml_append(Aml *parent_ctx, Aml *child) case AML_NO_OPCODE: break; default: - assert(0); + g_assert_not_reached(); break; } build_append_array(parent_ctx->buf, buf); From patchwork Tue Sep 10 22:15:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827048 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp528819wrc; Tue, 10 Sep 2024 15:17:34 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXXwvhfATjF0XQckB2ExnyEXHnmXCxKgYPkABiedbfOR7FxezLPQLP/VD6l2b1/X40ME9CgZw==@linaro.org X-Google-Smtp-Source: AGHT+IELiLdCPwIe2WBcpRFu+SswsASK8Xi+d3/NKwbME554GIFyZbGsKpUR5tPrcY9fWGHPr5CP X-Received: by 2002:a05:620a:4044:b0:7a9:d14f:2374 with SMTP id af79cd13be357-7a9d14f2641mr211574785a.44.1726006654364; Tue, 10 Sep 2024 15:17:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006654; cv=none; d=google.com; s=arc-20240605; b=UVtiRS/vkX8DrqHZ0rcsq3iCTvhOdwKyPAsQt3dIYX1Xhh6Q1ygbHU3r4k9FghXFbP 7Q0vl6lfGCUgbOkNci4LDPa9WEA7IKdDz0S0ZaBkauhg/OQBxyckYlEk+Q6Ickh8yJYW zgTlcZOOIz/xlW5NMEkNynLhazPFVCDH3Nev0PfYu4hPIen0Br6H0L64TInJ11kigEu4 L/Xy73GGE2N11Da409bgjLtNWUR1navFoIvcKuKOP9sykMPqr4SP73BfngzmuEwaH1oJ d7erc/HoGhsRyZvFiJwBQ8C0l8Vy9Okvus6XI1TPsJrGSNWqSKOKpu1Al1BIahjhAANi MDqQ== 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=rtg/fsM266byh2SMTyHSqLuDJEbiLWNPpLD5jMD37ko=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=BL4GbJLh2eH+eGqAfY/nfwe+K/4HRbczZG45wJG0Eld6L9gstFj5+ouh0mL0aZykIm nF7Inc11zMuOeoI+nEYIUqq2pI5P5gcYzqFBErftzoNLpil3VDN1dkd9HrzVasa/GFup ro7OgIz1ETOrIbVMaGBcRT6DjXVz9962hh6JMrCjtphTNu+QF/kxisbETqGy9zg/pF2j TBmsGJTTXSCdirCULMCTQsT1/89h+1YIpGyOANie8KkXcKb4lAxi6jnhNXVzhsyCMJm5 HIWFERM2KUUZxSGsgOdr5UwKsY7YH2ZAwnMt7ktqdDkVSWaF2z4GF7w8nDyukIpNVuVQ ZFww==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vU7HUxHR; 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-7a9a7a376b4si901907785a.337.2024.09.10.15.17.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:17:34 -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=vU7HUxHR; 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 1so9AS-00018B-RM; Tue, 10 Sep 2024 18:17:00 -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 1so99r-0006mn-HP for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:24 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so99o-0006U2-GH for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:23 -0400 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-7191901abd6so124458b3a.3 for ; Tue, 10 Sep 2024 15:16:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006578; x=1726611378; 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=rtg/fsM266byh2SMTyHSqLuDJEbiLWNPpLD5jMD37ko=; b=vU7HUxHRd07I/fSccd80dgOMFcFUKJ19JMOlQ2Jo/ioNpUR9UF1ADDHHshr35NANir mG6C/Nb1Q1UW/RzsG+7Z+usBFxYtBMbAC8KeouomsQ+iF6FhyRkC677zvsoOfPLFLFU4 NXJt+r8CNXR5lesVMreKRrXl+u0ZrLFLo2nYotIlBFoksqXkidLocsFpRGhA97dBmp4O xgLPjV7uO59ZrYh9UKEga9CcDYpNt2Zyl4dHjBXvSV+TuNoVOz3uyVtRtRLpw3dwBxtz hKEXRisAlyT6OEbhw33zVk8i+3VVZVAWg0jcfQQYRWeVQxslcv6TBe2RRdAw1b635zDO NWyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006578; x=1726611378; 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=rtg/fsM266byh2SMTyHSqLuDJEbiLWNPpLD5jMD37ko=; b=SShY7FywicdMtKYHYfgqoubT/XAA8YDOU1g/THKwEJLiZtIXMh27xY1w6xB/DuA6XB /PE2wPy2W1G7bq9cHJFfXVec+5rBnY9HdThC7yFxdfc2ETR2TgthS04LsVBJdRWVGHQO c5thRsqZFzyDZcxmt5dhvTpz3lzKTKR7dIkfH2CaPKKAN1lF3GQ1J0k0sSa8nMSYyStB NOnezznwRXV/KjptxXl84FIfkmcI2xg5O+dGmhjKh0mELK37ExNAiJen2UODoJLnGPVN 53wQ5uU7m2f+hkBLSQj7p0PY15LvpZLstPpc3CCirpSrPDGzOUZeMIyC6YijuLUAyZk4 JojA== X-Gm-Message-State: AOJu0YyG3tyS9lmOFgwsQnlhr0nSBBTRWanOVDVYhyuQHrKIE4+zrw72 45VGDlKAudEBbXY7mIWrIEus4blZni2pGl9tphv+W8KvtGMWDdlyPHzBUmAH4CwZw7RhNAl0dNk l7HXQCxrU X-Received: by 2002:a05:6a21:b8b:b0:1cf:51a1:8e89 with SMTP id adf61e73a8af0-1cf5e1c5ef2mr2725772637.47.1726006578083; Tue, 10 Sep 2024 15:16:18 -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.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:17 -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 03/39] hw/arm: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:30 -0700 Message-Id: <20240910221606.1817478-4-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42f.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- hw/arm/highbank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/highbank.c b/hw/arm/highbank.c index c71b1a8db32..72c4cbff39d 100644 --- a/hw/arm/highbank.c +++ b/hw/arm/highbank.c @@ -199,7 +199,7 @@ static void calxeda_init(MachineState *machine, enum cxmachines machine_id) machine->cpu_type = ARM_CPU_TYPE_NAME("cortex-a15"); break; default: - assert(0); + g_assert_not_reached(); } for (n = 0; n < smp_cpus; n++) { From patchwork Tue Sep 10 22:15:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827050 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp528870wrc; Tue, 10 Sep 2024 15:17:42 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWIqMMCAPBuGHUnJZ43+AckHx5HmEZ8zD0VrkSTR2a2bAmrUGLrLjWpgNwN7KS7B+E3Msgu6Q==@linaro.org X-Google-Smtp-Source: AGHT+IGmvdTelo2ne9vTkyfznSE+kj4siIoGPfq+Z32TFk0uyX0N/M7Y+quJvwmX6HeGR4i1ZwHh X-Received: by 2002:ac8:5a45:0:b0:457:d1e9:fc1c with SMTP id d75a77b69052e-4584e948d18mr16278051cf.42.1726006662446; Tue, 10 Sep 2024 15:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006662; cv=none; d=google.com; s=arc-20240605; b=A44lcrdbqeuughpZ5GNgVlGDE+FRI7DrJn6edShatkZ6UrKlVe7v91R6mINsMoRZXx Ngy6b28K+JqMSqiSs8b/EQFSsqPXbJ+Wz/267ApXBtJLb4YveoGRFMhplAbiR3BwQbb4 OQQlp6wSRl8MqW2NG9sSmV1wme7/HuKgt5h2t1NeiVCupkTomAR7XoWkA1EQOgwH+cUI DRYoUiR6ukCtpZkKvFOutf9V7v0Va6Wan88aBZifHt0u70h11k40MLy/bJO8U7w26NrI 4d4xkhY6rAGM2eyZFDBUR8wxOoLsuNuX+k6xvgx5e32cQAn7s/XHniknha9h5hppV9nD l9Hg== 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=4bb0fjpC/uXLETkc56Hcik4SHlsgHHXUYkY/bpvbVpc=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=h5dM3IoOxWby0kHjCiRrLI7WsZMRtaC9de8ADtJh509uk8xFCQdg9mwmy6AqbQ/Crw sON7sr9ZSMEs7cks4j+s3821bp0UOmxzGGyDY5Z7xOi/Cd5D9ChiligndjX7y0JlIcoB UmA3/NhVDdQofzYjMP+6QD0PqxepDF8uiripfxUnxnn4QiM9j9xWnAqmf3CU1VKoxRHR VmRBOuOPMEtzDx+edAoYu/AqwljObZLi5S/ekqPplHTPKy32+S8ir0ZzMLzpUWTRYzGS UFqgf77qeQ8kxh8fpV0cLrPX7EfFoWEbQyBy0cJtjJtysdJg8D73CpsSGJVEtvrs/2H5 AILA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SwaEz81R; 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 d75a77b69052e-45823023674si83701111cf.793.2024.09.10.15.17.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:17:42 -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=SwaEz81R; 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 1so9AS-00016J-Mk; Tue, 10 Sep 2024 18:17:00 -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 1so99t-0006sE-9k for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:26 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so99p-0006V1-PE for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:24 -0400 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-718e11e4186so1244082b3a.2 for ; Tue, 10 Sep 2024 15:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006580; x=1726611380; 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=4bb0fjpC/uXLETkc56Hcik4SHlsgHHXUYkY/bpvbVpc=; b=SwaEz81RYv2cXtVkGDJznPNd6qw46cg34lflgjmh8U5v8HrE12TtTr7txtWpt1Ze9x 2PQrnocj80qzzAV1pMRuQIZEK1SeMV/gEp3UtegP6C1VYA4ZqQGcLBiSLD+htVHC2/f2 Lg4d02KFozjLDLp5JJ1Dv9wwQnL3cC0UbdNRDL8RBhQqZE47vEtJPTfj6XcBk6sT7vbw lZ6f6RlPiON1hbpeLgtZt4RBJZIAnOSWClx9qhYvEh4PqXGRg6377I/T4IkmGZIlWBAn u+xT7892GwlCIIFV3VLVPyWtGVd0x+1lMrVr66r8q0jVVAd5LoFfUvlFqQciLqj02bJ2 YTXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006580; x=1726611380; 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=4bb0fjpC/uXLETkc56Hcik4SHlsgHHXUYkY/bpvbVpc=; b=AoXbelSyUxhKCWDASdEqG0x3VAwWr1VBu5tXRSL/Ab2G8DItiyV3JYuvau7qz+dAV2 2SqyJ81t1M3jZvbd6A+1vnOWswPFYBmys8jSRPTOljh3G7SmOdLa4ZVY4zWUtmPuBaZP YZn96RR4qrFT2Tic86tAIgNVykvxJ1pkRUbXph18nCalW62Un0HxDs+JxF8XAYfkkGZQ TCwktcsf2gyLQt7RAzCxwlzRTyAFP2P24zjKincqTPjLlrgx5eyVYBmvoFrVblios/vM DMtW1wiHrDyXIlTR3170POU3o0ZpYUIK3A2yuX16WST8UWwblKuLyXCpcqbuYMtX5uE8 LjnQ== X-Gm-Message-State: AOJu0Yxt6JPcktzYGgHR/fM7bkwjrk8j13vWh+zrvG/liQLRV/Cv5T92 C562KcBDIE108inNA3ryMHkBG6D9g7QC52LLQmN0Y65j5rpz4XarKoOQRWnqq+g/eaxVg8+9onZ QjNCTfQl/ X-Received: by 2002:a05:6a00:928c:b0:714:28c7:2455 with SMTP id d2e1a72fcca58-71916d950a2mr1273190b3a.6.1726006580270; Tue, 10 Sep 2024 15:16:20 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:19 -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 04/39] hw/char: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:31 -0700 Message-Id: <20240910221606.1817478-5-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x430.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- hw/char/avr_usart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/char/avr_usart.c b/hw/char/avr_usart.c index 5bcf9db0b78..e738a2ca97e 100644 --- a/hw/char/avr_usart.c +++ b/hw/char/avr_usart.c @@ -86,7 +86,7 @@ static void update_char_mask(AVRUsartState *usart) usart->char_mask = 0b11111111; break; default: - assert(0); + g_assert_not_reached(); } } From patchwork Tue Sep 10 22:15:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827056 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529039wrc; Tue, 10 Sep 2024 15:18:13 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVTs1vXXbJzJcfY2wm/vqESUbwp8fDHYcyocFohsWA9I4Iwnusbfu+kgQDjGGFsG31Aciwhbg==@linaro.org X-Google-Smtp-Source: AGHT+IGRAh1k9WM1n3gglSL1GKcwXy3b/c2h/jPbTCLqx5rhBIdxwPH6eBHYbYmD2FfMW2HEnW1I X-Received: by 2002:a05:620a:4252:b0:7a1:6062:ed63 with SMTP id af79cd13be357-7a997339e96mr1992099485a.29.1726006693363; Tue, 10 Sep 2024 15:18:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006693; cv=none; d=google.com; s=arc-20240605; b=PKlKIxE07kuaE0BcaSUobmo3ZjZeQ3hM6zWhTLxjg0VQTaUVYl+vbCdc14qcfOAckv Jo3pxbjDlsbAb0Un6ClWI961w4MvpVJ+4rVjcNUQKeITmowfuGliib2TILAJIIgX82Fj gcjkRjVHHlLfpaXST0fnpAt6tYccJou9Me77S8VoduplgHU6BcNWj72/AOlDnn1UJBWw 38KKb0Cby0+t764e0QsnJ2drOAYfa5hWW9Wy/OE9HkQ2zrf3K6c9Qyn5vUp/DwYkHJvF V7noSsSgFDjA7w8mPN//pUHSXYzoSNvwZ2XML/utuo0aqB6YXM+JotkLvoldxia4bdL4 vGUA== 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=8E41vvCuzFfFnWNVteAbOukx+NZntvmSmJeEnMZhnio=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=ZFIlOLnbYdHbTcsqsAsLEh6JH1FAOOCNG/pSBMM56+k/pJzWi4yjc/y3AQf7CLFUJW cLYO531/2+1DYjd5w5ZrLSWujrGHIGYZY7EMSeZA66P2M07sikIEtSqWr2em5tinwuYx XO4r8ck1XoJjZI1hqr8RchP4Jc/x20faw/sqmiWrAkoroaqfyx+aBF9iRA3/3NyH4rt/ z5/4dZ7BcAV0Ol7KG8SOaNyXoSphC8FCANoJtx+IdOih8NY3bPJYF1pQ+L5k/i0njXWI J5Mda9Yo4qu5FqKmEzO1A6Kd0bh1wWdgxt8BsiVbL/IUsAA1gCn1t1dKSxwkzW+GueAG bgXQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kQXqe8EZ; 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-7a9a79ef80esi167063885a.190.2024.09.10.15.18.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:18:13 -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=kQXqe8EZ; 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 1so9AK-0008NN-Lu; Tue, 10 Sep 2024 18:16:54 -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 1so99v-00072j-VE for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:28 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so99s-0006Vs-Ug for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:27 -0400 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-718e1ce7e84so3015522b3a.1 for ; Tue, 10 Sep 2024 15:16:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006582; x=1726611382; 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=8E41vvCuzFfFnWNVteAbOukx+NZntvmSmJeEnMZhnio=; b=kQXqe8EZd5MJkDKysWif9bigJi5cEeyuihaPnl+l6I+CFXHMrf/+lshxHlqtOlNLMZ Zw8TKwnN8XHmOlwezyimKoS/FsK403QCWVd64GAXwEGgSVv3go/0hM8b4LQNPMXxjr0m 2UANvhvaGRpMf+txypjRTsCAMXMzqezKop0BmJbxE0UK0PCEAKGRCW4Q7ZOQrqDUrjfr ErFlfK4NpT9db6ce9xUvzGbGnEnLiII0Fiu85LGr6Hsh9b5CLQMsuPktlVsU9IlRNFup H78pkHiKorm64kyl85GYhoFO1b/i3W/Nuzf76wypQ7wWi6xvZKiARWsIkIQH9tMKiu/Z SejA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006582; x=1726611382; 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=8E41vvCuzFfFnWNVteAbOukx+NZntvmSmJeEnMZhnio=; b=DLqNtnRK0OXY9saWlNmQzFoOu/yesZiSzDYBv/hq6O750WVKmW/T6aVryYdeFX8gkA iPTKy7cw5aYPy0ZIN3c45uQlV5ursrhP3XOTCzsxvkWm8BIMTWFo893zMFQFojXosEzJ m/g/4LlpulxQ4NOwEuAPKKgxqmtTtwP321p4Seu+wAZ9QZteF7ou9UayZLwQzohEPpWd Sp1mbtvFuVFarG65PwPOBzThhHB8liXIcoT03ZuKwzxLT2wGsOARm9dmn4dz2YY8hEUe 5GjBWuph9MUiM5T5X5ENDFBuuP2/DDnlmezH/O/OnBhS3dSVXcNcoCwTZqZoc1dFkIkp kbFQ== X-Gm-Message-State: AOJu0YzwrHLiqLFJYO0KZ6SSujSYyikZOnmOcnxj4nShPnoOIq88e5ez qE1hRZFXRpY2cUc7EYs5hboL9SguShxAAVTxXMYBMNyruh7qyxa9udbj4msdxsU2k0Rqi76nHMg //FqX5Q3r X-Received: by 2002:a05:6a00:218e:b0:717:9768:a4e7 with SMTP id d2e1a72fcca58-718d5ded0acmr15822990b3a.2.1726006582456; Tue, 10 Sep 2024 15:16:22 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:22 -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 05/39] hw/core: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:32 -0700 Message-Id: <20240910221606.1817478-6-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x433.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-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 f8ce332cfe9..14283293b42 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); From patchwork Tue Sep 10 22:15:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827084 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530785wrc; Tue, 10 Sep 2024 15:24:15 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWujCOnkSA2l4/hYKaULa2Pm6ljFvmsGZvICQJ50b4sGhgifveYSYyZb2S4sQz3T4S7hbsoJQ==@linaro.org X-Google-Smtp-Source: AGHT+IFktGbnB+hHZbU46hnMlKOETZHxUu/V5A8LnRhU7kEtxwpw0V7vx0iecuu1Wjae4ICU7idg X-Received: by 2002:a05:622a:1114:b0:453:4b39:c740 with SMTP id d75a77b69052e-4584e8fd445mr13567181cf.5.1726007055714; Tue, 10 Sep 2024 15:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726007055; cv=none; d=google.com; s=arc-20240605; b=JhpBJNkT4htbtXLeTFhkRIExTrj/q0Ticmz9Y686Php4eFdn2aMrd4eOt1i9TgRRzu /Hnvw5O5UMs4jm09VbDQsdw6EXDJFz6PsjLMu+KpGkS+90F+FusDjk+zVkSR0/8rjVQK wSNtYg1AIU9M0sgTbAVV+ID9BswN7qY9+fHEJ+C2BmM7accDQZYk5ZOu3IcNs+E+/VXQ Nr2Oo6dfcFVLMHwjWqdb495QfujrXyA+wBk0VYVhDtepDUY6vT7aXVn/1iLR3jziVwit Sy8PLi1wUoVhlqgXHEv+2zZ9dwuTGCrmJrteCb+r7ka9g6v/4QG20NZOPt7svqazU/Op Ny/g== 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=puqvVpFKVlVCK3CqflCQnP9TK7q5f0hM5PCb/iix3yg=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=Qx1UqthLSZiOB1DeJGOQuPEMGc3FP4GYdxSl4xXpzknbt0YjZWVFRPhAuzmasRhYDU 399T+e6ZjuvwmVzeE7lZ5cIsClMx+jpsu1IX++yVvEHvcrphcOoQJUK3PMZXg0G1cogF Dz07IwnmJHVTMfNXVDAGB2ynoGqT2u9eZkzReX9dzHlHt0LV3u6G767yoxRL+0maxYp8 O4WxB0YJntJj01/QrNCU3OdPn23d3fBZ/6pWQLJ/ataZuSV4OVYS0s60LG/yR+jZ4eiV ubL/pVIsrYMD/4r2sFTAYaDLQOABDspyNw+VnCGtIFlT+2PCMMeAIchMc54L1OYLfJxS xzSg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pVI7ok+Z; 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 d75a77b69052e-45823021385si85064141cf.759.2024.09.10.15.24.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:24:15 -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=pVI7ok+Z; 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 1so9AX-0001iB-8o; Tue, 10 Sep 2024 18:17:05 -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 1so99x-00078b-9s for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:30 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so99u-0006XL-PJ for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:28 -0400 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-718f28f77f4so1194163b3a.1 for ; Tue, 10 Sep 2024 15:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006585; x=1726611385; 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=puqvVpFKVlVCK3CqflCQnP9TK7q5f0hM5PCb/iix3yg=; b=pVI7ok+ZZOuD7uaGL9RbmRLuB/lXoCFO74nvc7lhmkJsZLSQ7YZZQkbAN0ntw9ht/b D28nudFNaFUpozuh5VppuZaji9n9/NQxAvCqQVE5vYn9HxuFrtn7JgegiFULwk3/ZS7d 6AvUQL+O+6xNx3rTbTWrufhncpT0dukVV8vlB7aYTivuCvPSEmLJFy4syExqwdtpaOoC J8zwkbmDRPrk/PHnMkkYDRa3e6elufALqy/8Y6OZeKeFfmTPOq3c1DS0wNNwX4I+xI62 mcSbec3iSph3idva1JbQ5LNtvHBkfRNDMDuFWkpnw5CmR7SOlXArHb+a1rIl4gtegF59 oukw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006585; x=1726611385; 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=puqvVpFKVlVCK3CqflCQnP9TK7q5f0hM5PCb/iix3yg=; b=bMI3NF+BDV4ZKFlTqzRg60mOZ5tddCJ3LP2OqTSI1bWLYPcIcvOicBZGoN5nIn3W+5 pLfO2Bp3OnYJbMYCFk2jDZGfsdytlOzltt1cA/YvPvv7L2ynrRBi7z+N9yEnytJ7NyGk j/Me4yLIOWmoHUdJD4jmAfP1S2spm9l0XYQWXkyJF7s4YtpDCzbQ7uhfjFEpMfKXVH1K hX1gSW6FqbybRAo6vEfD9ZRxASrv2+6bD1VSSsweIf378qIQWyA1tB6amiRpRa3dRDnp LYwdQj69EhYaPdtn++T6jTdfJdL2qFxkvW0Ksw06CcvkB85nruKrVIL9e1BWqJ2jkViu F3EA== X-Gm-Message-State: AOJu0Yx+XeJcOomWMZJ3+kr3CnsiOnEqXh12cp5FthMu3YyWEWyGyBEN Vd9bs0wrLJvA36U+eEHJM47nqoLdO9slB0uvMTntB31AO5AaTZ5BT3Ri/IXxKVVuVJjgg7yNuRx 8TU6HcMSr X-Received: by 2002:a05:6a00:8586:b0:717:8aaf:43be with SMTP id d2e1a72fcca58-71916baea16mr1226278b3a.0.1726006584757; Tue, 10 Sep 2024 15:16:24 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:24 -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 06/39] hw/net: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:33 -0700 Message-Id: <20240910221606.1817478-7-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42c.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- hw/net/i82596.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/net/i82596.c b/hw/net/i82596.c index 6cc8292a65a..cd416a00ffa 100644 --- a/hw/net/i82596.c +++ b/hw/net/i82596.c @@ -282,7 +282,7 @@ static void command_loop(I82596State *s) case CmdDump: case CmdDiagnose: printf("FIXME Command %d !!\n", cmd & 7); - assert(0); + g_assert_not_reached(); } /* update status */ From patchwork Tue Sep 10 22:15:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827082 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530652wrc; Tue, 10 Sep 2024 15:23:50 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUDltfmIIrZFW7NOgZTEeuAd1KorFwSAuVdIIl9EnB9XbIs8M3vWxI/2Atq/SC4+3Kza+rJhQ==@linaro.org X-Google-Smtp-Source: AGHT+IF8PkstJ9AUnbIkDiDbUW8dDS8lLgbK/FxhVz1ZLTA7iLsZt4rw3vb2n9BGmzqxtCzXpF3x X-Received: by 2002:a05:6214:4606:b0:6c5:5095:410c with SMTP id 6a1803df08f44-6c55fb82b49mr9731726d6.52.1726007029975; Tue, 10 Sep 2024 15:23:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726007029; cv=none; d=google.com; s=arc-20240605; b=jEKfZozYaixD3LBrAbZKT2R9eJCj2Pzh66zFsK5zS8sVRgeXHG3eYxnhJyB8QBRnP2 hRByrYMrjSYnm9WrWMCj4r+P5Om9Ttfg3winoGW7HCFEU/VgnKYtb12vum5SLki1FEw9 kO4HSDpk5/5y4uB3g1H/vcFdkVnwWtdycGavfVmCXYEFUi44V0n15Ni4SWpi0FhbY7XX MJW1WIE6ClP/evh6JhPQxP6o+PykyD+VkSdTY/QRxERQSC3zIk9UktIRSPg3UoXPjpXv UTTFjad2C+Mr4qrWcueyMAICSLTdfmL610ww9Y38qCzU7AfU/mf0QTL8yJMYqMCTMjUl TunQ== 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=evr5nxnDoGKUr/y5uq9IdG4R5sIImXVpCjqkjM7zT2c=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=YQIs4LXtZmBeMSsA/HhCrGMzMpwsQwJRx+8L8FjmMA/5QSSS29fJUvCLsCEdNW1NFs KWsCWw/gVOeuerlhecFw0W7Lpv1c8i+7k15ScFlfEjB38pd91xV2HTV+J67tGVCLEj+W S3WAGFOj7vMSjPf3ULXXE6JTodnz7l+Fug8hi2CiSdhiS+l6cEd/o8OxPCBOC+FkGmFT P36NkIvORpYfjlywEWEl0wBFmOzbWD4PZpVO2/fKTVSvTYRlBRBzU4AbxamqIUtaaMos R0FNL1DcZw9wfMQb7vRHOnFeDAB8QszRaYzycfmmtFmQwuLJqT221X558I7eTdKN0SkC wyIg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eQ2VCLxs; 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 6a1803df08f44-6c534782bf5si87602976d6.409.2024.09.10.15.23.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:23:49 -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=eQ2VCLxs; 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 1so9AW-0001dr-MO; Tue, 10 Sep 2024 18:17:04 -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 1so99y-0007DR-JB for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:30 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so99w-0006YQ-N2 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:30 -0400 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-718f4fd89e5so1253183b3a.0 for ; Tue, 10 Sep 2024 15:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006587; x=1726611387; 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=evr5nxnDoGKUr/y5uq9IdG4R5sIImXVpCjqkjM7zT2c=; b=eQ2VCLxsIbTdaGefcCP6f5jwEVlsK3jtMq5OcArtJ5JxsA9zsyov8H2Fr1EsrXYkjm Hvwkq2cO5c4SFO+1lX1eFtT+Rtcu3iaVulN7gNIZ4DRgjnSBQ0wJNQjEo24G//CndGgT Ha2Do6t/HY2IrX+iFwwF0Ijc/c644BhL1Hw+u4E1DekeOS/IWrSiHjA5+lR/jYVJeZ7J QzA0Ko+Dpuc2et6AfOKE3wRbEe7df4lC17sgYFSxErcFRO+XH9zlvSelr+QMXArbOpER OF0moiB9bt3mLS8edBAdnv6Wncq3SxLiEiInlm3LhLXcomN3/8sTB+YuVtf8HvlDEwvt MdEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006587; x=1726611387; 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=evr5nxnDoGKUr/y5uq9IdG4R5sIImXVpCjqkjM7zT2c=; b=PdTg9SN43rgzZE1DrApBgVuCdRr30Q71qiLdqojtjgHBYOG7zosUiL7M2imzoaoXyg BEDTLFofWf7rPEwTmi+eg9wZJ+Rd2udppTN8tKzvv3fLp9R48ZfmOm2SSviJj/Gu0qqH TXi5GQoCnzomSzauidI9geK55aW2kdvD0cBwFmjYjHoj8Zje7F4PBgCRIhLmHeBUePgB vlnZsNE7DDnd51zHni83oIfT3XbFTPHgQOFjXG6jFhg4vR855iboX0DeCJd+VxO1pEAa nadMdfAznb12KxdMXk78pfD+uQbNIL+S7wiNoTv/flruAhdiYdNOrpGNDYrCa0t+N5tQ bx0Q== X-Gm-Message-State: AOJu0YzHTWykl31KXxnZTf43v2NA3iWQWwzEBAYroodMYEIlAMwqYQvE ClShA4pqbQuTaPWHBc61qSGbnQwxzCdFK9mkDxKy3yRKpqEGEPmxc4de9eR9lRWeAISEXMAHKmC trGrzT6kr X-Received: by 2002:a05:6a20:214a:b0:1cf:6625:f08 with SMTP id adf61e73a8af0-1cf662514d3mr560108637.45.1726006587131; Tue, 10 Sep 2024 15:16:27 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:26 -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 07/39] hw/watchdog: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:34 -0700 Message-Id: <20240910221606.1817478-8-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x430.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard W.M. Jones --- hw/watchdog/watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/watchdog/watchdog.c b/hw/watchdog/watchdog.c index 955046161bf..d0ce3c4ac55 100644 --- a/hw/watchdog/watchdog.c +++ b/hw/watchdog/watchdog.c @@ -85,7 +85,7 @@ void watchdog_perform_action(void) break; default: - assert(0); + g_assert_not_reached(); } } From patchwork Tue Sep 10 22:15:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827055 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529030wrc; Tue, 10 Sep 2024 15:18:12 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVmYJ6Fldi1bSsC1LbFa7yeibaJfA1mJsfS+M9DrmEJ8gqyG//+IVP9o2X42lMrilEk4Qqfkw==@linaro.org X-Google-Smtp-Source: AGHT+IFxyZ+sB2uG92YxqbgTlHM3zltLjCm6B40C7p1hEKGXrw6oYort7gUo1bhhybYlJEn0KDCS X-Received: by 2002:a05:620a:28d5:b0:79d:6d7d:e5b3 with SMTP id af79cd13be357-7a9d3d3ac23mr157699285a.42.1726006692098; Tue, 10 Sep 2024 15:18:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006692; cv=none; d=google.com; s=arc-20240605; b=GWOqlUjHDIH+pcf/QYZtBjzsLie6txouZIbbxHDXz9dV5nO1m3b1TFAuhbOSj/8Mm4 9MIcu1W0Zlmw+1fIJJGlVN132l2V6iDWaJ6HRzzJPQ22ShkXnck+8DP1PsZmeYYcNlZ3 y39XdsA4gjYwOV9TrHERcTfnump89zOsQa0J1k1C/gqmSfaOpcW19x//c1xV/P6jM3er iNiX1tl9w29bM65nTE131womctDgBohxOticBTa4p8w4LEdX5gUjvhMcOCL3DYbPGFZT BGTKhsHxzooDOySZrszNKckBLqmxW3EA5tzoADjjj+ZND8Han5IyqE24a2OIJpMqjaVL FdLg== 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=gSYhajPs2VsIZSUZF9nxgEDV+zkDqTYhjuMBxS8/VrA=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=OUU1rLAL4QuyHvIxE5/jr0Nyg0VrUAxW/UxsCEQsRknDz+SyJ2eHubpK48RnuF3uY5 H0yE1DEVbYlhZpuSaDGl3AaqjiaTXIGE2kiMYq30xzcTKC8ZIiT6P7qUKAWL4PMA7Bgo l+3xrgnMKoM8ztEErEMN3cB/635Nd0tkBKL4a3nx3OXRrHt6MXiagpaBsSeccpiC0LIY phh3xunDYvb7jiwwvyR658nKygBWJgvOtBzeVvL2bdAOupnnjNqXqwL43UANWkDGP4Wv AmKohZXvzO+7+EHDxC6D1XMw/yAm0b8gcGuIPg9PlCpj96B0RHIPI1OfD26udnlbVd5g Co7Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T5DrU0Qb; 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-7a9a79ef800si867280785a.158.2024.09.10.15.18.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:18:12 -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=T5DrU0Qb; 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 1so9Am-000349-8M; Tue, 10 Sep 2024 18:17:20 -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 1so9A3-0007XJ-52 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:36 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so99z-0006Zw-J7 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:34 -0400 Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-7dafd9df795so1101993a12.1 for ; Tue, 10 Sep 2024 15:16:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006589; x=1726611389; 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=gSYhajPs2VsIZSUZF9nxgEDV+zkDqTYhjuMBxS8/VrA=; b=T5DrU0QbHttzqM+QYPxAuuVUkakCPqhSPQJ/u2L/vHMZeZmpKLXQ0IY0d7lHvjHVDQ j6FpHdZsqe8deaXtHx15Hcx2CqYC/H6aXFEdevV/foJvQL4qSD0ipeZ7+8THNaVFZcv0 ZBMNg2f3T4c4X5wi5DQDNEhU7/JwvRyRCzU8/CLnYlUtbQjr+SHCyoIrmebJinX7JQbe 7PHml71ogv5pFgikir50cVcQS2KXHLhlAXJRUaSteQz9/FkXLKLgFgjA8AJ26KzhTnnB L3VXsWtcNts7KjMMTsWSDuWdcnfa2b0CqJx5cE95xrzlw3n5cs3pmBqgF8e89JE1yiGu owtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006589; x=1726611389; 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=gSYhajPs2VsIZSUZF9nxgEDV+zkDqTYhjuMBxS8/VrA=; b=rNfh99TIFhvUiD3kQDsGBJj3mysajUiqge+f/cdf8e2nwI7Abo56rRQTTAVhqReXTR LGOn4Ds3kedMUpFwZVVwMoWULepxy30tYiXFD+9ndZLGFHJ4U2+mZpb9qHOZI/vV0ait 8iSaP8+M3m9ECjbs7vSGnzDaQJQ5e2Q9f25vY8gDl55zY6jKXMJZ+xzPzg5lzbMw+v8j upT/oYEVj3Wg5prxJOq+H2ISt4i49CmLgcNwhH6ls7b1MHDvDTEGGWoxj8w5faQO6yOV tVWfb/veO82rC/HmhYfNZCv5h2rDKRCUBhzjyY1mhltpqJnsKSrmun6hOriRpsOMUHVK HMRA== X-Gm-Message-State: AOJu0YyNBQap2/8jD+DjzqaeLM4+7GO9q8xuARSLMTnWpTUs4V6DpR7o 6msCLwL2eRJH6buAPa+AUDZZdvjrBb8dF/cJbU5zQ5XTsjf9E6nYXgsuQB5kjVjXy7hXv25I8WB BHGOfnr38 X-Received: by 2002:a05:6a20:c703:b0:1cf:2357:df1a with SMTP id adf61e73a8af0-1cf62c8d808mr1658573637.10.1726006589396; Tue, 10 Sep 2024 15:16:29 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:28 -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 08/39] migration: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:35 -0700 Message-Id: <20240910221606.1817478-9-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pg1-x533.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Fabiano Rosas Reviewed-by: Richard Henderson Reviewed-by: Peter Xu --- migration/migration-hmp-cmds.c | 2 +- migration/postcopy-ram.c | 14 +++++++------- migration/ram.c | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/migration/migration-hmp-cmds.c b/migration/migration-hmp-cmds.c index 7d608d26e19..e6e96aa6288 100644 --- a/migration/migration-hmp-cmds.c +++ b/migration/migration-hmp-cmds.c @@ -636,7 +636,7 @@ void hmp_migrate_set_parameter(Monitor *mon, const QDict *qdict) visit_type_bool(v, param, &p->direct_io, &err); break; default: - assert(0); + g_assert_not_reached(); } if (err) { diff --git a/migration/postcopy-ram.c b/migration/postcopy-ram.c index 1c374b7ea1e..f431bbc0d4f 100644 --- a/migration/postcopy-ram.c +++ b/migration/postcopy-ram.c @@ -1411,40 +1411,40 @@ int postcopy_ram_incoming_init(MigrationIncomingState *mis) int postcopy_ram_incoming_cleanup(MigrationIncomingState *mis) { - assert(0); + g_assert_not_reached(); return -1; } int postcopy_ram_prepare_discard(MigrationIncomingState *mis) { - assert(0); + g_assert_not_reached(); return -1; } int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb, uint64_t client_addr, uint64_t rb_offset) { - assert(0); + g_assert_not_reached(); return -1; } int postcopy_ram_incoming_setup(MigrationIncomingState *mis) { - assert(0); + g_assert_not_reached(); return -1; } int postcopy_place_page(MigrationIncomingState *mis, void *host, void *from, RAMBlock *rb) { - assert(0); + g_assert_not_reached(); return -1; } int postcopy_place_page_zero(MigrationIncomingState *mis, void *host, RAMBlock *rb) { - assert(0); + g_assert_not_reached(); return -1; } @@ -1452,7 +1452,7 @@ int postcopy_wake_shared(struct PostCopyFD *pcfd, uint64_t client_addr, RAMBlock *rb) { - assert(0); + g_assert_not_reached(); return -1; } #endif diff --git a/migration/ram.c b/migration/ram.c index 67ca3d5d51a..0aa5d347439 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -1765,19 +1765,19 @@ bool ram_write_tracking_available(void) bool ram_write_tracking_compatible(void) { - assert(0); + g_assert_not_reached(); return false; } int ram_write_tracking_start(void) { - assert(0); + g_assert_not_reached(); return -1; } void ram_write_tracking_stop(void) { - assert(0); + g_assert_not_reached(); } #endif /* defined(__linux__) */ From patchwork Tue Sep 10 22:15:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827060 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529402wrc; Tue, 10 Sep 2024 15:19:28 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV61bgKm4lRbaU5H6nKuDTG4YlAM6U8cvEvC7sBQ/V6ofG3TPnz1UDFHgVYKL3Nh5gtfeng6w==@linaro.org X-Google-Smtp-Source: AGHT+IGE3YxpZGy8iL/fR8aA+zvTB6atIvvd/1Dsb+LCWsJLg7aSFamHn6ComLnWBbA4BJ5C4q2w X-Received: by 2002:a05:620a:29c5:b0:7a1:e341:d543 with SMTP id af79cd13be357-7a9bf9cac58mr853670685a.28.1726006768647; Tue, 10 Sep 2024 15:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006768; cv=none; d=google.com; s=arc-20240605; b=BYc1QAgZDU8hzRxMFUUWqwJVex2AvgYn5ZVwgQ1fQQ2QhytOtfeQthPJxmgTCV+8FJ j05R4SjzqfruEM5FE/zRsqg6LyndrRNYfxQ0qN2k7ZZ2VJAzTk3H3t7LxY0QD4CBeY36 r28y4FNnrDGOroKqVhZLN9xF/kK4gu+PsUTwhQSD6XOUjuFoVbnDYdAkUw4B1YN29DHv 7XZvUpH98iVTJ+1twUsJeJ/3SGVYq2Kul1McIVnZ7eDmQ/AShGa0Gh2BVDb1N+TtQi2l C/oK6HOsv7tDcyL8S8gVn+qRKlg8ZNMNao8vxc/89i9oMuj8xos9fV93syskiwC6qPmc wmig== 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=W5hvV7fm4k2lFXirrgZp/rTlQTvUf+N/hoDJJrlREps=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=HTFakIpgqlrghtBzJV9U+5wydPuHXgKYfN7OCMQYviJMhfYtloP6v9Yz9r2AKnmDtf Mwnyf6uKwQS3noYqBrVA6OtKIm1PCDGyOEfRtXU2yS1c9YgHKcWDDJzl9BroFwYT/Us1 y0cLsY39m0e+fQ9W+xcNk/IalfBDZshGIKr+ogzxKNYLa9CZkTUKIXea6WofQLhoohIL jUv4iOUL9t54mA/HdxcXHSPN6GukZN1QM1qMP/Kd4yezSA+xr7Z5aUYYQ4s/tSuIVaQS Im6TXWiLPP8xQeVGsUcJo7VeKlHiwuPaMwH78NW9WG4XMR4arymvhmeP415KBfb1UIld hTTg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iV6Q2Jwn; 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-7a9a7a46d72si918114785a.416.2024.09.10.15.19.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:19:28 -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=iV6Q2Jwn; 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 1so9Ap-0003Sj-3S; Tue, 10 Sep 2024 18:17:23 -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 1so9A4-0007d2-H1 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:38 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9A2-0006b3-3j for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:36 -0400 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-718d91eef2eso192990b3a.1 for ; Tue, 10 Sep 2024 15:16:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006592; x=1726611392; 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=W5hvV7fm4k2lFXirrgZp/rTlQTvUf+N/hoDJJrlREps=; b=iV6Q2JwnHS0FwqsQgzbs2v5/xhDtAcmVUlh4UZTTgEtD4YYsezqkKrFLx3ZcUvMd5F ff6+rZg7VTFz8IigQ2a4gn5Xn2t2fN8thq2K8l1Kvn7DwZjkWPN0zV39tkGx3zepJcUi TO5hnztTkVRYO9oxVOl4PjZuhioTLcmDJyN2ulHNVlNhMQI3ZKIqvWUru0EGUHi52Yi+ gzbNqj+QtyQa4swHPcMfstcyc3y2JSdf86ZMYyruMaxlObU6esSuqUOcFfEnwWlBgvXP iZvbyBTLREkuCMDU1mg8+ookrfk5TQxP76c5wuS4O8JACrUiUoFgeFjQGrQbTfPvVltq AG2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006592; x=1726611392; 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=W5hvV7fm4k2lFXirrgZp/rTlQTvUf+N/hoDJJrlREps=; b=JBu1Ln9Yo/8mKTq3rJDLMOcdECgQuXTjzU/h/Gdy7nar5w//e/3XT8PsioK2uWldBi tDW8naXpg7TunyciT/DMAxZOO21Sxi0rGqOCLNSe+8cmZsVwkIR5ZkJP0CpKP+VcE4Bl OenI4UtbVUZB9JcMAZVQ6TcPGRpPENUetZDOZVjC/c88PauKI9qODQZSpFVtGiGNJnLY Ifd0qJKwrIZMN98pEP39cdevA5NKDlKodjGGxj5Mpe343bNdQCMsY2Hub7b29rCctJ0x uxh8CV3+r8fOot3EZ8FHjaeSD3O+G+e3V+p+RF1xdUcwBstMjGBS2vzXYoFNYyimWpJM TJFg== X-Gm-Message-State: AOJu0YxpV/dlLw0ydO9qTdgXiIK7eqrBGDWFNS0n0tVdeHy/prvJHtSj SdjiMfsoMHFNla7MzFVmHGEWTsFffVZpd3o7aFAsDqniCcXh8y159I658RgHB+o3aEIbmGeBx9j GV9JmyLzA X-Received: by 2002:a05:6a00:2d28:b0:704:151d:dcce with SMTP id d2e1a72fcca58-71907eb69b2mr7001325b3a.5.1726006591899; Tue, 10 Sep 2024 15:16:31 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:31 -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 09/39] qobject: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:36 -0700 Message-Id: <20240910221606.1817478-10-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x429.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Kevin Wolf --- qobject/qlit.c | 2 +- qobject/qnum.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/qobject/qlit.c b/qobject/qlit.c index be8332136c2..a62865b6423 100644 --- a/qobject/qlit.c +++ b/qobject/qlit.c @@ -118,7 +118,7 @@ QObject *qobject_from_qlit(const QLitObject *qlit) case QTYPE_QBOOL: return QOBJECT(qbool_from_bool(qlit->value.qbool)); default: - assert(0); + g_assert_not_reached(); } return NULL; diff --git a/qobject/qnum.c b/qobject/qnum.c index 2bbeaedc7b4..2138b563a9f 100644 --- a/qobject/qnum.c +++ b/qobject/qnum.c @@ -85,7 +85,7 @@ bool qnum_get_try_int(const QNum *qn, int64_t *val) return false; } - assert(0); + g_assert_not_reached(); return false; } @@ -123,7 +123,7 @@ bool qnum_get_try_uint(const QNum *qn, uint64_t *val) return false; } - assert(0); + g_assert_not_reached(); return false; } @@ -156,7 +156,7 @@ double qnum_get_double(QNum *qn) return qn->u.dbl; } - assert(0); + g_assert_not_reached(); return 0.0; } @@ -172,7 +172,7 @@ char *qnum_to_string(QNum *qn) return g_strdup_printf("%.17g", qn->u.dbl); } - assert(0); + g_assert_not_reached(); return NULL; } From patchwork Tue Sep 10 22:15:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827053 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp528935wrc; Tue, 10 Sep 2024 15:17:55 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVMGaIGDfXjL+ZDHRxJPO+Yr+dzihOLVcYQ7LnVmlCS+XmhBkOoxMDuPfSmjP9PU99/UcHoPQ==@linaro.org X-Google-Smtp-Source: AGHT+IH5Ycgq7lWaYNwRW+tNAC3AuK5sm9juOuNNxnIlXM5HN027eoVKU9E5vHthc4ogjzhPIaTN X-Received: by 2002:a05:6214:3904:b0:6c3:5db2:d994 with SMTP id 6a1803df08f44-6c55f9ec075mr10936216d6.5.1726006675304; Tue, 10 Sep 2024 15:17:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006675; cv=none; d=google.com; s=arc-20240605; b=Rmx+t8mKuodcRZC8oLIYkgJ15wsNnAIoRM1M6x+NhxyUcuANebnfjAzQ8BztL/6qGK BRsVpF1Cfy+0ZMxtUDLPGplKrEJnrmOnIZq0w+wh0OvJVhG9qqRCoPdfxU6wRMDLrtmz aKCXeZJyFuOsFcGanNsS6nnB/rqVgSZehjkuS6q/z3vLUAp/N71i2oS3fYtPDpIhZjA9 AQH+KbwLrsMVjb596K+u9rpcxuUAAPDDhz5J1P+3BonFt1UrBrfJtzuPmxTvdeTjiJmx UVda/5XXzmzgVz2uKgyESH89K5mnW2UGHMuu/Csnfe6Y9CcjQSCObAoHo4ttvTvLrKhV qwow== 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=kX/5mXkAZg/T7UoQ7ZiM27KDnvioZeAa7JGin+VRbgw=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=FWNoL1r6ewr2sa8TSvZW4Y5qNQoz9Mi9UYZY+qcmDphxEv3dkAi0oFk/0/ltrk0AX/ CBCJ8/Rv5fsJDe+IwfJI/32OkBKHCByJKhTQIsm+SSFanRT0ysjkhDk0BI2FyprV9vkc cUbZ0821TOZSVcmVoFrcQgFXWECojtnt+NlzYy2ygcCI5QH9Cy/DxfQXtXmZCX1RzhUo 3Y1nVpQIVanAO9sdtGrDGusnV5FG8Xv66+qLaPrm04NhJBC0Cb2kY3yVjReDUFY5b/3f jI8+4+9T1fvLqXFSOqSrdeN0qk6qDIuyB6MaT8GPTdSwindCECDAks/SCRdZ3Y0t1tSi u2Lw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MuHddBv5; 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 6a1803df08f44-6c5348c9c10si87830566d6.569.2024.09.10.15.17.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:17:55 -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=MuHddBv5; 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 1so9AV-0001T4-82; Tue, 10 Sep 2024 18:17:03 -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 1so9A6-0007l4-35 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:38 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9A3-0006br-IL for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:37 -0400 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-71788bfe60eso980427b3a.1 for ; Tue, 10 Sep 2024 15:16:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006594; x=1726611394; 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=kX/5mXkAZg/T7UoQ7ZiM27KDnvioZeAa7JGin+VRbgw=; b=MuHddBv5NFAnVZrfmHq2nbZBCtuR0GO9UKkJdmQtOBhBPeKTTVfTYXPwL6Dffw9944 UZc8C0YHUNosMRDQZV1DBqZegATaS5TgkZIXiB0nNUsRsUHwvgF49MMWyspHscVCumbu hmWMFtzvMsgDaX23DThwALXfFbJD4SEigZiKD/GF9ycYoJVA6OE9viP0OczCFhrv8R+V iRidVUUAzjG2Bpk2/cbuEO3YeS6JJ15EbL1FAYhwTEeDb/QNTT6Ga2QJu46pv3LhuoME sY8whbp8FQaW2JNqR0F/ADKKarC/NhCiTw6g6ziVvwXEkY7HwPd+kV2JXOHkrYeWq76n ekzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006594; x=1726611394; 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=kX/5mXkAZg/T7UoQ7ZiM27KDnvioZeAa7JGin+VRbgw=; b=jnHTBckYbtaB20da/YCiVARHDjIO53Eg/99430LglR/AXxf9q/GZteSgkOQOIbfDdj 6VjxwnEQw7+rbEGTjQ040G28/g3RMWNaquly/UaR+vY9kpc6cIWVtbYN8U+VQNKJxkOr Ompa21HNBK5NFcr9h/jTUKid48POK4u2efMoTz6p5wJ3szd2CSE6jBKsPuE+ikrR6S90 83Ubw3b1YweoYZU7P552XEjDbwvofGEEz3BF/C3V2mrQN/K/qWwg0cj39r2dnDgFyEEl wh5r3uNI+ic44XNmaj2lvTU/ILSziHZa2ZXij+cEjpRmD7XoStlm+YmdVt8vn0vERAJ9 FzwA== X-Gm-Message-State: AOJu0YypN8UC2f6m3gt7QvlqBsUcycwAaFuCXHXO3+NdSl68x6gCL5Ty 3sp/ZuN28VWWFWQHS3C2MghTnPLAYZ71kyYapbe1zSgLo9ub40rqkm/Zrug1l/BtLSFFh5+RTI0 zHuz0I2si X-Received: by 2002:a05:6a21:458b:b0:1c8:a5ba:d2ba with SMTP id adf61e73a8af0-1cf62cdaf9cmr1582093637.22.1726006594141; Tue, 10 Sep 2024 15:16:34 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:33 -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 10/39] system: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:37 -0700 Message-Id: <20240910221606.1817478-11-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42a.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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- system/rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/rtc.c b/system/rtc.c index dc44576686e..216d2aee3ae 100644 --- a/system/rtc.c +++ b/system/rtc.c @@ -62,7 +62,7 @@ static time_t qemu_ref_timedate(QEMUClockType clock) } break; default: - assert(0); + g_assert_not_reached(); } return value; } From patchwork Tue Sep 10 22:15:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827076 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530237wrc; Tue, 10 Sep 2024 15:22:17 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXo71IFy9cGiMi5MKOHahVim6BOE13dyWE4Q5H7ToL/ilWjvUGJUglfNT+nf86DSCqn9KWMag==@linaro.org X-Google-Smtp-Source: AGHT+IGErvlKjFPvlGnkjLzE4scxDtJA+REpsSnxmZrljIyqmaYXY4QPmMpxiFKBqgSIT3k/d9ez X-Received: by 2002:a05:6214:3102:b0:6c5:566b:c91a with SMTP id 6a1803df08f44-6c55f82499cmr16156286d6.0.1726006936967; Tue, 10 Sep 2024 15:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006936; cv=none; d=google.com; s=arc-20240605; b=G+TBggeWLgZT7zcSnkBjI7nzMkwl0oBhqeIRO3ZisdKJ8CRlyOfazf0aKlibbgCdCn SFbz8JaW5is2Q//Q9Ues5fGXfUpu/pN0+bK6EUW7NUUAyUaQ3gRQ2IOtJo1l+Qf/U66O O7fOnUCFwFwVgMefJ1Pk0fmlJYwVb3s0Tl+Ujh9lMWaTIDif0+VW/lJrXxwyFODdQoZA pzNcZT2UtsKqJRTpGbtvTJotbcJ3H2BZeTIEQmi8cfSawMu+BHR/HmYLs/qu+4haCSCC tGzz14m83JrEiVOpuegFlyGreEFZwyZ0WYOYBU2Vu/ARM/X/53DQyQLlv6tdbIsCwyVn WbEw== 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=YnSUA+ALMkkUgp2nZaPD+gGHE2tL17OL5Bsrx2xXh8A=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=bvhd8SwsQ9HdEeJOOvTnFxYNIBAU8HJ6FJDgKMZpSf69DXfSt5QP3QfsLXexG/m+ns J5INN1PfD5WpHsv8WeWYXkvTY7xdBe07ded4AV8VAiCdUgTYysStRf3wn+bLcRn4LAiU z9ItfcytZgypYch2UJ5kxt39p6HA9NKpnZYIbSoLMZ+7BqMv8/4y2Nncm29PHUBhu1GX 18mfTrsW0E16jA5M1StdjHAHw/AJYJ2SGUjTT0EGpUpOBWeHiwMDlw5p7QyPF5LiqoG7 Qp7brLQCRZEO8+5HiGWAu16tOyT+uyPjE/mhemW1v3lE0QArfh9OjsbdvqUp8/ZZJ04O woJA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CS9oIXVR; 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 6a1803df08f44-6c53476fa6csi88974966d6.301.2024.09.10.15.22.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:22:16 -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=CS9oIXVR; 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 1so9An-0003DE-9I; Tue, 10 Sep 2024 18:17:22 -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 1so9AD-0008Kn-Ki for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:45 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9A6-0006dC-92 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:44 -0400 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-71788bfe60eso980451b3a.1 for ; Tue, 10 Sep 2024 15:16:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006596; x=1726611396; 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=YnSUA+ALMkkUgp2nZaPD+gGHE2tL17OL5Bsrx2xXh8A=; b=CS9oIXVREjeWphf222WuCIasUWB0XlPKhtnkclbnxFNkt2EXGTSmScJ1Jbs9Y8KgX6 gNIBaQk98yiKNCaq7hfgNesp4ZKPAFTO4dFa/wvxjCLaLLqtcKO8G1Vx9SF5QxPi2T4B UAp8DPFYtBOplaG9+GfUDpeF8bHsNI0j017FwLYaXTS3cJ1h1jns1EXQwdsoLZBH1Gf1 +TyW/YToVOjaX6TNtoKBlgxcyW7U3vvvzH/S9zGZx0U2gB6TtkfAiMTPPgN+SBfyvNap qFb66X2CefliqVM9LovivBoo5Afk2f7A55o9OFYUXZJTGyHjd9rYlZa8kOV+dHJDCGNK Pj9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006596; x=1726611396; 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=YnSUA+ALMkkUgp2nZaPD+gGHE2tL17OL5Bsrx2xXh8A=; b=F9PRTcfRrG1easIa3TcFkLUcSk7ezplNW8JkrbgQqiLwRPEi9E21IGpOEuZ1FoRybY O4QHJGMZt3gOrUsBQpbl8ik1NRyAOY3lUmqfli4xDyBZkpJNd12+7VgniD0WI6a3wbtb EZzQqoEo51GvGdwd4Ry1/uLC04G214TyQ9qBmB/vG+fzNCad7D6GJyjuY9VPr4VqTZny 3bH2SiEphpBeN+JHAHqBwibbd/ad6+71rxm8A8Y3KyIRr5l0p9dFWvT1uC2p1e1B20NA g6W/J8HpEtISywzYwjfKLIQ2vH6KA1yI7d16+B1VdCYBjcVlw/QiqvjFTLSv4YOOcUIz r2ag== X-Gm-Message-State: AOJu0Ywfq4ZAI4Uen3EDQmdyR8Ra0LFG73bIUVC+I1dC8PGG3DGVpARz Vixr0Cwdvmj8OWpm6e6aHep/CfBPgVBVVlY/W9lMwFSD/FD8K3Ikvh0FCbhrRiJhBf4YF/AJpfB fKgmcfkI8 X-Received: by 2002:a05:6a00:4b46:b0:70d:2725:ebe4 with SMTP id d2e1a72fcca58-71916e7a2a1mr1263422b3a.13.1726006596413; Tue, 10 Sep 2024 15:16:36 -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.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:35 -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 11/39] target/ppc: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:38 -0700 Message-Id: <20240910221606.1817478-12-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42f.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Daniel Henrique Barboza --- target/ppc/dfp_helper.c | 8 ++++---- target/ppc/mmu_helper.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/target/ppc/dfp_helper.c b/target/ppc/dfp_helper.c index 5967ea07a92..6ef31a480b7 100644 --- a/target/ppc/dfp_helper.c +++ b/target/ppc/dfp_helper.c @@ -249,7 +249,7 @@ static void dfp_set_FPRF_from_FRT_with_context(struct PPC_DFP *dfp, fprf = 0x05; break; default: - assert(0); /* should never get here */ + g_assert_not_reached(); /* should never get here */ } dfp->env->fpscr &= ~FP_FPRF; dfp->env->fpscr |= (fprf << FPSCR_FPRF); @@ -1243,7 +1243,7 @@ void helper_##op(CPUPPCState *env, ppc_fprp_t *t, ppc_fprp_t *b) \ } else if (decNumberIsQNaN(&dfp.b)) { \ vt.VsrD(1) = -2; \ } else { \ - assert(0); \ + g_assert_not_reached(); \ } \ set_dfp64(t, &vt); \ } else { \ @@ -1252,7 +1252,7 @@ void helper_##op(CPUPPCState *env, ppc_fprp_t *t, ppc_fprp_t *b) \ } else if ((size) == 128) { \ vt.VsrD(1) = dfp.b.exponent + 6176; \ } else { \ - assert(0); \ + g_assert_not_reached(); \ } \ set_dfp64(t, &vt); \ } \ @@ -1300,7 +1300,7 @@ void helper_##op(CPUPPCState *env, ppc_fprp_t *t, ppc_fprp_t *a, \ raw_inf = 0x1e000; \ bias = 6176; \ } else { \ - assert(0); \ + g_assert_not_reached(); \ } \ \ if (unlikely((exp < 0) || (exp > max_exp))) { \ diff --git a/target/ppc/mmu_helper.c b/target/ppc/mmu_helper.c index b0a0676beba..b167b37e0ab 100644 --- a/target/ppc/mmu_helper.c +++ b/target/ppc/mmu_helper.c @@ -316,7 +316,7 @@ void ppc_tlb_invalidate_one(CPUPPCState *env, target_ulong addr) break; default: /* Should never reach here with other MMU models */ - assert(0); + g_assert_not_reached(); } #else ppc_tlb_invalidate_all(env); From patchwork Tue Sep 10 22:15:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827047 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp528793wrc; Tue, 10 Sep 2024 15:17:30 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV89CdgPkU9h3UTkZg86lFg0QWl3uWIrTHG7oyXd5PkzH6fDNtEmz+EmLmapD3GtGTEzhyX4g==@linaro.org X-Google-Smtp-Source: AGHT+IFl3LxdQFyCrI/gsZqSOIlgru8v2y5lTiqWTtPFveaoOMBo5fgRKQZT4hOqr633JBSPJPDk X-Received: by 2002:a05:622a:4e8a:b0:458:1957:b925 with SMTP id d75a77b69052e-4581957c29cmr200783911cf.8.1726006650730; Tue, 10 Sep 2024 15:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006650; cv=none; d=google.com; s=arc-20240605; b=IuJC+dXskbK2YKqjpIclG9cA1fZqnyCZIoNozQI3TmiisURUMImR/kTzUvhL89pY+O DPa1OuZcX31YT2wh7UaRdEQl7jo/rr2/xo9UjzMKY85zJJdcDw15wID0G+bVBhok3L4n E9jMcxJ8f9ZSjJKpJfI1IwYGt/YMS66gkNZA/zPqiEYSjb9NP8QIoxwPvglYGVchC3w9 g3rbwYRbFq2UBwPtQs1CaKTWMPNhmYHqj6Iqp/zdrpdw5TY6ttzK9Fj4NxaH30kDWdHb FvYOrs8N6dhsDYDmdtOholbuj2Q8pm/DJqMxdvwnw+Nzjs78DFuFI0v5sTHLqNegU8dD QsJg== 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=5e7jM2SGiugZIDj7hvcHvckpF7J0ao6gx5zsDNU5OmE=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=Yb+XkmivBRKORmZhZShvGztqLotXnyhUkwFr/exlsjBQ3VWzYp62bVbQN6u0FypzgI W7Gvb0d3sPDkALq1kVxgs8BDViiyUxG7UzkATsvN20ZZTIuDFbTiNroWeqFZXeZ4Fa8F DVCI8/vlsxkb2fOdTp1UTS6l6OTsq2kaEWUZdIhyVg4SSnuZ3ILukQg57X67iwRkvGl+ Ab+Tp8DCbnU7gAD6Y+6ArPrDzzpt8YNbNu4Se3NPqTB+z10q2iKMydMUNS3uR140TYiV 38aWYotb704Pkn90xivx5igaY3RzA1wTzFZNiP8DoUErCZ3qRhcm32P7akc30+NuUTbu awTg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wduGhNEU; 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 d75a77b69052e-4583129c06asi59021441cf.98.2024.09.10.15.17.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:17:30 -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=wduGhNEU; 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 1so9Ak-0002of-13; Tue, 10 Sep 2024 18:17:18 -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 1so9AB-0008Cl-Qc for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:45 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9A8-0006eB-Aw for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:43 -0400 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-717914d6c95so3988211b3a.0 for ; Tue, 10 Sep 2024 15:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006599; x=1726611399; 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=5e7jM2SGiugZIDj7hvcHvckpF7J0ao6gx5zsDNU5OmE=; b=wduGhNEUW654bI5J5WjytgxOJ/DUmkzd1a4bCa6xp5jIMaPPS8DwZ+5ytCc1YCeifk SMZjcVeENF3XDQZRjYoZpkeRZ2w3cZKwzn7ugVLPq3l5u2eC07t9hYVnIJ1ikHhzGQPF lZVUVydpCFasXRtu4BCzVDLZeAgwXAHoEFsNzgsbSbPxfX1qLwwOnrYEuTWJwoe5u6Zc lvH70jsqI9CECxc7udypkPjn/gxZbIGs6iYwATxXds8WG+GTfYL8tq3CAULQzs2tkExB olF3LCQWTNQkzWIxTbPOBp5DZyvgu99bTjcqbWHCo11De2GcKRy3Nf+zcnv44AKvBc1K cJeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006599; x=1726611399; 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=5e7jM2SGiugZIDj7hvcHvckpF7J0ao6gx5zsDNU5OmE=; b=VkOG6hH+9q+5h/kj+aFNWvxkj+J57jpKgUmK/uVzN9jckivHlx5qW1PRtBiG5lo4JT R6/cVthPhEWMszw6JwckX2fPO5hglooZvcP8YKMRxMYkJ968sxWNAlRfEh/y9ER+D/xn v6qZEthK9dRQYEwA9Gbz8Wuo8Vv1jKLjkO/h2sc2Z+MQZtX6RM2yhc10t2tv9I7iwrIu EqRQ6u2l9ChSbMHKYCJPG39qXbEcXAI94jVZT5/Hznu2BZIs/6o0pMa6P32lbsTfU0YE rSqjTWhHFWcrXCMlgAdBWw/WQz0AauN0/FqZ38oxKWl4eVb3Q6nWj4krKVuJ//m9Uhv4 i6GA== X-Gm-Message-State: AOJu0YxRoNQVwAyuHI3EmJM83M6zaFdxnZ+oiRI6ScvbiC0BTEgpDTOL UYEvdvmurIsuM3cIEzwI+6s9qfxoWXpeHTjx4GVR24hTcoB5Pkf5s6clKhFDQd6g4ARKNJ+CkMG ADiFuSeTe X-Received: by 2002:a05:6a20:289e:b0:1cf:4348:d5c8 with SMTP id adf61e73a8af0-1cf5e157922mr2270616637.39.1726006598631; Tue, 10 Sep 2024 15:16:38 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:38 -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 12/39] tests/qtest: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:39 -0700 Message-Id: <20240910221606.1817478-13-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42b.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth --- tests/qtest/ipmi-bt-test.c | 2 +- tests/qtest/ipmi-kcs-test.c | 4 ++-- tests/qtest/rtl8139-test.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/qtest/ipmi-bt-test.c b/tests/qtest/ipmi-bt-test.c index 383239bcd48..13f7c841f59 100644 --- a/tests/qtest/ipmi-bt-test.c +++ b/tests/qtest/ipmi-bt-test.c @@ -251,7 +251,7 @@ static void emu_msg_handler(void) msg[msg_len++] = 0xa0; write_emu_msg(msg, msg_len); } else { - g_assert(0); + g_assert_not_reached(); } } diff --git a/tests/qtest/ipmi-kcs-test.c b/tests/qtest/ipmi-kcs-test.c index afc24dd3e46..3186c6ad64b 100644 --- a/tests/qtest/ipmi-kcs-test.c +++ b/tests/qtest/ipmi-kcs-test.c @@ -145,7 +145,7 @@ static void kcs_cmd(uint8_t *cmd, unsigned int cmd_len, break; default: - g_assert(0); + g_assert_not_reached(); } *rsp_len = j; } @@ -184,7 +184,7 @@ static void kcs_abort(uint8_t *cmd, unsigned int cmd_len, break; default: - g_assert(0); + g_assert_not_reached(); } /* Start the abort here */ diff --git a/tests/qtest/rtl8139-test.c b/tests/qtest/rtl8139-test.c index eedf90f65af..55f671f2f59 100644 --- a/tests/qtest/rtl8139-test.c +++ b/tests/qtest/rtl8139-test.c @@ -65,7 +65,7 @@ PORT(IntrMask, w, 0x3c) PORT(IntrStatus, w, 0x3E) PORT(TimerInt, l, 0x54) -#define fatal(...) do { g_test_message(__VA_ARGS__); g_assert(0); } while (0) +#define fatal(...) do { g_test_message(__VA_ARGS__); g_assert_not_reached(); } while (0) static void test_timer(void) { From patchwork Tue Sep 10 22:15:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827054 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529021wrc; Tue, 10 Sep 2024 15:18:10 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV63lBcdDxAUtyTIYzfzte59RmJRIQlo3gLvg2FNfJvN8y1v/vpj4Viqa9H+/uG/1q8dZVQHQ==@linaro.org X-Google-Smtp-Source: AGHT+IH1ZzSLnfH61WW7AIRx46zALVW1Phmhznfxyka5085WlEsiz2rrxNlTk/wRlIBnrFkOY1qa X-Received: by 2002:a05:6214:5d84:b0:6c3:61c3:5d47 with SMTP id 6a1803df08f44-6c554d59336mr97358746d6.17.1726006689853; Tue, 10 Sep 2024 15:18:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006689; cv=none; d=google.com; s=arc-20240605; b=OscrOCnrMFNMe65M0zzn+c0V3v+wIV6UcOHGrIv683y+MpCvcAr7MXyXCiQkcqhxp2 Ku7rPN/NICQiVlbn1SnUmc7zfj5D8X1lp/+ch9Ksf5pPWnBLnsONZ1/4PJUfPzqZC7Sr ZHV+mhrTTJh+MwtcJO0x9fdVIUX26dC9FEeYy1J2RB6YoIZWpF5ikzSNlN9F/nMiHscS rdhHw/wAyT0Cy9vDLlFYNjpKI+oJRYJEnQmt9akIUoW12Z+pR3pEHne1hewnaB+yur3m tEngv+tz62beQLNPrfpiKSPSwTx4MsFpJFP0A7viFteHnbJ/dY9MkdbxI4AmLfggRZqc TnDA== 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=tK8yXM1iDeE54P3xeT7FLI43fZ41GyYVDWl++WFS7uI=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=WXOJ6zJpq873+JhgPed7PxH4XxGkL/+pElBBiGY9/501n3SzhFqpnEu3SC09U+Ip4E DeG69erTn89Xe2VTS8OiPclhsmYXL45ll/paPtIdlHhE5iZ6weSq7ri4r+G/odZxYalz iqroxccP93PIW3qjpCxHrDOhfv+snfgQissVs99S5X4v02F/n0cYwQ4/aKPiQWn1dGmP yL6zP001rTs1rtJ3UlLkIEwtU0Q7sWPd+x74ohgJcH00rw0SePaInNJMrHo8Jd/Cl1rx CzmTjU5A4Ilhv5Oz936I53jHp0YIC2bGVz2FSJ3UYZ+LIm1GUC1ejg+vh46+QGywrLot mDSw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xAzgPbLw; 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 6a1803df08f44-6c5348c9911si90302226d6.566.2024.09.10.15.18.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:18:09 -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=xAzgPbLw; 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 1so9Az-0004l7-8C; Tue, 10 Sep 2024 18:17:33 -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 1so9AE-0008Q3-AC for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:50 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9AA-0006fG-VS for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:46 -0400 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-71798a15ce5so220953b3a.0 for ; Tue, 10 Sep 2024 15:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006601; x=1726611401; 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=tK8yXM1iDeE54P3xeT7FLI43fZ41GyYVDWl++WFS7uI=; b=xAzgPbLwpvZ1TgUHpbTy7EMLuLWC4YFIcppj8mrOQWuqnk6dfbfBnAMI/k9umRh8bC HZ1uneuxRpDiYHBHJrJEdLuEcNDCp2DIf29SgkdlIZHBIeDahzUNytPODbYv5bmkK4vk R0sXP25wtQDEKlv3SBb90jQHAhg/6cHbpYssPS+A02rX3nfVuyHVFsPQdsK4v44tna1w cukXhghStvwQUaqvcvnl9Jn3sjkrRi/8MKF92JuXjGw53KndJEF3ojgmsDgWsgYN/2bz E7PLZcl/z9MbnDBX3x5M++Mig20X2wdWJ2q+uLqbOmgMqPJTcAOpICQtnmIeytJvee3j aHGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006601; x=1726611401; 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=tK8yXM1iDeE54P3xeT7FLI43fZ41GyYVDWl++WFS7uI=; b=RUOK5fF1ltoY26zXGV80ujGgzrFJrmpQjwaCUENXyWcfNuKe21tRl+zlD8zogmmnM+ C3LWh7NbuuCm7RppCrCaRYhQLTZYy/MMv/enIOBWvUp3Pm+7Spk0LZ5HjaAEZ9R0BCxa D6lbPF2HTpId5+TVBeTis9l9KRfrT4J1g0Z6PVAcAdYp8Z3vOrZBJvWdNQ7pHIfp+hZa CcrPuIXp9KX0tXyBcW0yMc0XrZW4tUXcSYEnhUescic0n4i1CM/dV1m0cBVgnk+66g6f HbnPNx+MuMzx9gUvTGDc94NoGLDzt9AK3DbYSxFjHp7CGpBQzCoqPx7NNZJ5pW/q5zQL 3kqg== X-Gm-Message-State: AOJu0YyMa2R15XTSHdYm6nxYXn5Ugvdn4yhMm8SqO+rdsvd2aQCjvXHq ygBe1Gm71SDhYzygUJMVR2GCET08qo5SEPnQVEctcqWj/6ei6aHRYA829WjtSwCioedz+/238AB cGQZyzXNg X-Received: by 2002:a05:6a21:398d:b0:1cf:3816:d104 with SMTP id adf61e73a8af0-1cf5e3cf5d6mr4003930637.3.1726006600863; Tue, 10 Sep 2024 15:16:40 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:40 -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 13/39] tests/unit: replace assert(0) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:40 -0700 Message-Id: <20240910221606.1817478-14-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42e.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- tests/unit/test-xs-node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test-xs-node.c b/tests/unit/test-xs-node.c index ac94e7ed6c2..2f447a73fb8 100644 --- a/tests/unit/test-xs-node.c +++ b/tests/unit/test-xs-node.c @@ -212,7 +212,7 @@ static void compare_tx(gpointer key, gpointer val, gpointer opaque) printf("Comparison failure in TX %u after serdes:\n", tx_id); dump_ref("Original", t1->root, 0); dump_ref("Deserialised", t2->root, 0); - g_assert(0); + g_assert_not_reached(); } g_assert(t1->nr_nodes == t2->nr_nodes); } @@ -257,7 +257,7 @@ static void check_serdes(XenstoreImplState *s) printf("Comparison failure in main tree after serdes:\n"); dump_ref("Original", s->root, 0); dump_ref("Deserialised", s2->root, 0); - g_assert(0); + g_assert_not_reached(); } nr_transactions1 = g_hash_table_size(s->transactions); From patchwork Tue Sep 10 22:15:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827077 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530262wrc; Tue, 10 Sep 2024 15:22:22 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUjPGGs9TC8bElPTRo/BX8ZSYHWZ5fZtGAo8w5ZRoXSn7rudkRNXlFhAjlCubgts83wChwwCQ==@linaro.org X-Google-Smtp-Source: AGHT+IGgAslG5HtlId+n2FFhOb4cjExHJil+EEdf7YsKLPy6V+pug+Dl35hZcMkaj1N1coB5kBnW X-Received: by 2002:a05:6214:3118:b0:6c3:6e9b:d1e3 with SMTP id 6a1803df08f44-6c52850ea4cmr209528006d6.32.1726006942508; Tue, 10 Sep 2024 15:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006942; cv=none; d=google.com; s=arc-20240605; b=Z5oKqQe+bH9tR64nvb5OhhL5oISAW34+epQTHbC5XZIy0MvE2BTfYDulHFGvWzjr18 QdYGeuXT7ksqW405sJBXyU22z71aIvxRQPtXsNDZ4lhDA4+PgTgBb4kJhcWWVNHiy6ea OYKdMHg1gV+oDeegujR3Tagake4DH6ztDzQd1KeQBZ4wctak3tV7pI1Uslcypp6Kjb55 4WWc9O1GU6EjJBcpGHZDntce1RfoIebBNXRKI7OLx6foNrIVLaalQxbYoOEB72OEAntH GWl0K7xz+eB81MPckOzLML9JSW/QoP7LxlkZAN4vmnFMWwKpWBK2n9m2HBMQVKNSDe48 D9nA== 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=iYkzieYJP14CnD0ztJrOrrQh8wNVhd37zVufqRq95Wk=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=TauKibK/nEz9b9/QJ7gX9m134LdEZ79kfIruXE2tz/5NJzxa43Qa1mBo/01YnIIeQK G+LZZ2Bx4voML5686Sz86KLl1fQLOD71QhByH1uYTHCnVC0wWkk5NV0vD+B82niBrtcY iJtOi2JEWK7Ye5fwY8CF1XyZXF1b/KN0JesTQCciWY64DoZXGMgO0IZrNBPFGSbXRfYZ gLicppa1anHtKIGwCrsHzNh4FL3RBSPd0cK3QFmUgOj3jDXCYVJwUt9Hs6qoee4E3jaL 9UMi9vzM1tuUBSgdurOpErCEXBkY1xcrsFfNNUnYCJqFNucb1vBxlM8NioBh98xeEQ9p wmfQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sdq6Pur7; 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 6a1803df08f44-6c5348c9abdsi88137576d6.574.2024.09.10.15.22.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:22:22 -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=sdq6Pur7; 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 1so9B0-0004wj-8K; Tue, 10 Sep 2024 18:17:34 -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 1so9AF-0008Uo-L3 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:50 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9AC-0006g7-Hp for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:47 -0400 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-718e482930bso2306466b3a.2 for ; Tue, 10 Sep 2024 15:16:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006603; x=1726611403; 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=iYkzieYJP14CnD0ztJrOrrQh8wNVhd37zVufqRq95Wk=; b=sdq6Pur7gtLseLJFd2IEMActMXUY3fiG5046DdljjNGD45m10pOVZxY2BAEcwqsYOE cRpX2Z7Lgo7CewQb9gWYEoLjaH+tZNYp7SrVmJqaoVn7GNmIHXTDBfJEa8W5qhxuuHKP yYYwwPDQX9cf67R5faiehBvu0ATB4HMlLyxM0ngtj9Ua2g/QmwixrFSzHLFQx9e82vdg QY1JNQGkjDSTRMZrz+8oplSuZ10N+EXAkRQR4wPN/j3uKSJxxXcx/JpCpKQEl7rejJH+ pDEYplyBW1Dmq4log5TwjcNm1EuEkDh5L64kY6wODFyZK/bErb1ZNCTtACNh7IzGy0OR CP+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006603; x=1726611403; 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=iYkzieYJP14CnD0ztJrOrrQh8wNVhd37zVufqRq95Wk=; b=ZxJ49HqZUQXXKeZTA2yTk45NZIDeZheZXcODvXCh4S5c83dlReMOlgtbfmIDLoujFV vP/lHWgheKZroz87Ktfg+C0CyvJ5HM9p/9ohnOD4hlAhtHFQGaQaPwjSe4oSakEJDeb+ +Q1dMftki9oAsuZ6m9xVCJsjNtsvkf/W4jlCW9cs2M9GVknX5HGwIsmCbih3pdt7VbOf YPWdooBE/uBmYnKeP+xkPqKpXOiD6o8fl5Gr+yajPyATtObIoN/byBR0F6mhAMn/v0gI oTwZB0kqaqpE5/5oQyZM5tEA+SaBAHl1welBoX7h2o7PQaTg4Qg2f8L9LihzxY8kxr+5 GI9Q== X-Gm-Message-State: AOJu0Yw0eCDwB6fMEXiS0QigXicR6I7lRk7tJzcVefRXbEuACQTdCBTf PmgR8eq8RarP7KpRqKnQBYg7nML6e7uGgV9Vh+ycuNjzlu4E/LuQDgEiCeWcDV9QMFEh6J3RiNu YH+Q9oH2y X-Received: by 2002:a05:6a20:d525:b0:1cf:58e3:2d1 with SMTP id adf61e73a8af0-1cf5e197fecmr2959596637.47.1726006603120; Tue, 10 Sep 2024 15:16:43 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:42 -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 14/39] include/hw/s390x: replace assert(false) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:41 -0700 Message-Id: <20240910221606.1817478-15-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42d.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth --- include/hw/s390x/cpu-topology.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/s390x/cpu-topology.h b/include/hw/s390x/cpu-topology.h index c064f427e94..dcb25956a64 100644 --- a/include/hw/s390x/cpu-topology.h +++ b/include/hw/s390x/cpu-topology.h @@ -57,7 +57,7 @@ static inline void s390_topology_setup_cpu(MachineState *ms, static inline void s390_topology_reset(void) { /* Unreachable, CPU topology not implemented for TCG */ - assert(false); + g_assert_not_reached(); } #endif From patchwork Tue Sep 10 22:15:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827052 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp528924wrc; Tue, 10 Sep 2024 15:17:53 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVtzYbcWkFR8MGzC3Ys0EJ5xpQly/djgEvp0vPGpGK2YXEP+tR3HczYOFx5gR7MtTagIiFh9Q==@linaro.org X-Google-Smtp-Source: AGHT+IHHwo2ksbKsBjXzsHJ2leDgI0xzeHUvzlMy4zQveGQlQnK+AZfmjMaUPEDbbNANxd1YfpHp X-Received: by 2002:a05:620a:2687:b0:7a9:c610:9a0a with SMTP id af79cd13be357-7a9c6109df8mr409685485a.65.1726006673361; Tue, 10 Sep 2024 15:17:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006673; cv=none; d=google.com; s=arc-20240605; b=O13LCBJB8S3GFnGSkxMRFP6FrA7dhrGmwW/5bsgoNCnI4oPbKmx5Top4wcpOjm3ojl WTVcS+FTI+vtu7MIi5V+9oLvdRzWagZKnXFtJ2ohTWjC+xYlqFtkmoxkyAhsmOXmuOXu Ngn6kQK635HVVJqvKo0InDJIfF9W/MLk+lLZrlv70Wzgtg4I8J0PndyExmbmbF8L2UM4 GaSBcmzAP/6mkBoo92F06pNLqc7bipimtjmqixxgpmH5xZhSCagJU7Vzxzfw6SDdjFl6 4H1LgSBMjJXgctCJ8yKOjguiMRU9ks78mADqIUU3medchmlsK3z55LOmbEr6koCPzPBc Y3LA== 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=zaOeMd8XzZwIKO+BVAeDQHacTyR7MUVICUu2Groumoc=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=Mf5hzmyLRMXGcP6KWu6jpYqnvQGT4lJB3yrDLIMcQQVy/YdTDRbmjig0N2Ds5XWCc5 1draxHIQ2/UdIWhsD2T41gDtVzDzmorXSRMDKYfx0WRQABUtBG/igZIRzR/z8hXke/Hq 03gDg/2tk4Ben5VFN/G29oGn7HtK19rQbdpxv4dWI6nAsMNQZwYuD+CgU9JPSJJ+IFO9 g+cemIjdUX0GrxZTj4CiwF+DsU4m6UVcLVRvP5X3+TMIxIF6o7AllNAUR7vyt77Kc0hm zwSqCC6PTIocSN2T0Bp5OfIBfuNVrIR0XRCYuF7cCqq0n6bM5pPGzH1e6cMaK5DtEXxI 9hTA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YoII4GwF; 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 d75a77b69052e-4582302543csi93268171cf.785.2024.09.10.15.17.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:17:53 -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=YoII4GwF; 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 1so9Aw-0004Lv-SQ; Tue, 10 Sep 2024 18:17:30 -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 1so9AI-0000Fb-In for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:53 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9AE-0006hF-T1 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:48 -0400 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-7178cab62e6so5308207b3a.2 for ; Tue, 10 Sep 2024 15:16:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006605; x=1726611405; 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=zaOeMd8XzZwIKO+BVAeDQHacTyR7MUVICUu2Groumoc=; b=YoII4GwF+1pNYlfKQgENBZdC8OSmOmDGJjwAa+vo+cfmm9CEdwrXjKcsYDMorVPCoj Vu2WyAr/bc0N9GMfc95gwP7poeUMtyfNpXDQaWGkp+kTRtUSXkLHdfJ629I0DIU7DGBA ujzyOMtu6cPEbnANqrA2qY3Cui3bFDaCcv2JYPWJiNQoMJuJAxt4HsPWFrPq1/ec98ll cKKYSjFmqXdF59t0qnsS94piFkntXtj1RtBnTdYPYIDKxAkrf2BwEvZnffdDDHSls/5s 7afWfxiXtwklUvUR4pVyNLOdh0S83YEvMpgC+o4s3ebSVu2Z8RUcBsn1cShHey2A+XlD DwAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006605; x=1726611405; 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=zaOeMd8XzZwIKO+BVAeDQHacTyR7MUVICUu2Groumoc=; b=mBtpX//uXTP0R6hGccX4knJn7S2Nm6B+AWDTmb5Vg/Veh5N/7uC1hR0DKWUDeYBa6o YwCk268Ym69v8zamQbWK+FtzN9YgUdk/XU4Obryekyk9yHU6oUOBLqYs7XPm//mYsB7Q yU+w9aMMnvAJWF2V7dGBsx6MCXWIOSqW3KYuZ/MrSYfDpIV8UWe1XuUjbVvdnnsxqn94 AlMc4k1MPIY5lMXMpuhTRqkJvX9uRCsuOIKcsoVyHbbXtW2yLcBQIFZQd9fogWK82aCf D9Zs07KifkitUKlxfwTWUk+Eeyx+VnfGflBOQeElUaV2Va+q7ktrN7bk2hf6OgXpLNrr C8Nw== X-Gm-Message-State: AOJu0YwUcAG5z5h40DfMK9xfQ5r0J4BuBtAa4LpNqzq6M4QQ1VYvLYQT KRUH3vz3H7zAav7VP/vJmCtcwHoqtxSXeVqDiFDvHKNjLeB+ZyM/5C0gbpa6jQ0SprFpTpbbXPI geeZPFF0I X-Received: by 2002:a05:6a00:390e:b0:714:1ca1:7134 with SMTP id d2e1a72fcca58-718d5ee3ed9mr21940217b3a.18.1726006605401; Tue, 10 Sep 2024 15:16:45 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:44 -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 15/39] block: replace assert(false) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:42 -0700 Message-Id: <20240910221606.1817478-16-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42f.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Kevin Wolf --- block/qcow2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/qcow2.c b/block/qcow2.c index 70b19730a39..bdc6337826f 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -5299,7 +5299,7 @@ qcow2_get_specific_info(BlockDriverState *bs, Error **errp) } else { /* if this assertion fails, this probably means a new version was * added without having it covered here */ - assert(false); + g_assert_not_reached(); } if (encrypt_info) { From patchwork Tue Sep 10 22:15:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827051 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp528888wrc; Tue, 10 Sep 2024 15:17:46 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVPAdSnT1AEMwbsNB2rNKuks24D/L7oWyCCc+cVPjY9d4/OCGEcRFo+Sp9yjn3HyDeT/+AtzQ==@linaro.org X-Google-Smtp-Source: AGHT+IFGv2g/Fml7o3ihEKjBJnNRmLeKJtx8RyxmxjwhfT+r+u/hpkyDPvOZCULCCKvri2kdz6pi X-Received: by 2002:a05:622a:4d1:b0:454:f400:455c with SMTP id d75a77b69052e-4580c6f37f7mr197958731cf.30.1726006666449; Tue, 10 Sep 2024 15:17:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006666; cv=none; d=google.com; s=arc-20240605; b=jkfQkOWCsFA81Wtb59yUo+jaTb45ju5DVyEOeGv92I9obKJcTPbhad0KjXVbQLgPJB +2oCdB5ccDc9k/ruVJHbxwGvy1/u1V8QB65RKpl7wLEHDwwT2cRwCJ/+Cmn65GVlQA5B qhK/3OQrvzeLnniIcsXjO9+eoG9pU1RdevP32VKtq+E8m+NgQX0umMLJSFeW3Il+XzZ1 SMxTRrMzRJqxoa2L4sEEpfPyVykHLAhoNKdub8Z3vI3S6CMPIgLaDjASHMWGj39y5R62 yikdOKTn7UKVhSQjq6XswHFdz+khbu3RuCUNzLLjG0jyEmxMJKOuiyM2AR7/nmUDIAhj +zhQ== 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=wo4Kwhe0+9wossg0r5F+dnO1+KIF5dbmiqLxu6TdKHE=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=E/aojwKSEU5xE1rhYLQK8wWCneReval6oK7mxxRjh8wwyaFdkZ+kU1RDY9kXOKez2B 6P4G1yFkenRI/rOJblXLJrqvpQBreAdPGI89oAV2hHHvZZPq1h3BokXgBCef3CowXwKH MQVSyAYvfqJq1G1hfBFECz9f2HFwGMBnG0gUzjxzqRfGK6mgGUMi84z0wp9/ZOPna/1q x3l1klDYY2/u1sjdpcV8Dtb4CNl0DJqzxPplXbzD7kBar/EwZRfeMSYSnfHIkNhlnx1g H7t8d8EQtAuzvlPdvR0V8fQPnpbFgR6DIMta5Bfsn50QaaB8dyCK+7kpWPCj6qb8VqFF cPXQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DQY0MchZ; 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 d75a77b69052e-45823025ac7si89023291cf.764.2024.09.10.15.17.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:17:46 -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=DQY0MchZ; 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 1so9Az-0004q3-RI; Tue, 10 Sep 2024 18:17:33 -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 1so9AO-0000hS-Vx for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:57 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9AK-0006iF-KY for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:55 -0400 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-718d6ad6050so3714990b3a.0 for ; Tue, 10 Sep 2024 15:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006609; x=1726611409; 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=wo4Kwhe0+9wossg0r5F+dnO1+KIF5dbmiqLxu6TdKHE=; b=DQY0MchZ3+PAvuGGe3bq173CJAb6LxBeZSDME87GAtL6FGwQ9vDxWR3oVvi6XxbR9d Pcuurpn7dbQEhfeTM7gSfJKFUY76nRb7KwOiE3TsJBdXOe/1eQonChPM3uRDhRScbI8/ kUjeGaZJrPBUkQBKKDoJwRtVW/a9l0HXRmV7GNLFx1i+0CZn+QRmw+B8Z/wMEMjmMAVq sVrPSYRg1NvAM00jOjo3ejmz5YYP54f7te75nGxVBd1rbRddGsb/HVp2RDqniDfjGV0l dBS2W5aGRtTn3VuN/e5EJcp4vxgxahmKEQNjAvPReuRjbOTiE/71gnt7jntvw6lld77E YIvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006609; x=1726611409; 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=wo4Kwhe0+9wossg0r5F+dnO1+KIF5dbmiqLxu6TdKHE=; b=kXI11+48xsInuxkUXrT5gzTiu7i8rtYGIerHGFhQ/TSUVwqP8ug0bJba5L8QRmjBEA xMJ3Nmw4W9MWysUdhGJOo7CHLqAhw025wjsdngIf9zaGGWQQUxy3x/a/uNr4T3CjT51n /6YHpRIF6M/MQyGyMbkwghPAJCszVzHBTGCDV2J8n7O0o3ebQ/1bxRjaSodf1/9oWejL JxHGnEn1/Wcqc5YGRj5tfqKMR6j6SzkFS3OuglWYJb63rR0i563/88rJw8Bzl4n+21I+ qRknls+TF1YmbDJwYaAx6ZSpIMOwDP9uG/Vakfgmsnwzc/fmqOfCIQUy4xeUgc52acPZ XnGw== X-Gm-Message-State: AOJu0Yw9kHBwl2qtI0f+M2MwfQWnlYLwBgqOG3If3310SnyIH9VYRi7K qTEG7W1GFgTlERHZRHssmrTamN5iUmFMyHOThB3EbYmyU1pd0li6+NH/0yl9mCZtdykBK7pqnkn 049seHvjr X-Received: by 2002:a05:6a20:ac43:b0:1cf:374f:40c9 with SMTP id adf61e73a8af0-1cf5e1b7fe7mr3167936637.38.1726006609032; Tue, 10 Sep 2024 15:16:49 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:48 -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 16/39] hw/hyperv: replace assert(false) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:43 -0700 Message-Id: <20240910221606.1817478-17-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42e.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Maciej S. Szmigiero --- hw/hyperv/hyperv_testdev.c | 6 +++--- hw/hyperv/vmbus.c | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/hw/hyperv/hyperv_testdev.c b/hw/hyperv/hyperv_testdev.c index 9a56ddf83fe..ef50e490c4e 100644 --- a/hw/hyperv/hyperv_testdev.c +++ b/hw/hyperv/hyperv_testdev.c @@ -88,7 +88,7 @@ static TestSintRoute *sint_route_find(HypervTestDev *dev, return sint_route; } } - assert(false); + g_assert_not_reached(); return NULL; } @@ -187,7 +187,7 @@ static void msg_conn_destroy(HypervTestDev *dev, uint8_t conn_id) return; } } - assert(false); + g_assert_not_reached(); } static void evt_conn_handler(EventNotifier *notifier) @@ -237,7 +237,7 @@ static void evt_conn_destroy(HypervTestDev *dev, uint8_t conn_id) return; } } - assert(false); + g_assert_not_reached(); } static uint64_t hv_test_dev_read(void *opaque, hwaddr addr, unsigned size) diff --git a/hw/hyperv/vmbus.c b/hw/hyperv/vmbus.c index 490d805d298..df47aae72b8 100644 --- a/hw/hyperv/vmbus.c +++ b/hw/hyperv/vmbus.c @@ -1874,7 +1874,7 @@ static void send_create_gpadl(VMBus *vmbus) } } - assert(false); + g_assert_not_reached(); } static bool complete_create_gpadl(VMBus *vmbus) @@ -1889,7 +1889,7 @@ static bool complete_create_gpadl(VMBus *vmbus) } } - assert(false); + g_assert_not_reached(); return false; } @@ -1931,7 +1931,7 @@ static void send_teardown_gpadl(VMBus *vmbus) } } - assert(false); + g_assert_not_reached(); } static bool complete_teardown_gpadl(VMBus *vmbus) @@ -1946,7 +1946,7 @@ static bool complete_teardown_gpadl(VMBus *vmbus) } } - assert(false); + g_assert_not_reached(); return false; } @@ -1996,7 +1996,7 @@ static void send_open_channel(VMBus *vmbus) } } - assert(false); + g_assert_not_reached(); } static bool complete_open_channel(VMBus *vmbus) @@ -2020,7 +2020,7 @@ static bool complete_open_channel(VMBus *vmbus) } } - assert(false); + g_assert_not_reached(); return false; } From patchwork Tue Sep 10 22:15:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827073 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530150wrc; Tue, 10 Sep 2024 15:22:01 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXCO2F8fjZy0po2pQxXkPW60xFmcYRPV5E8cZLVmzbX4B04UhmJz8q4sIJcvDARi/K2KkxdPQ==@linaro.org X-Google-Smtp-Source: AGHT+IFxM+aUMnILc+MJGbeskED0OIZqF00cm+WU/vHeibvbewwAxwhXQGpmAnBkjOvxXETBidcl X-Received: by 2002:a05:6214:460f:b0:6c3:6490:7be7 with SMTP id 6a1803df08f44-6c554d358e7mr85255816d6.12.1726006920780; Tue, 10 Sep 2024 15:22:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006920; cv=none; d=google.com; s=arc-20240605; b=Tv1LNxWgXKz3FlPFBMo2fQX96rsyX9sJVCnxPKVfTFHdhkLBicCWDcA+xpLPyd9vbn XjqMJrzbKuSsQ9UnoczWwiC6rmp54zMc2lkUkAeLbeevyDnW4XP4inGk9ipPVMAVM/RK 92WECe1/GBbrnFd0nc2SnQnVDOjDvn06WW5unVezt0H6s/x1MtUFL3iNjodqzsDJ7NnN JNQRz4eE8O9P8SQklLr5b7KpKcsZxSoK6VBywav0TEg+frYO5o0CROKV9x8+/Aw/EKeI c/rmGtP8AK8AUFLjc/EOOIKG/yvSj2moOOQOESjOrLoN74yPyoSfltzPWiW4TMxF3y51 ilJA== 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=agjxPNPZhkjhF3pYgx+4YrvSC0QezaRTWh5rzAMbA6c=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=EhIW63Taym7cNItEkGtcY1wnIezzvs1P3jKAzwy2cJfd6nVdjjxxmXExIAmbL3HGGG C//ZcZTeWCQZhlNydCxpLMQnt/Y1OOaoZTE25ZU9O1rN5OBpgt3n17PWhrJNPZYwDEDX soQYZPmieNfKmkB0SDtWqquWCHoEMMu2wrXCVM9oWt7g8Ljp+oNi5pp0qAxRY4rHeu/C Jaa0CUAN2EL8z5EWHBYwS9vDo3ghV4UiCPOX2v6tkRAug5Z47q8UqSpKBQ4tSHgloKGX LSwlR7eDMIoLAG0WYBYf0UwRMp/ZTmAmiEvUj96Tza6nXsOdOn4L6hpCqP87NyxI2Vog W+PQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RCV0pqjJ; 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 6a1803df08f44-6c5347bda11si86579816d6.479.2024.09.10.15.22.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:22:00 -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=RCV0pqjJ; 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 1so9Ay-0004hv-Tq; Tue, 10 Sep 2024 18:17:32 -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 1so9AP-0000i7-67 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:57 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9AK-0006jI-Vd for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:56 -0400 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-71798661a52so234262b3a.0 for ; Tue, 10 Sep 2024 15:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006611; x=1726611411; 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=agjxPNPZhkjhF3pYgx+4YrvSC0QezaRTWh5rzAMbA6c=; b=RCV0pqjJ+U4ZIXTFvmMcrWo5aW6tKHImpSEK/0JeSJt1TJMKRKgZe84vfN5+jlBuUH XDFmobsyOZOm2L2c/bS7cos392vOEVo0gL/7fV6zJ3lA+OGChFQhG+/Q7a1HDcFOwp3z jfh7QFJehIt+5xNVMF19hxWN3kL3AgEE2YzG13F6Xpp2q4JoK//3uhH7gyHcc4EFkztP Y8YsRRHfOvckOJxn04o/4dP7aEF6dLsCRdH8Tm97GXk0IhaqIX8/vYWMO0yr4jbonzOS qQ5jO/9yu1dwwBcWUcCKZR9hrNC0Yctj7V9XDUTVo5Ld8CPbyeubFFPg2Yui+tWWR6Ig iAKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006611; x=1726611411; 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=agjxPNPZhkjhF3pYgx+4YrvSC0QezaRTWh5rzAMbA6c=; b=MGNcxoHB9+wGhHqNx81NSqMP4DdywR3PpbkqrV+hSMlO3ln1EjqCz+Run60eJ1xkyw vtlKgt19cOR1JmmilEk4jDIcAdxTtslpgAO5h/6zJMGcO0il3S+1lSMBeNilf8uf/89J WzdhNCmznTfcwFb3LQlKxxEH2h7dcL+ke42JxbhMe/3XPIAzlBj0jJTZ1RwN59pHk2Sw ytO2/0HHyqLu7BiN4EHjBXk9nTvF8rwh7CD72UWHwHhZXMXziS784D7k8O2B67ZWt3av 8bOtQbkUICIPhB9gFnoGKLSv/RwJ9IZZjIgb5qXkG+N/qqOG99NqGk4+x5d2oPtRW4KT d/Rw== X-Gm-Message-State: AOJu0Yyh2NwdMrGF4xj9KEsn2RS9jfKmJbz66PiDQ8AtyQ68+lslufJV eMjqyajbfDBM1mZfyr8zJhjC/wJ4qTYfSBP+k3gYBDH1ZJpgZXoIxYmaSZiGh4HsvpSnYZq60ex dLrBddXod X-Received: by 2002:a05:6a00:6f4d:b0:718:eeab:97ca with SMTP id d2e1a72fcca58-71907d98483mr7997533b3a.2.1726006611406; Tue, 10 Sep 2024 15:16:51 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:50 -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 17/39] hw/net: replace assert(false) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:44 -0700 Message-Id: <20240910221606.1817478-18-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x436.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- hw/net/e1000e_core.c | 2 +- hw/net/igb_core.c | 2 +- hw/net/net_rx_pkt.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c index 3ae2a184d5d..248381f9766 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; } diff --git a/hw/net/igb_core.c b/hw/net/igb_core.c index bcd5f6cd9cd..6be61407715 100644 --- a/hw/net/igb_core.c +++ b/hw/net/igb_core.c @@ -397,7 +397,7 @@ igb_rss_calc_hash(IGBCore *core, struct NetRxPkt *pkt, E1000E_RSSInfo *info) type = NetPktRssIpV6Udp; break; default: - assert(false); + g_assert_not_reached(); return 0; } diff --git a/hw/net/net_rx_pkt.c b/hw/net/net_rx_pkt.c index 32e5f3f9cf7..6b9c4c9559d 100644 --- a/hw/net/net_rx_pkt.c +++ b/hw/net/net_rx_pkt.c @@ -375,7 +375,7 @@ net_rx_pkt_calc_rss_hash(struct NetRxPkt *pkt, _net_rx_rss_prepare_udp(&rss_input[0], pkt, &rss_length); break; default: - assert(false); + g_assert_not_reached(); break; } From patchwork Tue Sep 10 22:15:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827067 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530085wrc; Tue, 10 Sep 2024 15:21:40 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXCQdtvs6a7XmyUvdjFY7aycxAWGPN0iKPjjj/SWC28rYx28ZQ2yj7YAr6DYPgbYo8zvMphng==@linaro.org X-Google-Smtp-Source: AGHT+IEuYx5/2thTGhhxpOOkp5LMeLLz1uf3ORaejcWhKpOzOlmNzBefptzQUWSVmZ7V7BmP4lM2 X-Received: by 2002:a05:620a:1917:b0:7a9:ab99:2e36 with SMTP id af79cd13be357-7a9d3a1add6mr174289885a.9.1726006900099; Tue, 10 Sep 2024 15:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006900; cv=none; d=google.com; s=arc-20240605; b=e+2PSZ14bn3fltdYXIPYZLwK/R+t8TKngPd/b/c/IS3CCNEkoQnr2td7HjF5Gqab0H YgGHNq4U5kqREzx/9Bhi7pgebu6axruXVFKu2mA7SlwbSlIFJmw3oap9/HHsfeVpAJ/M C/Hs+zELSzTzFza7QrIKeHt/wcQYIoa8+si14YU9KpYzCpFK/PPHQGPOTfWH0DkMVKF7 nGzxYxVP/h7osebJzE9Ammxv9HYAS27lgQmwQ/4M0b93hhn5chefTDXE8eF2bbGUhsLC XqMe5FLmNfWPv+gvll/KH3emYujxIYCzw+ofRtOnTxC4o462MsHW8xuxO94416lFvNkB 3hoA== 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=g94oM2AdOrkhIM0zmQXs6BZslT0T+3A9bvoVuc5szJw=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=SDl2YAIe5qBWx3aZW7GG224BezdOlnydLrBvKPYidy9Qe/4cNepBVqSm8nlUMn7MX/ lrT1hA3tjAtIB64qK6FaVhU7HV8Jh04PxEBlvPwXMHB9pGdQGsBnc4kzioEDRTJn+vvD gyUs76L2uoVQH3iNoPUMXbYzRsq/sSdHZGUpAN3Ht/G6YFxhtie8l/R7MtoKMiGSW8jg 6i+TIIlOfO6acC2lmrLZ31vdipzWbobTTEg6xeXGKMwVXTs3Fddnbt+NZ0+MrCAYbTGT De9q53LFWr81e9gX/vS9iieUBEDQ/J9m6/xlxKVVQoGNxupkoDSEoC+qnRB+bldOgGjE Hpow==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fDrV4zsR; 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-7a9a7a48118si893632585a.522.2024.09.10.15.21.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:21:40 -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=fDrV4zsR; 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 1so9B1-0005AS-IJ; Tue, 10 Sep 2024 18:17:35 -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 1so9AR-0000wh-9L for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:59 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9AN-0006k5-Go for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:58 -0400 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-7178df70f28so1002299b3a.2 for ; Tue, 10 Sep 2024 15:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006614; x=1726611414; 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=g94oM2AdOrkhIM0zmQXs6BZslT0T+3A9bvoVuc5szJw=; b=fDrV4zsRV0uSk+JCTQCxe3uW4IgMKnKqaEbhy4000JmdVRoqAY/irZHE/zADpMes1W akjAHtnfZjThTP/XmMrjAQqm92VQ/JSqofrAv6qntW2DW5pAoFopFnspEkW0LmxRBGTl +L+iLRrCi/qRSQj+Gj2X7mUPUkymrKDRKH+aubXYeSWzuvvJbd8jzunjhc5jKCx6vjLw 9zjr8WAE8o2w3xGIzy87aZ+54MPMV9n8RSptFPcQEmvDX6nCEkDy0rt8Vo4VhV3HM4bk OIHyp6pS5AcoNF44isoOWahrgg5hlRtZfIZZbzcS8Ahe3H4kDLjamhNTr2Bqx7dN7qtD 0y6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006614; x=1726611414; 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=g94oM2AdOrkhIM0zmQXs6BZslT0T+3A9bvoVuc5szJw=; b=dr/fvvj6xH4laOWhdx7acUuESucIbiZvz9MpSVx4KAn4LfVvo+mqQ1EeLvbMEVTmSv LzcROTbnCA5JsCrvbToaL1QvSS6/tfz1ymiEd8ZMd4czpjVXFyGA+VILFa3JHqb7A2Ue kwlzQkAvbRyar01fMVupLZ3+Sr7412x1tMOo7X2BZ64ybKaAcp36rOkH3NIAu/N38Z09 LbF4qOec2RqAF0XIFqUpd7TjNvGyuiIVE/BxY05PfbriMz5WvSACPwdWDHqMxe15KWJU wvs2uRAzrW4biW/Wo+VXKVzNyxij9W5gtP3ec5T8sjdRAe6fkrDzpKZ1FCUTINyd5gxA 6ikw== X-Gm-Message-State: AOJu0Yy4OGBbLnqR5UibrgqlxAG78xsNlVFbkdiG9Gpp6yEUACiVRA9l xLDltLsck2MlYyy5y83k7Bi2mixdl7dcNofK38VPSeyRmHok+3/EB0XIU9kVrzfqsAWY84xuf8r reKPzqA3f X-Received: by 2002:a05:6a00:1803:b0:714:2cea:1473 with SMTP id d2e1a72fcca58-7191723a295mr1055728b3a.23.1726006613650; Tue, 10 Sep 2024 15:16:53 -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.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:53 -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 18/39] hw/nvme: replace assert(false) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:45 -0700 Message-Id: <20240910221606.1817478-19-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42b.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- hw/nvme/ctrl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/nvme/ctrl.c b/hw/nvme/ctrl.c index 9f277b81d83..fc3b27c031e 100644 --- a/hw/nvme/ctrl.c +++ b/hw/nvme/ctrl.c @@ -1816,7 +1816,7 @@ static uint16_t nvme_check_zone_state_for_write(NvmeZone *zone) trace_pci_nvme_err_zone_is_read_only(zslba); return NVME_ZONE_READ_ONLY; default: - assert(false); + g_assert_not_reached(); } return NVME_INTERNAL_DEV_ERROR; @@ -1870,7 +1870,7 @@ static uint16_t nvme_check_zone_state_for_read(NvmeZone *zone) trace_pci_nvme_err_zone_is_offline(zone->d.zslba); return NVME_ZONE_OFFLINE; default: - assert(false); + g_assert_not_reached(); } return NVME_INTERNAL_DEV_ERROR; @@ -4654,7 +4654,7 @@ static uint16_t nvme_io_cmd(NvmeCtrl *n, NvmeRequest *req) case NVME_CMD_IO_MGMT_SEND: return nvme_io_mgmt_send(n, req); default: - assert(false); + g_assert_not_reached(); } return NVME_INVALID_OPCODE | NVME_DNR; @@ -7205,7 +7205,7 @@ static uint16_t nvme_admin_cmd(NvmeCtrl *n, NvmeRequest *req) case NVME_ADM_CMD_DIRECTIVE_RECV: return nvme_directive_receive(n, req); default: - assert(false); + g_assert_not_reached(); } return NVME_INVALID_OPCODE | NVME_DNR; From patchwork Tue Sep 10 22:15:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827078 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530279wrc; Tue, 10 Sep 2024 15:22:25 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWqau6FyG6O/OzycjyzVCNDs24lHRrCcVxfDYo/nPmBX/MwyycFq6LG2TvNofMwOy6Njn4+wg==@linaro.org X-Google-Smtp-Source: AGHT+IHdKvQsKHoIkwKmgvl6zKjK75NzmLNlGZHZ/m6JGU+le0eYPEJyzRVpBZjmvUX365LtaCkC X-Received: by 2002:a05:620a:4154:b0:7a9:a663:4a85 with SMTP id af79cd13be357-7a9a6634c8emr2342109785a.36.1726006945196; Tue, 10 Sep 2024 15:22:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006945; cv=none; d=google.com; s=arc-20240605; b=Utt1UTJWmPu89LkElJF+YHJfHohE7JmjfXRJfg7sAxRqJ6Tu5H5uRe6taJ3S5SRkbW 5SGz9KXmt/008t4YkJEEwVEYCIKY1tn6QqttlzQmmNL33iCu4GI+uAXR1oQL8RYrSfmy 1JJCmJUGwlYq/2F6/NG+GnghLZ0Yy22Th+tqELDdTHkSMpYhNS0owdw5zoQaN9FAoBmQ uT2HUDtD5lest4IYauKWxZEQU5asYXu2ZLWwXkoTAo6ZsbjksVHSAp4F4EYmdmZp3LpM /ZAuq262vhdtIDXSP3A3iHU0QOScTTLK7hG1VmTv4LZJ6hVBLmY0BhGkiHogyteyZX9K I2uw== 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=cAvzQslJtfBcWM7NZQthMrKt0WkAdMSo8X/GFMOx7xk=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=i/+W1jY1EvW5uKAhcDIZChOBonNOQyajigWUIn/wc7FWlr/o2pjNocs5+jf7ChWlrq Cy5v1hUVEJb4H4lBqwo2RNttYcrqdjbDx9TYkVX0YeQZnb5d69topmucJy2QM1hDliWu H7+55a3pFJXKS9whPBRWhDNjY1DO9qzyf8/7mVgYQIgqV0ZdVkGQxeELhniYNCVOtWzQ 0fXzzuEOxAY39WK/pFHPlR/62TS+5WpfXH03Hjff61sbIEeMzH+dsMmQGynJeN7FZ+qy 5WTcI4YIZbUwVkzvDTKYWmNpypSb9aMFRPtm6+SmQYTI6yQJnxqMFkT64DSN9b21irmK ww0w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZyU4zcQH; 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-7a9a7a350dbsi900639685a.284.2024.09.10.15.22.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:22:25 -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=ZyU4zcQH; 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 1so9B5-00061i-Qo; Tue, 10 Sep 2024 18:17:39 -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 1so9AR-0000yC-H2 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:59 -0400 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9AP-0006l4-Dl for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:16:59 -0400 Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-7c6b4222fe3so4052617a12.3 for ; Tue, 10 Sep 2024 15:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006616; x=1726611416; 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=cAvzQslJtfBcWM7NZQthMrKt0WkAdMSo8X/GFMOx7xk=; b=ZyU4zcQHiCqZ5fpt4tuu3huY3/bERNLIN8pi6vWyyj1ELkKszRK+4p7tP41Xs3u1XI i5LjpfTQSy5+Bl74X/+zSkPNdWoUEd83AknqCnY5iDArcSafkBS1GqeFISKAG+UPoh/p IYXCQpE/s2e75e54njrPZ+L+ClL9cwfpQLAYZfJHPiOasLTeAgu21xXqN8/CTisKj5F3 w54Z51CQ4H8ek9js3OpVdV63lvHHbZuxMfE8wxGE8OD8/tTIGU5JX/bu2K2fkbnLqrck kIV5a9jztuFzs7F85rPFfixNloVG4kJboR0E8Mr+GIIMIWDebBLoGEygb0/ysBJja3xb 2dSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006616; x=1726611416; 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=cAvzQslJtfBcWM7NZQthMrKt0WkAdMSo8X/GFMOx7xk=; b=uAc192T2e7fCt8Z+7lofr5EjA+qvDLvnxH7DqXxtK/qPXZ38WWfA8siLTSNpho1Qvt w4TjknWaGGYfZfWgOKZ2ziLjYY1vB0jU5KvCAlgx1p1Mt5sd+mKcgu0fyZ7Z3E5eFxqi hYs+Bt0ZpckXj2lJthZgeGcRv+bXWMiPDH+LJRsWXRN0zzyUIpiSK2y4/ZYPzsfkl9iW SOhnmk8TIVgFaV2wVrUY0uyBl4fW3kS1Rm+vCmbI9ixZ0buRbFsNyFxMb7iysPVDLHOL 59dhrJZ6igSqf6GK6uKv2hXz67TA1vAylFhIdS7DIHFVtYfhUip6+s+yv1C9yMuNjQL8 hiIA== X-Gm-Message-State: AOJu0Yz6zGy/lDignz0eq7sbCLNd96xYSIfO1cK2WGqPxwrrqXhhDQJD tAHXvEqH/vYuyZLic1YeWbA7ic2BGqw8FwtY9Uu3IQmsa2PwrpVW4G0xNXOq3fbBuvdy9+oXwKX jJB995FWM X-Received: by 2002:a05:6a20:cf8c:b0:1cf:3a0a:ae45 with SMTP id adf61e73a8af0-1cf5e156d0fmr3746837637.35.1726006615860; Tue, 10 Sep 2024 15:16:55 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:55 -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 19/39] hw/pci: replace assert(false) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:46 -0700 Message-Id: <20240910221606.1817478-20-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pg1-x535.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- hw/pci/pci-stub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/pci/pci-stub.c b/hw/pci/pci-stub.c index f0508682d2b..c6950e21bd4 100644 --- a/hw/pci/pci-stub.c +++ b/hw/pci/pci-stub.c @@ -46,13 +46,13 @@ void hmp_pcie_aer_inject_error(Monitor *mon, const QDict *qdict) /* kvm-all wants this */ MSIMessage pci_get_msi_message(PCIDevice *dev, int vector) { - g_assert(false); + g_assert_not_reached(); return (MSIMessage){}; } uint16_t pci_requester_id(PCIDevice *dev) { - g_assert(false); + g_assert_not_reached(); return 0; } 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: 827062 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529466wrc; Tue, 10 Sep 2024 15:19:39 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXY0CSvV9C5V0S8lPiqLEf7UXtZsFq7Ip5SCs7OirB2p0xpn6IV1Aruxcj3ZpumwuWMx7f7Fw==@linaro.org X-Google-Smtp-Source: AGHT+IFI3hMT0ElRNy2cz3g+lVpAn0TwKHzWTp+Q2IXHOFkWlFUTGhqaqWi5tZ+GtEDiZp9KWxFf X-Received: by 2002:a05:620a:470d:b0:7a6:6714:35d8 with SMTP id af79cd13be357-7a9d3a1b923mr181155985a.10.1726006779235; Tue, 10 Sep 2024 15:19:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006779; cv=none; d=google.com; s=arc-20240605; b=iwk0isZWz8IcrPq8FGAWDv8xiJWvIOjth/XIHtWSa/7LlI5uDPfPwtSqJ50QWpS5Yu GFfYXp2B8S7EjAAiv/+H6SFV7BbjOK0ELut9LAc8D8mC7/bGUz2NuhuRGxAk6wIFqmea f8ZnhE3NXl00KXFne1t/0G4BeBVvLIr7yI8wOecaDXlgtGMHI5XfnbhG9kzgZ4CNASXi H/JcBNuZ88Y4Mp6h/8qDJQoA4u4jpRsRm2xMDCa5cHOsruU8yIV3A6DkQ9D9wUcltaDY G+3TTFv8Ixegyk2KUO7vNaEMKHcA837XuPvuHAnBg45e4gEF9DsJQgRmkbnwvVCVF4Y5 8LIA== 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=qcrIg2qAf6uELGwQ4F3jw2Dk1PoiMNeAX8XN3cIVz0A=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=ClhlEhTox1/C8LqjvVfo2A/AYgr9S1e9A/NkncIUB03Nl3R59UKmnzDQs7xMWLQakh Z9PMsH176guxXz4uCfNsJbrAfHSdwaPZnm9s9vfHzisHeQ2eStRe2J1h7c8E/LFvSiyB zW2ppyST3UYI8xikG4/WShv6VHhYiUc6Px4dvOiAQRFoCfdmRFo+mIrMbiyn3OMvmpbY 9lTjA09oug4fOGHxfbQyNvZ8ylCdDG2AWNthBjeQaJqvt0f9R8M90ProP0sBkib9DhXY uyQ1k7Is+s5ap0pzy8lm2h+Q0Vq2KfMA4UdSFgk+C+jarDCO5GyI44uapwgwrjW342G/ 4gMQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wtDh9rPN; 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-7a9a7868d45si884208085a.0.2024.09.10.15.19.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:19:39 -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=wtDh9rPN; 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 1so9B6-00065W-C5; Tue, 10 Sep 2024 18:17:40 -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 1so9AT-0001K8-WB for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:02 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9AR-0006me-JO for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:01 -0400 Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-7c3d8f260easo771433a12.1 for ; Tue, 10 Sep 2024 15:16:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006618; x=1726611418; 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=qcrIg2qAf6uELGwQ4F3jw2Dk1PoiMNeAX8XN3cIVz0A=; b=wtDh9rPNM6iKsFfD7LrzBaQXynGZlBEcAZOp6ynsbZZL62HG2Qg1tT5gOgstykfB9V yznytQAZnrbkIBJB7Mf9PVCIStMkqV83nbCBIeQQkuO4HDRWoajalvNGtb5nfSEazcPq NAE01RrIoNUlSpF0ESU/HgJcdldsA9O4fN2t4hO7gRyhN/rnDiuGdxulZn5SnNG6U5de wtq0R327j72HQHJf7k8UOMuPxlqPfmhWzZ5AV2lHAEmF8d2IUNQpqmoV3+CfRlY9EEyN 4KHNBjfzptxsRIWlIxQlsIRFJGNwrGc7k0Ze+PKayw+omUrY8it/1yEYYM+gJQ3m1ReK IRow== 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=McvpddpG+8EZoXkefFE1zMvOT3X0lPRmfIBAO2pXQM5RH3yJ8fZFp0BiSchhLMHHCK GW4trsgZdW8d/WvRDZTuasvLBHsJHdTF9HcjrSEEfn8hYihdnR994zQHYRCJt5Eq9Qpb LrWGT/r58tMvfIACZrKEOMF34CrzV7Ve183R5Xp7bws5qYK7eLNpYTMcuygBunbSwqsl K+sngF1dJoGynHsrJMn3/pMrPfksYno25suYfRU2qoCPajbE0OPwkNovNaScINSsRh3d jJESp1q7HFdWghC3W4n4vs/UeAHBjOGtJFOKFHynKvKxCEotlK9WJg6SMUq9fEx2Mak3 5NPQ== X-Gm-Message-State: AOJu0YwsQVWvXmaiFr34tu2uCxnKtAzyHhL0BC0TlIf56UVImNDGJfzr G3NbOHOu7RVHa3CeV+oCKST8O6Yyj1AMLWzs7M04mPzZEYdvbVUbvrR8woxHQvIGq16G2IPTDSp MNVM2AofV 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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pg1-x536.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson 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; } From patchwork Tue Sep 10 22:15:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827059 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529351wrc; Tue, 10 Sep 2024 15:19:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVJ8eo4K6DvMZUFUSAbki5y5XdbHtF23+Wadunei8FViQAwraup2W3BQrsJioEGaazCwaRHvA==@linaro.org X-Google-Smtp-Source: AGHT+IGJybkJNMMh2VsmiN/e+Oq8FMWZRd7Fn5j91+tig0pZzoLwrzX6xUbMGixtofLsLziux/Jp X-Received: by 2002:a05:620a:46aa:b0:7a7:fdef:27a with SMTP id af79cd13be357-7a9d3d8a9admr133566185a.58.1726006760727; Tue, 10 Sep 2024 15:19:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006760; cv=none; d=google.com; s=arc-20240605; b=KrF2DnZK2yTRHB8SUDPOs/ddgpZlE7qnNRb/t6ZSP0BtN8Wu7tVx7kBOt5pYdARqxV NFYVoG3mwvCANDnZTgqVBiWP7mhzqPbQWySAXBYJU67Fbqn8Bx0t9wE6yUPlDS/CahZx tFUlSnnpZNZhCfj8SE3UyPmcTuLr1MWDS7NtLZsTY7HJMSF2FNkOGS8i1k/Nibv4S56M 1nhtaecN1nHp7aivky7Rm6wHToZX/UcRIK/k7fV17p8JOFp0LtCJeDnT4YGY+Nu5GxvE ldSOS7kNN0qTgy+wjSEJ/5nfsqUyslRsHrIMOIInc8fLn3I/i++BDy0BAXd317qS6zia Vlzw== 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=KGbjDOKJ1fKYY1uGWKFY9+QMWL7t/3O1ImqR91k5f0Q=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=R3qSCXznZiQroBVz1eDYeFnb+gmch8+5pRwpmNXn/d0QLXXcK4lLBb+5HOuiet0xgj NKFyqWA8kE+NfiTIuwC5dRXSctqtEfuqUD2O1Z6X1ZVpu3ddyWHbdhqCzuhxjG39p8m6 Q5jNzn/PksUSNw4tVzsW/7hjb3ObmGg3DykiIjevSAoC3HuR8A5C+bJBDznQIzChxPIQ CZ/3g3V2nz0zHptmOrl3p9+m/BCn79VzmfKABV860mQhnMIpkV318Wgu2lIceqVjJa3P mWc/EtGSNQQgqWBm4S+5Sr/WZADiB+9WDcoxxsIeGX/85OZRmdvAkFIp+mqYFNbivzER vXfQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zZ6vbNq+; 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-7a9a79c5f58si168437485a.82.2024.09.10.15.19.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:19:20 -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=zZ6vbNq+; 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 1so9B7-0006NY-Vt; Tue, 10 Sep 2024 18:17:42 -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 1so9AV-0001X8-NW for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:03 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9AT-0006nt-Rc for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:03 -0400 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-718e11e4186so1244586b3a.2 for ; Tue, 10 Sep 2024 15:17:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006620; x=1726611420; 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=KGbjDOKJ1fKYY1uGWKFY9+QMWL7t/3O1ImqR91k5f0Q=; b=zZ6vbNq+2lTc8N7T3IoNCbJharhQjMZfp9nsygqvNVpYi2+9/pf8MFuX7OXlVY6xVj zbV1J1hWLNHOpbuQsQahacm+e0CnmzcMZ/MK/b+YE5bqYhF63K5qbR8E6BeER9hHSEEG fck1r4R9qRxX/lPKZ1lSpNtXj7wJcqq0rYUK8+nOEdey48KHNrD5Q9Xpu3OtVpe1ZHVC cDkytaPw5eGwjdE933qY0nbWkSzdcGkhs8s8UgVw/6FCp07ZOY98lGJrge+GoDzQORNE bLyitS1YJtyxLORNJ9T3AhbI8KsJ6gWpp64rwRVKpJH39QIBTrTmcnsFrRdRWpuaz5Fd c3iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006620; x=1726611420; 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=KGbjDOKJ1fKYY1uGWKFY9+QMWL7t/3O1ImqR91k5f0Q=; b=aI4H8MFUnJD1KbLuaN18C4NXFAYmGAGQxRbzaZt42BsS7EN6evZcGUBJbEXu+NY3Oh SrK02x9nLuOJd1pKC5cRf/gQL7hTtWcUu91hCxGFJHWl4oda1hUZgo43EfHqo7GE2MUZ 8egkiQN7XQnoiYrJOI9Fw6CUEroe+kIyhLKSJeBne6gOPj+RKLVDWiF8KCH8KMxTjLZz NozRnFOYjamc3tJNLrVUw2uzH/576w1L7D1gO1Zn0jKpcnZ6Vt9/PC+YK8l4V+eWB0wY jJPa2ABfZxrqzphe/42zZkZQRrv1k5dgxK9pRblYe343hyNlKTrtvmfflSvIjGnBggy+ nxKQ== X-Gm-Message-State: AOJu0YwBYV6kth1BjNHCrHjGxdL3PQF0gAojd/MkvRCNRc1aDVePR8Rz X5PbGG1f2mzqhew/CUo2OWSQ2lyLz/L9H9yYMsSkcYNwaOW37KJVyRL3QgG7Wd2LG6WgaHgXUwh a0J7RqQrz X-Received: by 2002:a05:6a21:38a:b0:1cf:397f:b69 with SMTP id adf61e73a8af0-1cf62cc1d32mr1586618637.13.1726006620331; Tue, 10 Sep 2024 15:17:00 -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.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:16:59 -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 21/39] migration: replace assert(false) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:48 -0700 Message-Id: <20240910221606.1817478-22-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42e.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Fabiano Rosas Reviewed-by: Richard Henderson Reviewed-by: Richard Henderson Reviewed-by: Peter Xu --- migration/dirtyrate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration/dirtyrate.c b/migration/dirtyrate.c index 1d9db812990..a28c07327e8 100644 --- a/migration/dirtyrate.c +++ b/migration/dirtyrate.c @@ -228,7 +228,7 @@ static int time_unit_to_power(TimeUnit time_unit) case TIME_UNIT_MILLISECOND: return -3; default: - assert(false); /* unreachable */ + g_assert_not_reached(); /* unreachable */ return 0; } } From patchwork Tue Sep 10 22:15:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827057 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529107wrc; Tue, 10 Sep 2024 15:18:24 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVDIQuVAsNMXoyE+fTnzCyCRTz1Nb+2o5LS7ZoW5AJQgmakBgXPlBuXZIv7wPUCKabeDicPEg==@linaro.org X-Google-Smtp-Source: AGHT+IGA585yBsF8WK6y19RGnQzXKpEyWECq24yBViuQ5nGLEG8+H9W5Zd7mTN1wCjhIspQedIcz X-Received: by 2002:a05:620a:c51:b0:7a3:78ac:827c with SMTP id af79cd13be357-7a99731ddc6mr2354504885a.10.1726006704072; Tue, 10 Sep 2024 15:18:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006704; cv=none; d=google.com; s=arc-20240605; b=ExC8ouUoBin8CtFLBq4s6cggbte9eEXizfJxaXywqL/aFPf2njkE5sSsCiSCgigEy6 XERC1Q3MOwVPG8dyxm9GFzVQ/ujpjhhuztZvXKhhPmoOZxRUlXWFQndFHrfMVhhZaChn JQH1P2Fl85SExFuhfHO7gLY2g8BjXivtyhw7/gASFjwghxGvH06AXiMNh/f3bUtu8VTp ZMSWpfrskJNFectCrpBrV/pXK7BA/bm61VaOb8rECXGtsuXwdykCuviatGp6Xi7mYfPW ak/CnVoYMtzRPoXDTNhLhyOw04LFr8AiSHWw+S5W+NFZoNyXvKGPODqD044eTyy6Yp/i 7ZZA== 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=7oh25CxvFbaGetIeF8ZGKIaTcgg654mKr0Hk3ECIvo8=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=llkun27QZhYJg3B4HOXMFy79t77mGT4sMeS72KN2G6VhK63zBfDtCQqe7/IrcZkyPe NUPPF5WDcplFRN3nyoCh47uQ5wzml6cg8Awbs7QPisDiC1oXLmq7YEv9RjQyX0+d2K3A cd+8x7AuFpFwY94arv6ieJCFlMohWvHkhPDVzJjMrzQ8hrDruRAZIoJsNcc89nNuy5sK zrlvp5bm8wboenioS32Z/LbXBAiENsZndb8ciw5UCY/YqvJ7pa0i+1XsLMLXFMRaNtEn pP6jdwKFG64iDQn7oRVthfaZ7h+5vg4LK3RpsDORAqWY1mGftVsf7bVMHg4gDexJB6iQ ErzA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="kpeaXr/C"; 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-7a9a79c579dsi907996085a.94.2024.09.10.15.18.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:18:24 -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="kpeaXr/C"; 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 1so9BB-0006qT-Me; Tue, 10 Sep 2024 18:17:48 -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 1so9AY-0001oB-6Y for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:06 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9AW-0006oz-0T for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:05 -0400 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-718e6299191so2047159b3a.2 for ; Tue, 10 Sep 2024 15:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006623; x=1726611423; 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=7oh25CxvFbaGetIeF8ZGKIaTcgg654mKr0Hk3ECIvo8=; b=kpeaXr/CgzZd3itBdi47Eya813spYfi6yO1mGD6mg0gVJ6kBxUFJW2k3Ip1Dk3dKNj JQZmUkdWkBb9K9eGWphQzMCiRPb33y+SdeiSXbdoNUPVbcs+AQG8kPNHxxoS6Y9j26B4 DZGPiJiQRK8oPcPqr2Wz2zDMHXnL5RCrJeY/jQWglz87E/iwXnnhOg8N++iYSF6xEFzb KvP9/3iIjpkbM2up1liSC8vU4pqopYp9r/jYlCA8EFSj64Ez6ZV9/qWqFntn6srqSAkG okvEWiKkiGnCO+SBhg+Hk0D84JUDGBorX5qhbOZjERQyEPqNSkBBWD4b5zUCL9qDulBx eUKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006623; x=1726611423; 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=7oh25CxvFbaGetIeF8ZGKIaTcgg654mKr0Hk3ECIvo8=; b=BmAaxyO0SwX1dvfKpG3VreYBqvJKjrFVzASsg+toef+sWZv4iKi3PG9d6WxY4qbACK hUgBQisWc1XdP5ak15Os9JYswzR7L+XlPY7vTTZKbM6YFY4udE45j/IOSrhECKDJucPJ hmH5QRNiAhzvAR+BWgHnoX2SWeaBmE/OWoabEWEHFFi3K30cIpk0TzeS6TUbjVGxwgVR CEQsAefILNsN5QqtHbPsknQUMILO2v1rzZS/hZrCVt/yDxlASgsGun+mnpJ4dN42EAZb SOg0J21PFyGuDl2Z/5xSkzRvjGrd0Oo4jweI1pPbT/OiNwIPWgi42O3dP2kBN9z8CSNt bsrA== X-Gm-Message-State: AOJu0YwTcqdvUvDX5Av2knMfZlBXpC+RzXl42t8wEvGVMEZrN8KeejDn lnIVrruag1+9PES+rJX8kggIexJZM3cbM52NJjXhAUnsR4iu3Bp7vAqvvbwfAzX6APiWHgziOs7 D1CXZl/lF X-Received: by 2002:a05:6a00:66e1:b0:714:3acb:9d4b with SMTP id d2e1a72fcca58-718d5ee03c7mr14772194b3a.18.1726006622546; Tue, 10 Sep 2024 15:17:02 -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.17.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:02 -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 22/39] target/i386/kvm: replace assert(false) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:49 -0700 Message-Id: <20240910221606.1817478-23-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42c.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- target/i386/kvm/kvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/i386/kvm/kvm.c b/target/i386/kvm/kvm.c index 2fa88ef1e37..308b0e1cb37 100644 --- a/target/i386/kvm/kvm.c +++ b/target/i386/kvm/kvm.c @@ -5770,7 +5770,7 @@ static int kvm_handle_rdmsr(X86CPU *cpu, struct kvm_run *run) } } - assert(false); + g_assert_not_reached(); } static int kvm_handle_wrmsr(X86CPU *cpu, struct kvm_run *run) @@ -5789,7 +5789,7 @@ static int kvm_handle_wrmsr(X86CPU *cpu, struct kvm_run *run) } } - assert(false); + g_assert_not_reached(); } static bool has_sgx_provisioning; From patchwork Tue Sep 10 22:15:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827069 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530108wrc; Tue, 10 Sep 2024 15:21:47 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXLZ/xyPytWh1cLmeIh0YJs7YB7phhb/+cH5GfbGvL4htCtz0iXJg1CM5Bwntfgemc+4h949g==@linaro.org X-Google-Smtp-Source: AGHT+IHhM8uDa2SNBFowMzD0KFIpvPyfqIxQ8MvMKbbeVWEBI4JMqG2Z5XmXixM2uBS4MTOL7tRn X-Received: by 2002:a05:620a:1728:b0:7a9:af25:802d with SMTP id af79cd13be357-7a9af258469mr1693322285a.40.1726006907532; Tue, 10 Sep 2024 15:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006907; cv=none; d=google.com; s=arc-20240605; b=G/C+HfLVNcbY7Jfavb4GlRuo8gE9XxVhSLBmus7NKVa8Em5pqSyGXRvlDBMXg+b4wX beKJRsSFovKdPAcX8p7RNcRTxS37HUjz61tmy06/9cKXglmaYZRdBHEFJLwFokUQdNtD Dg1tqZoW0mEZCenSVUVQZUrDDeXpVwVwqGpP5V1FWsK9k2giLQdWqFHKooXNfM9bliYl 0z+wwY49G7K6PsPC7Wghh0KuJ4fjmHYmgF6KXPrfMh7PseVGtsqDjhWcgPV+BLiTfmZX xDvnrBnbAjX3QlMa4zrwxIfb6PwtCcL8iI2hRvX9hADhN9LGjRs6MD8ZYeUhcPyvXOMQ lgNQ== 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=KD2LlUR5NpZlDvwnn9zLAQK2DmzjwDVkQP9qh6fOE8I=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=ft3PU5V4xU6WZNn/JEcSpFcygLFhi6Z+bDcq+pewWOIhQ6aGtsPZnnZf+FLnaOSjaw LqxG2m0parMRkAubU5LjYKCWSRxpCv4Cv2iklKMH3tCJqaE39AJBC8WMtc2vwETme3dO oYJX30Xf3cb+0ipZTlRuI62Iy6kukjVxo1VOkAEgv9EPe+OChmbYTu3jYyd4calHEk9n 1T3H35WX4870LC0qNblf+8SpPCtGTt8z/D9namXxertHlpqSQbFpGitk8G8WbUCBl4a7 EY8k4fwrxNrvb0sz7V/9yYRQLbdBqTEgb9nakYg08VQUeAaTdr/YXcqpwdfN0glAMfbb l2Qg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tsq5ory6; 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-7a9a7a3817csi877580185a.258.2024.09.10.15.21.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:21:47 -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=tsq5ory6; 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 1so9B8-0006Ol-0u; Tue, 10 Sep 2024 18:17:42 -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 1so9Aa-00023z-Sw for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:09 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9AY-0006q8-G4 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:08 -0400 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-7184a7c8a45so3839170b3a.0 for ; Tue, 10 Sep 2024 15:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006625; x=1726611425; 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=KD2LlUR5NpZlDvwnn9zLAQK2DmzjwDVkQP9qh6fOE8I=; b=tsq5ory69qmSrjjSILCK2QtIcHFs1Q3eU8vyOgpq95GPgEZ/Wu+wegib4M7mIEqdja Ikcf73fgWQ9bRuewwPM96gvte3e6WkvpRbhyQ4n32t76df28fuYtAMfdCeK9kW/7hgp4 0gUgnQf+c4wJxfBHC3gC41l5KNRYSTXpn8Zk99zFAeZNyHuSRMBkmzGjcWBoypoJp9Mc 1HZWcNX+XFMDPHJGCJLKMeZieg8vSztmCMkXB2aYUp9F79VMDAv9086ru2RK3QvvH2oW f4atI/9K5qS9MQNCF7Tcy3d0Yvwn7eEFCcDpRP1ybMRHvKgRMYBc8k+mr3DllIYzrgXV 1P8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006625; x=1726611425; 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=KD2LlUR5NpZlDvwnn9zLAQK2DmzjwDVkQP9qh6fOE8I=; b=LWtERTtI6N8+3WqNY9sbKP3xr/lBuTtfvmMj4vSLklT6ttco+jA84QUcpB+JJ+8MLk ETLUtYmSpszmggHnFKGAeNzsuwKvu+qV+WEok73n+g92pxMiU3zQFKX3UiR9kqg/feTT tXx/vqVSio2NrLEaSa/x/Qe8qDL7uCfF3aO6+j0b0nMgJzeoAx2GENv2oNzqDBtwnwVM t5sUQy4QilEcwjaM8xV00M2u6VvQ3fkRF9mtzCOrZbNsqxDEsLLctYtg01yRBqKx2LHk z1tEj5b4qiMPlji2ZcmV5/Ys6uZS1e8rZglIZGJ5+23w5jdC672XNPDK8WL+2bT6afWu s/zQ== X-Gm-Message-State: AOJu0YxSmyyeboinh5Wiii9JS04T6fFxv/YAA4DV00v3I55C4Atf8I74 /ZQzqxXZK/tcop+KiZVkRF1AjKHKA/YzapEqcamxnHD8fOv9Qip5E9bPwDS06hfPoOrBo0BkmsE cLXaS6AvT X-Received: by 2002:a05:6a00:3e1a:b0:717:87a1:786 with SMTP id d2e1a72fcca58-718d5e17ba9mr20187214b3a.9.1726006624765; Tue, 10 Sep 2024 15:17:04 -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.17.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:04 -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 23/39] tests/qtest: replace assert(false) with g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:50 -0700 Message-Id: <20240910221606.1817478-24-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42b.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- tests/qtest/numa-test.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/qtest/numa-test.c b/tests/qtest/numa-test.c index ede418963cb..6d92baee860 100644 --- a/tests/qtest/numa-test.c +++ b/tests/qtest/numa-test.c @@ -162,7 +162,7 @@ static void pc_numa_cpu(const void *data) } else if (socket == 1 && core == 1 && thread == 1) { g_assert_cmpint(node, ==, 1); } else { - g_assert(false); + g_assert_not_reached(); } qobject_unref(e); } @@ -207,7 +207,7 @@ static void spapr_numa_cpu(const void *data) } else if (core == 3) { g_assert_cmpint(node, ==, 1); } else { - g_assert(false); + g_assert_not_reached(); } qobject_unref(e); } @@ -257,7 +257,7 @@ static void aarch64_numa_cpu(const void *data) } else if (socket == 1 && cluster == 0 && core == 0 && thread == 0) { g_assert_cmpint(node, ==, 0); } else { - g_assert(false); + g_assert_not_reached(); } qobject_unref(e); } @@ -305,7 +305,7 @@ static void loongarch64_numa_cpu(const void *data) } else if (socket == 1 && core == 0 && thread == 0) { g_assert_cmpint(node, ==, 0); } else { - g_assert(false); + g_assert_not_reached(); } qobject_unref(e); } @@ -367,7 +367,7 @@ static void pc_dynamic_cpu_cfg(const void *data) } else if (socket == 1) { g_assert_cmpint(node, ==, 0); } else { - g_assert(false); + g_assert_not_reached(); } qobject_unref(e); } From patchwork Tue Sep 10 22:15:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827058 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529176wrc; Tue, 10 Sep 2024 15:18:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWH2Ty9AkOrcm9r4NRUK7TxAMxISEQgPAMikvNgv2MIsI9T2ChLdXTwyaiSY2P98+x1Ce7GtQ==@linaro.org X-Google-Smtp-Source: AGHT+IGNxios4hTvlN9LvEH7odR2km0eMRmX4TapasIfSZJrz8N1sS4C/Rqkqvc5n/rq3KSFqihh X-Received: by 2002:a05:620a:198e:b0:7a9:a6a7:dc46 with SMTP id af79cd13be357-7a9a6a7dea3mr1660913585a.24.1726006723288; Tue, 10 Sep 2024 15:18:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006723; cv=none; d=google.com; s=arc-20240605; b=UDpo2gc6CTaGAXjR465yyFd+VlXIdI5mR5xAo7vWUCd3G1EU9Z+UZ4G+sXufV4P3/l kW8bagak/bbC3qkFgOUQVHlYoxjf0c7YGIq080Apzl638ZNsLbP4uUHNK2so7V+cbEsf UQozDnvlkKIDy5HU8gtlF9VES+2eFTRJq1p/dLqorCjQKe43Mr6xtCl3KR+Fn7U9a3vu p+H+XwIaXCN12SBMcR6nkO+s3zLl3MHo5FcYktccUjlvpkC+pBmw1d6tbR2rQBC1vw9G xDLQxHz2eWMBP4Aa9bCvDq/9EFt4/Wm+Cb4J7L7C9TnlUUNQNWgUNxd+F5pItVW5MjUu 55FQ== 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=PMAzhundz5cnlhXkr4isErmBbfbpq/QVHnsSNQckDH4=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=exkzuuBicAszT7j7wjsKEnPDZ0NBMDgv199S4Uq4H0wIumXiHKJd6syKAgYEK5BAaN +XYwUZXOJ0jXiOMBcYLXwwb0PmloDv2M/YrKb/gGXUtxLuspOE7VSo7v92fFexbGvwK5 MWALgyxB58N60zVkbsQ5BZDVKakJfZO8YVHnYdt2Czw9g/hk+vucNPRiA7IKqNddYHNM gGlfJRyp3JMZnMSbVl0V7JTrulxyBqMUyP9GZUqV1og8q/Dq9+yl0VUJTM2xTftaBjei Ai66BhucwiYpoCZaAcImh5LJ5WpykpZ4KVZ441ctl3HeeJr5/VDf6FH3Afyvbt+aHE5C dKLw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pkuW1WWO; 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-7a9a7a34d11si899476385a.250.2024.09.10.15.18.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:18:43 -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=pkuW1WWO; 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 1so9BH-0007Do-6L; Tue, 10 Sep 2024 18:17:51 -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 1so9Ad-0002Ei-7w for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:14 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9Aa-0006r1-RJ for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:10 -0400 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-718e3c98b5aso2826960b3a.0 for ; Tue, 10 Sep 2024 15:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006627; x=1726611427; 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=PMAzhundz5cnlhXkr4isErmBbfbpq/QVHnsSNQckDH4=; b=pkuW1WWOHMhT+xq4/3jXk6kMTPRboMNn4gR+5Fn8t0pKhIozjgvqHalvzjJbqC/UDt V62xEmXOZZEi432RQMZKBuvAmWKfvLpHyH4VIBZWMIN0AsyTR/58JzNhOWXNjGv7ZgAk ZEwRzlWNoUpLyi0S+UxrMNPYL6u3VKQ+3rCpxmv4kLt/XCnKwNRjri3yY9kxq+ByGf5Z swBCbrTOwkIQ46w4J5eozZArCRkDIeTRWmdV2EqHpLPuTqkCyMt1IRSc/7lyY6d0pBEV kVlQTy4ByJsfPsnSlsDfpkUjbzSgW8h1BmsykSlNvh7oGm/gcHr0WEx4ozp2DZodNmg1 XKNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006627; x=1726611427; 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=PMAzhundz5cnlhXkr4isErmBbfbpq/QVHnsSNQckDH4=; b=I6MTzRXZUysSWx7kz1YzQKc6hzaftwmsRBlVvq5bAcNfesd7/7hDPXAw9Urlkz+rfA fM/U12s3rD3n1U20HvQSiOZ48PZDoyaa6KRno7f2G1rS78RCigRfAMH58StmxiyG3lFs fqQqvKwJ9JEhrIJ6NJWxd8pNuVaAWmRBVlxNA/GfwMNnQswwLaXOl0jk2Vzehm6Cn70Z DRtiGwPpQBYJBSyohanvWO58hLUcHDEhxDayutUcrFMXqUF23w1k1H5LXnYtPLuZufsr bMt80phFoSw2SD/m3uAMov9A3msseV6bpbF6J0lshVLG4Zks4oJCgE8OkdKifjmeBm1X JaHQ== X-Gm-Message-State: AOJu0YxxvNZChQ5nJ9I9OZwrhqL+Kum5vWKUVjF8/wStAvWYBITqP5ob lCk5pZ9yOkifkj5XKufAm099wgQjfxiPKUP9LFDgdV6z26o0eRT/CYXeGxL3xLlUGD0ntan/+wF DnGDdHjEQ X-Received: by 2002:a05:6a21:3a48:b0:1cf:20a7:ec65 with SMTP id adf61e73a8af0-1cf5e19cebbmr2662324637.49.1726006627163; Tue, 10 Sep 2024 15:17:07 -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.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:06 -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 24/39] accel/tcg: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:51 -0700 Message-Id: <20240910221606.1817478-25-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42b.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- accel/tcg/plugin-gen.c | 1 - 1 file changed, 1 deletion(-) diff --git a/accel/tcg/plugin-gen.c b/accel/tcg/plugin-gen.c index ec89a085b43..2ee4c22befd 100644 --- a/accel/tcg/plugin-gen.c +++ b/accel/tcg/plugin-gen.c @@ -251,7 +251,6 @@ static void inject_mem_cb(struct qemu_plugin_dyn_cb *cb, break; default: g_assert_not_reached(); - break; } } From patchwork Tue Sep 10 22:15:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827074 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530158wrc; Tue, 10 Sep 2024 15:22:02 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWthNPZ7ZEnjd7mdGIfHhS2peW1Re0MC+nJr1nl20x85Yk1vgJTkoBwDiYcE19C2Z5moroHbw==@linaro.org X-Google-Smtp-Source: AGHT+IGKWwdhMcG01lxEm0Q188yGbxmnL5VynbwKHMebIC758cjLPxl1SKshOo8L+VQDxlUFdrTE X-Received: by 2002:a05:620a:1728:b0:7a9:af9d:131e with SMTP id af79cd13be357-7a9af9d1c0amr1538699185a.49.1726006921930; Tue, 10 Sep 2024 15:22:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006921; cv=none; d=google.com; s=arc-20240605; b=fz44pQJOPZDtc+Ld+5ld+JuvWYkgzfTRSBW9tFkApvMbsZmcGwCaquwQL8uIHXVZi0 aSerccbwlY0u9j1UgGqmX9zKUjAnSWWpCNK1GtUEReWxlkLVIc58sTpkzj78fQAvJkcN 4Rv8nZsgWI/d7lUJ4SOqGEGktPqDdgl7Jzno9ju55mgX4uC+nWbg2ClG/hDdAOROpTOC vRXaDDaRbrn1S7zR/wTzmskrOvk0vYj8PphH+J+ZX6cQKFqrTrkeZtMkgIpgMlfeeiE5 s86tqtlW1NzNLr4k3/JHcea52X1eAtcf/CpPalqIXiJ7olOrovuwGRJVzx5Bdn9y6JxJ 97jw== 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=RCGVOkz/BgjMXg0ik5e1jthdc26fdQDBLF+1lu12foY=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=W5seYM0i4WhT/LDNEg6GANLH/RzrSf/OTDTfApuQ0Jczb/1dUmwymZ5b0XUJgavsyc JKCI8qtyuzMIsa0TjhJFK0/IhZDKD0YYzNaKfERiAYuHwJka1tpmaS++9sUujv5MwxFi +Staopi/yw4j1pa3q0k16HrcLc/uGInCH+TU8luCnuJnlSxKykLapMnp02b99ta2hnEX AS+btqv13CZRJeGCKOqhF2ku17JIN+ViEdVzgA73vafhAdFfmTwQfjiV4iERLrQI4m8h PfhjP91+fIdN0ncX74f95c0VS11CNj+4CRG6G6Y1pqgLxZsV1KuMyQ1Asl3QwF6okpya 7OLA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MlV6jPin; 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-7a9a7a82928si888762585a.758.2024.09.10.15.22.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:22:01 -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=MlV6jPin; 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 1so9BE-0007Ao-VG; Tue, 10 Sep 2024 18:17:48 -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 1so9Ae-0002Om-PS for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:14 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9Ac-0006s6-Sz for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:12 -0400 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-717911ef035so4712341b3a.3 for ; Tue, 10 Sep 2024 15:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006629; x=1726611429; 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=RCGVOkz/BgjMXg0ik5e1jthdc26fdQDBLF+1lu12foY=; b=MlV6jPinbs7SXe7cvmnOtMJtH8OdH/tWWebrg2gJZDVeLJJENpf6/HHp62+B+qGvZD tCcUd2ll14hr2xVSK7vLI5sevb23wt1ED9RfgndZfsH1RSSQwaGaj539F9EzCIPirqvL opY7Lu1HOio/IWWK3cGB3e8RP+WMjnJbehoTcqB/hKTTf3VPwCrZxFMCLDvuqMdiMi6B IwU0RMdoTjMN0bt9jvK69WmaIY13bAZFChNmveWJuJxdhJNV0T54i3mM6FmI+yEr3Gec rtZ774NZV0B687NrHoGFfDDtjs+BbULgxibiKtLLlkWSTm/cfWUnYz0JBdJzQPj+RoMg 4MpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006629; x=1726611429; 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=RCGVOkz/BgjMXg0ik5e1jthdc26fdQDBLF+1lu12foY=; b=MLh46nt/ixGxkU0kawwByTsBiDr85oc5OEJtRfuMm9J0uatFQ5KP6z/VwVGZUL8zVl Cnel5R/VlYLShQiLaxoej7Hf1AiGCctMiMCFkMBgXpV9LFE1Oo17QTYwyoLKH2HU0i/T mxGHS7MKhaAQQB0NcbIm8m6i/jAcNgybYMpWeMwhfOza/+cC1EZMtHh+spKDB9HgykoC wp5Marjhu2OCRCM+RPSOQGBT+k8oL4qsMzeb3fGrKP0zOE9tsTNpAs/4L4K+hknnt19Q w5m7kPIZyXtE3IhctgfDAOpQ+EGSH7c8fva61LUXJjIdZOa6ozzEKGcceSmc8ypU7kC1 Nwbw== X-Gm-Message-State: AOJu0Yz1GpE0GcGcZSgHi7YyO5WkpRXgcmeZXipmDiozlKDo+66ll3vs LWG8FfHZfWrCJnGYkt8DrzAWuVbP5MS3/XN9XGCeCFKyfgVSyDqqDepmhLEXnvDgMp8uJFHYoRJ 2WDT7LgS0 X-Received: by 2002:a05:6a21:6e41:b0:1cf:5437:e768 with SMTP id adf61e73a8af0-1cf5e03316emr3202667637.7.1726006629425; Tue, 10 Sep 2024 15:17:09 -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.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:09 -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 25/39] block: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:52 -0700 Message-Id: <20240910221606.1817478-26-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42a.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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Richard W.M. Jones Reviewed-by: Kevin Wolf --- block/ssh.c | 1 - 1 file changed, 1 deletion(-) diff --git a/block/ssh.c b/block/ssh.c index 27d582e0e3d..871e1d47534 100644 --- a/block/ssh.c +++ b/block/ssh.c @@ -474,7 +474,6 @@ static int check_host_key(BDRVSSHState *s, SshHostKeyCheck *hkc, Error **errp) errp); } g_assert_not_reached(); - break; case SSH_HOST_KEY_CHECK_MODE_KNOWN_HOSTS: return check_host_key_knownhosts(s, errp); default: From patchwork Tue Sep 10 22:15:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827081 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530639wrc; Tue, 10 Sep 2024 15:23:48 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX5esYfRsp+aWxLEba2a4hvvbxDCvcpk4b37wYywkfCR7S6OYvEkFSWj9UUn2+vWFF0sSnP0w==@linaro.org X-Google-Smtp-Source: AGHT+IFnpACAaU9PoMOgj6AD1c8hZnTntSzCy5Q2fc46H2d7eI79S4m/kUqPkYcBsrzBwAt3JnRa X-Received: by 2002:a05:620a:2901:b0:7a9:bf19:1351 with SMTP id af79cd13be357-7a9bf191420mr797003985a.54.1726007028295; Tue, 10 Sep 2024 15:23:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726007028; cv=none; d=google.com; s=arc-20240605; b=Iwq9vzXctWSrefiWF081/HgC/w/+2fVfkZdukpJXuTzgKZ0AhNApSQxPMP/5LUxO8Y m7iyPa52RGCabDtgIqMhsUEtQTaM/afMWvIoD9cPPENlbFsNOtveofGV8LOYYhJyM9Ro T6qCBRTSvLebC2LOZwrAu04wEmffXRj7//KdK960JIlEB6uZ3mXc6F47GxsarVHqNT+1 HqgfnV8aE7v7WUettBzblWvSRMv7WqcWgxj7d+LpXfQFoMq8EKCvq3nwJRLmpMEpPIGv YiA6OSvv3+GkXNDTf4f3wkDuMnItBnmnEIhyTU2giyY7z4pB1tWsC3QYGc2QFg7ccIAL B6Wg== 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=FxBBj8XHDZxd3pwPDQhaFTyzR1JvVS6yl60rcPuU8DE=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=ROO3YiV1e8gkjTUbxoYdjskyaCcUA6GeZAEBEXRcOQj/m/aTTYobhXAJYl9QM2PWVk JWamw4PBT0bAGLM1pebvBpj9SEd5jHdswfGTIHEsMAWGJjtFk009Xh2a+TfQw7cT65mm +w22mGo5qkcMmteFuKtU7egAq86GB1KwWt46pdze7n90ErKarAC+Nhyw021bea1TdKIr JFCOsGigu4mCxeJU/0uRFC9cs1lEcbwvmxPPx/2lpO3xxtghKBTsZbJvuSXvoQIck9Wt qpj0mMh6t8eVOqBtv6RWaE/JWAoSyOfzDsYXFuk8SwE+/piJMmnnTsB2bCrLgZz/2OVw +gPA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a0Wfztix; 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-7a9a7a47fbfsi911682285a.494.2024.09.10.15.23.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:23:48 -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=a0Wfztix; 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 1so9BT-0000Qb-I6; Tue, 10 Sep 2024 18:18:03 -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 1so9Aj-0002pA-SD for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:17 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9Af-0006tG-Qj for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:17 -0400 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-718a3b8a2dcso3687796b3a.2 for ; Tue, 10 Sep 2024 15:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006632; x=1726611432; 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=FxBBj8XHDZxd3pwPDQhaFTyzR1JvVS6yl60rcPuU8DE=; b=a0WfztixjUb2tgipuxXU/m7hVMH/ZWJLtYr/AjNJsjbMc6kihdo5SROlvHVQ6NvZmr W+LruOHKAX1Qb3ewo9EZ8KtC7mEFJ7LKM2GkxD8n3+eoCVF/TFad5q1wFAEkJt4+qR0O kvyXsZVVLqRuA9ORhcfJNkxRIsvLJf0CddUEydQDEZtTlGyTB9Gh8WP3NEMlrCA3yRMa Au7LilWj+wZh1HiTYc+NVIck7elT6NHRO4B0AiwufODwUa4xlI56bfc7bV9YUfFpYSCF oBZU3Ef2lATmr+2K+0bFcJcmSNwMdiHQDiSWgymQlU/nMt3e66DlxYJ/EjRPyhGm8qzr QsSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006632; x=1726611432; 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=FxBBj8XHDZxd3pwPDQhaFTyzR1JvVS6yl60rcPuU8DE=; b=DIYHudGcIMcMrjwBNnTQklZPf/KzbnaA6C5JZsWW1raj8yIPIhtAF6p6E6cNtcoJ3A wj8RwsUBYXfSuDGZ4zgTjrpT3gErtmBebCmMCDXZSrzsrjUffUsHj0u68lL7Td0ueqmD Y5aH9TahXojm+ZUe1+6/gOB87ipbPQ7hqD0Q+MiRZ5knvEIBhLym4wnDRbPra2FdpqRJ q7wJxHe/pbt76oTgnQpUF/XzbTh8V7e3Vr4XSBkcicSHw/75JLtyBsyS261HLPaM2pod yI605KWLR0owTnXMlAhFajzKkzKLQugaLvY67PKMwfixmhi3TpCk4VzUOoiYcZtCjDek 2UXQ== X-Gm-Message-State: AOJu0YwR5sOOSqZQEDzjzO0GlkK3WE9YCy60tuMbQBoi4xseah3j2+74 xMuQgUMYhZn6VboXZsKCY1Kk3FHNnI+CJvZf+0Vm0DIpziHycC04PKlA7T0QkSReAfVmJDrdys2 eOq2L8hiV X-Received: by 2002:aa7:88c8:0:b0:714:2fd0:357a with SMTP id d2e1a72fcca58-718d5e20a52mr15181026b3a.11.1726006631633; Tue, 10 Sep 2024 15:17:11 -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.17.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:11 -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 26/39] hw/acpi: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:53 -0700 Message-Id: <20240910221606.1817478-27-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x432.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- hw/acpi/aml-build.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c index 006c506a375..34e0ddbde87 100644 --- a/hw/acpi/aml-build.c +++ b/hw/acpi/aml-build.c @@ -535,7 +535,6 @@ void aml_append(Aml *parent_ctx, Aml *child) break; default: g_assert_not_reached(); - break; } build_append_array(parent_ctx->buf, buf); build_free_array(buf); From patchwork Tue Sep 10 22:15:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827080 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530556wrc; Tue, 10 Sep 2024 15:23:31 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWEC8Yyx+EuX0KdSg5+qjfro1zC+igf76tYcYPbG36Cj3ZCvfZOQHfzGMfscshjzAaCVVqP3Q==@linaro.org X-Google-Smtp-Source: AGHT+IEuFL4ChGicDqlAiwoF56KLA7AvrlyzRQEPzmeEeypxMZHZaySCg+ZFkjmydZuwEte5NJzm X-Received: by 2002:ac8:5ac1:0:b0:458:4e60:72bf with SMTP id d75a77b69052e-4584e607582mr13158521cf.28.1726007011000; Tue, 10 Sep 2024 15:23:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726007010; cv=none; d=google.com; s=arc-20240605; b=Y36XcBTLtZVP1KFJne9ULnJ3ByT+JhgqhZg2wz6VOSeICaxXQNSDNqtZs2F9+OpjeQ n61/yHJKsue1gP47fbHlJ8uPvf5n7HvDX/Fn7J4arfEjKWeFkQpvEqDlwbQXQZgWVFyb a3pH4KcfpXEOH0TF+5pKlHZ3Hx97Kjg2oUbuxqzMMDgi/gHwdrGRBcQ+4nTjfef8ZumQ KQjbt2ypbJH2d4ycwpCeHD78HxGsM8feaqVtxKRsg6/PCyIcH0ON/K8S8ItxKVwAy0M7 pIAKLYHOdb56D2h3LXvUC8moFBNHHyuvbCUTJYf4r/BRRaEbXuQ10bB9lX1PcJQs9//y D7mg== 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=4ywE7aBllZLgmnJKdHtMZdYUoug1zQm9p/Yk1hU0pi0=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=OZ3ffxHEwxZQy+bhKgpL6yNrXJg0nYNdcHbCbgGrX4g0xE2ruGbWWVcMgxY3IjKMFS mOjBfc0U3Q8pCsYEzCB54+/Oo593zEkLVD6HsIUqggnchr/pAlQb2akgu65yBBYZbEBD Rwrq89WydLEoTpE84TUcss5WGkV/nKsFGIj43K9clLMFRwR6D1LY0yFXcMf5xlq6y3ha rdTY1iCIKNgrRQ9TX9FXuvtQRYfxt2CeQC+V+fYNN8edQ5B564RSEwVQS+2CDAkvwOYh UozA5w+qFgTgD7Gb96gpuyOo3zhL8zBzBLIRKahycqTxqpmarJf2cshdsTn6cMQxTpIs 8PLA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IDmhchUP; 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 d75a77b69052e-45830ec2d8esi59636471cf.147.2024.09.10.15.23.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:23:30 -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=IDmhchUP; 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 1so9BV-0000lX-MZ; Tue, 10 Sep 2024 18:18:05 -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 1so9Al-0002zf-Ap for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:19 -0400 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9Ah-0006tx-Bi for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:19 -0400 Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-7c3ebba7fbbso5091416a12.1 for ; Tue, 10 Sep 2024 15:17:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006634; x=1726611434; 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=4ywE7aBllZLgmnJKdHtMZdYUoug1zQm9p/Yk1hU0pi0=; b=IDmhchUPuONkwL+6mjtaPhi2KD4Cy3c19P0BR1l08vCb945h1xBz8KOm7/RHfNOBGD WihCEx649ynP6XYNHEjqOFDFyqzAOH1998YtbQJEReP+mH7r9oDpknEcTMLWk04cGxEF c544qzOrehKsQCLPxFm+LKDKgKP/r28ZM4v/O2NawOOeK0N/G7R8OtKGXv4KyGk1F+Q3 X3tW4yzpJnKsdSVq+WO4MOVLPYunBYT4TFB48+67HV6xDTl/sC+K4TbGQsVXaD3DU/zx KFHt3xtDcugudOTf+bUATRY68kopMo6c9JO01n3294IC0Lp5w1odYxNg7R9/RYwf8926 D4Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006634; x=1726611434; 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=4ywE7aBllZLgmnJKdHtMZdYUoug1zQm9p/Yk1hU0pi0=; b=Bb7lMLJP5yDn7gPexEvMfbzk7rzWGNe/aPrh7Js8DTei9kU/giVJLogpdoZBHP5MHh BHMlWgF0EfyJpx3tYGEDZ0PjgLhr/NJcKa5ztHCtUa4fiP4joB7FdTKC2zy7eAIPdunP ySO06zuKmxmb8RPaASe8B9bS9pSI1nXlbbKso4mHVDzUzsSDi8/cRxou5ThQ/prD7uzQ XW3KexbAd5CY8WTE33027QbvWStUXuUuF/yOakhvLBIe5/RMUzKv/+PB486/adDPE7rd /sTlLOYpI3K0pnGOxXanp0GCxYAE5+xFalLPGUFgruarnWDvUfs3bIm5EeFqhScq2Hh6 RzzA== X-Gm-Message-State: AOJu0Yx52HTjgpDAoEldELUjB2mOCktrq5e78BewSLRdcOYDq+c+VQ/i x7QHBvK5GuObc2KxJa4qxkq1pm6TGR21npDVjOuMs8CSRxsYeuRZqa4u/0WvyeuLOx0UOIyABQW P3arteTWH X-Received: by 2002:a05:6a20:e68d:b0:1cf:32d1:46d with SMTP id adf61e73a8af0-1cf5e19e225mr3167109637.32.1726006633892; Tue, 10 Sep 2024 15:17:13 -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.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:13 -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 27/39] hw/gpio: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:54 -0700 Message-Id: <20240910221606.1817478-28-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pg1-x530.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- hw/gpio/nrf51_gpio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/gpio/nrf51_gpio.c b/hw/gpio/nrf51_gpio.c index ffc7dff7964..f259be651e1 100644 --- a/hw/gpio/nrf51_gpio.c +++ b/hw/gpio/nrf51_gpio.c @@ -40,7 +40,6 @@ static bool is_connected(uint32_t config, uint32_t level) break; default: g_assert_not_reached(); - break; } return state; From patchwork Tue Sep 10 22:15:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827079 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530411wrc; Tue, 10 Sep 2024 15:22:53 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVRdAKW8irBXCKtNrQVVRuziaouPSbpVQ5GLI0z1JRE7n+FYdBPFi9tF/cmBWS4+33WaknS/g==@linaro.org X-Google-Smtp-Source: AGHT+IGj0bNwoQozmYTMi8YVPMj8djvtrxMhFnF9NazwKLvE2KzEVYRSYtGdZd3T99eP06CdRhDj X-Received: by 2002:a05:622a:1b87:b0:458:2f54:3bb5 with SMTP id d75a77b69052e-4582f543ec7mr165614791cf.7.1726006973661; Tue, 10 Sep 2024 15:22:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006973; cv=none; d=google.com; s=arc-20240605; b=FiI7aQZL+qzegi1KWrwqiINUhACO2KUc3zO0mfl4U4ErPzaMlDJK60GtX5gNisHaSG 9rRd0JvLqtoM5AzLXgGiEyffxZ4ksdr1MPJjRRBkhhQcqPthGu8/OaxPyKPEw+GBo1qJ QNRWgwme6F14AG8sApmK0bk0S1LJBlVf1fMI743IaULW0gczTSGXM3ad1u3fuWqGzzgb Vy81EM/W/s5lnrrPpXIkoDv6d3S3mFup9l3EWGXo0vj+cBwjHaORtKyoWo8HFlcWVUIt 0le2zZeQwntST8ofHu+09wSF+7tmqV148CNu5k6Fhayk4pm3fO9C6hOBf0uilDgUGoUp vZRA== 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=qUh9IHgCF2MhxdXEfEudgW9+CnpXzCptLVYaeGylPlo=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=AJZk1jST3+iTC2jdqOrN+wHrq5xMH9floG+diJF/ZGL1IuPAumeI28EYT0otF36vfg dCVsxtdqdAhAAiQlXXAGZJuStLFdvBEeBqK0EqcnxV7q6expkLc3JkFCBSL1AgsuPXtp DPT0U7E59ENPinCUaW7R6HrmZNZ++7XQLLW7bgm45tk3p47T+DAWDcdGxQV/nMrDg2Bh qpVR4saNw598tdRnjBPnG01iIZoqYpKN65K7GjpJhBflVOoEHoCafV/L7SHeD5N3kzsv ALUgxAvK0Tvnpa5t2wPifhnq+82peM4gIfNpILyB4qBWXZRAg9i8wYYd2kDRmPh9mong Hl+Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WM2TZoje; 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-7a9a7a55b62si894082585a.564.2024.09.10.15.22.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:22:53 -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=WM2TZoje; 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 1so9Ba-0001T6-IM; Tue, 10 Sep 2024 18:18:10 -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 1so9BH-0007TE-I3 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:51 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9BC-0006y1-OI for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:50 -0400 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-7184a7c8a45so3839491b3a.0 for ; Tue, 10 Sep 2024 15:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006665; x=1726611465; 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=qUh9IHgCF2MhxdXEfEudgW9+CnpXzCptLVYaeGylPlo=; b=WM2TZojeGwnbyGL0FDN0UZsG9vrfmYolsgbHhUmybOzmA/YGpkArD9Kt2wM7LNa+3/ rSpjml08mMn3wtoY1h8p3jlZLB5v4T8t7Pj3Z4Q8ppFQnjzC2YDUW5lxBgDZ63oSrJvs Sd1zv87wvnl9zbYt/4vbb6N9nlmMfMkoBJ4ojLK70vGprFT6rvy68RK+671TIc7MaWkT 2Jm4pLqRXzbej2RPnDLPtK3DyrgHe2KYk6jVMNXSfM971Vvf9VVfe8JWxe+m+UWozoQ6 4Ls1UgGlj26PU0s1BofFeJdhzxhj6VVIwyCcfn87mCLevSHRHiIVEDRQmL0IAELZSjRv sH5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006665; x=1726611465; 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=qUh9IHgCF2MhxdXEfEudgW9+CnpXzCptLVYaeGylPlo=; b=D19DOPU+YIJRUYCzCR207QH7gb6TXKsGTc9WvFiyzJlCFpoAb5TyBA8gFGbMjJYasP nYsbyPS4nvSIODJ42VV+Ir9ZNli0AeczewuG6X8Nlc/gRUt+mPsJe0cQQa6kjGJ33awO RsN225y9WLjLHVfHLXiwV8IPH/OdvzYUZKtaq9bdhkMR8V2NYzyTP9XW9AmEeZOJj60V Vv0BPp5tr7KnLUWOS2pj27ih0neVW6AxK/rATY+HB9DUFlCynVtZrJ9MzltBHoG1gYar rR2CDbZpEySLiMezTiDAUUfEqW+WuD3on/2/tumLKZ9rNfyWikwsV/fnCmDF51wU6a0l XJDw== X-Gm-Message-State: AOJu0YzYs9T8t+pxRrmRXhF0YF9EtGKw9+3IgWYY84dZpN3j/ZAQDdpL YI4I2Fjx6TUBGhq2UCECjGUQwKVf1iA3AOT3gdA1LCyvNRw2g6uReFK61j9WkP/KNr1ElOvden8 e2gYHq8rI X-Received: by 2002:a05:6a00:17a9:b0:70d:2e7e:1853 with SMTP id d2e1a72fcca58-718d5ef956cmr27062604b3a.19.1726006665231; Tue, 10 Sep 2024 15:17:45 -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.17.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:44 -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 28/39] hw/misc: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:55 -0700 Message-Id: <20240910221606.1817478-29-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x429.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- hw/misc/imx6_ccm.c | 1 - hw/misc/mac_via.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/hw/misc/imx6_ccm.c b/hw/misc/imx6_ccm.c index b1def7f05b9..fd5d7ce4828 100644 --- a/hw/misc/imx6_ccm.c +++ b/hw/misc/imx6_ccm.c @@ -301,7 +301,6 @@ static uint64_t imx6_analog_get_periph_clk(IMX6CCMState *dev) default: /* We should never get there */ g_assert_not_reached(); - break; } trace_imx6_analog_get_periph_clk(freq); diff --git a/hw/misc/mac_via.c b/hw/misc/mac_via.c index 652395b84fc..af2b2b1af3d 100644 --- a/hw/misc/mac_via.c +++ b/hw/misc/mac_via.c @@ -495,7 +495,6 @@ static void via1_rtc_update(MOS6522Q800VIA1State *v1s) break; default: g_assert_not_reached(); - break; } return; } @@ -556,7 +555,6 @@ static void via1_rtc_update(MOS6522Q800VIA1State *v1s) break; default: g_assert_not_reached(); - break; } return; } From patchwork Tue Sep 10 22:15:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827083 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530656wrc; Tue, 10 Sep 2024 15:23:50 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXzxmJhO6Jt+HbIsf6aVx4uPyytEjJeNXepOCZ8BF557pbRno1v1JHnKq2hJ2CJJhb2DOxKMg==@linaro.org X-Google-Smtp-Source: AGHT+IFIdTHqZCCKbHqUg/FH3/5ep7k0eohGaZQr2EKc6PeAmphsbRzQcYxHYtzrGEAFxSxg+hUK X-Received: by 2002:a05:620a:3906:b0:7a9:af76:dae0 with SMTP id af79cd13be357-7a9af76db5bmr2240094185a.60.1726007030253; Tue, 10 Sep 2024 15:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726007030; cv=none; d=google.com; s=arc-20240605; b=X+cjydBhaX0BPEnK0dLrmHMVEkhj+5Pug2kCnjF1vjM4kTQsV1VcmwcmA2Pg4tEKJX 9kKboIazqsRlYcPl4SN0sgbhLgC3ttjtnTdJ+MlJ4ACmzS4r9aQ74NNeUuToWtuHi/Mv 6/RlNF31mMqXWIa8+Y448R08VblUFmrhMaHhGG00mogBMHsqF/r038OKg35imW4xQbeq 696ZjPyFkfI9sldPF3uod7a4O9d4QuFtdVx9+srHSaTEExHbhkIKTbZE4sFlr/XkWCJJ 4o8byfMHfjRQAsBWhFHCesfs1L1AGoTKuSRV5cDecpn/wrfF8svRGl6/i/492kIJT6hB QOvg== 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=pwL33KJkM4Q6sZhv70DYnj8c/5K/FMceLOUvjv0df2Q=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=OSlN2BftRcHTJamgZKVHf0g7jkG8jCJrvurtyn0Hgfh0Beb3huWh4ufDELSZgl7AH7 boi2aaYQsWMsNcTpKfUdNFVPZHWooSY4TTUm9ey2YNXSwPiybdvfLQGEXraCqDAouOf4 mEEoXL/SxR3GKZ9CYoCbhrb0S9rtvgrouFWGeQdAs6bRPEYhR8bRZnXIYcB3VBIpY6cn BtPe8Y0PwsMAr3tym9AmKfFF+riolQwhjOODXTsH26BrArpEvuNXmTtcTe2WXhSf79rN +3f9WoGO6fZTlCSqW3WEjI/4e12REDD88lM0PTNPP09JOomXxXTeIMbomPZE75m7EzvU gnuQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fmQra3O1; 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 d75a77b69052e-45822fb00e7si88266351cf.585.2024.09.10.15.23.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:23:50 -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=fmQra3O1; 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 1so9BV-0000kz-KM; Tue, 10 Sep 2024 18:18:05 -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 1so9BK-0007qm-MV for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:54 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9BH-0006yP-1w for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:53 -0400 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-71781f42f75so4835306b3a.1 for ; Tue, 10 Sep 2024 15:17:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006667; x=1726611467; 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=pwL33KJkM4Q6sZhv70DYnj8c/5K/FMceLOUvjv0df2Q=; b=fmQra3O1RchwVkBmA2kMEY4pkjxUPhCv7GexH08NrF6EJV/blkfsKk2+S8C6U10JNE XwyUyI7pzFkL4W9Yzx60TRj5LpydputZbJR+4D9eW9tOUS5Gj97aid9YPlg0t+WBKXzI 0uM7JUEWt69OLb5irA7UhZDgnbtQ9rRfMwvkjU0UohG7HduybV7+J+fspJY3BIToFL2N 8ILzYoJ+NG9cfp/otT3xm++0uR5+M8DGcOkJua1lN1cU5pl3hxzRjwCxHFsJInd8QgOa Iv267zyB4VjbA1z3tSV7CuxezZFFJQEoMgJF0jK3pAKapqwlR3djGtQWb/Zf6EQDni34 ldOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006667; x=1726611467; 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=pwL33KJkM4Q6sZhv70DYnj8c/5K/FMceLOUvjv0df2Q=; b=nC+Mqtprqm9Wgm1BI2ShvrOsptLtVnff9qYjeiKIRwRifTtoAeUyP3Pa61Rpmg2DC0 64ihlN8XtvAF3Mdz22UW53VX5oXVeCLUa0/DKPYhyBBupnMbgsYhS3rjwmthzC+4RF2u C02zGGTFX0heLFAvm62GgMW2Xnyb/B/pg+C1wRSf27F0FXPMcAfpIOcC6f/4+Od1Zaph 0wRJ/jjku0dwG1bM0kISDcrXet/CLmgnbBrTeWVszWK1zMjd8TfHwQg7vsKAxlnwHCEB EdqSUitJDMi1UMhBtPMabZNt53BZDl7W+69GC7WARdoSY1h6XJ+GoA343wI68mKZ8Nen lqdQ== X-Gm-Message-State: AOJu0Yy36mJm3LXXof44P2X7NpHxtMgRr3GHZhM8BgIgXhYajtjBcszS rvnoUtyL8xFLDhFrkXyWl5KThHmmb/RIOIeL/gu4KWrSErWOqkiY8BtFBCAsI5XrR9gkW2LN28C bkJQRDm/p X-Received: by 2002:a05:6a21:9d91:b0:1cf:3201:c3ad with SMTP id adf61e73a8af0-1cf5e1c8112mr3689026637.49.1726006667581; Tue, 10 Sep 2024 15:17:47 -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.17.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:47 -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 29/39] hw/net: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:56 -0700 Message-Id: <20240910221606.1817478-30-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42d.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- hw/net/net_rx_pkt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/net/net_rx_pkt.c b/hw/net/net_rx_pkt.c index 6b9c4c9559d..0ea87344745 100644 --- a/hw/net/net_rx_pkt.c +++ b/hw/net/net_rx_pkt.c @@ -376,7 +376,6 @@ net_rx_pkt_calc_rss_hash(struct NetRxPkt *pkt, break; default: g_assert_not_reached(); - break; } net_toeplitz_key_init(&key_data, key); From patchwork Tue Sep 10 22:15:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827068 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530093wrc; Tue, 10 Sep 2024 15:21:44 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV15jU3D0M7kIVT2mx3piutrHoF1Tqm9HTx/uBnJqfA42+xamEab09p7oNoWIigF380pOSUlw==@linaro.org X-Google-Smtp-Source: AGHT+IG6yRhmRYeRWTWCqYlK9AiJ+/Hl/vge4sSeI05wmCdNhcLlodHTkyGHssxYEHvPLi/HzFV0 X-Received: by 2002:a05:6214:5b86:b0:6c1:7508:9372 with SMTP id 6a1803df08f44-6c5282fbb58mr248951716d6.9.1726006904053; Tue, 10 Sep 2024 15:21:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006904; cv=none; d=google.com; s=arc-20240605; b=TGlccfDQrLyTB++bUn80BPvhfTfStBQCZQpoiTv1HTszQ3pGIupHyg1mZZ6P4tJKV4 5Vxk2y5xADe28gHENuNCNVpMbZ6kBdoyC5MCSkb0B67K6/jwckeHkXBKuCana9L/YihX edGnnaCyssiRviIGOABHiSSlmxRFFIbvcN8g8hx6eCtmlwlOnU/Mr+XqOYHzP+6tJvoy tUGy2bPazknzEU6VonMu7RI+sUEmq26EgMJnS0ONw5SsqbmtOsn5Btk7hqbH5vkD80qU xjp3Xf7cuJ4qbXjw6AvPgvkLQO/HS6URjTQEfcPT4uc7hmklTqiI6ZFIENTKLgEwfZ1p f9gA== 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=JYUGVuBQPVEKq8uP3q9x4VvG+Oea4tuw5RjsMn3QXjQ=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=i0tG+FsTzVTVvwR1X4iD6ILs0CtBZPe+1YrKlmOthe9cU5gO7w0vNy7ePjw3hDZYrL +5ntBArL8Ewo6oRNg8PtD1qgwO+vvZ0FTdnQeK/E3EgmyDMEDN0FzyA6uvspbIH2GHPZ pEBpgVZ37OPfrNa6SmTNtpoQ3gafiQogwi1pVG4Iimnot34DU4KF4XTaNqY57uNwR2nm Fw4nDN4wDER7gtjLGON5+3wsWrUw7L4t6GQ8kKExEOLJVCnHr5Kp5pL7dq0vHL3RB5Mk StZmSZ7UH65c1XMUvHZAor1dKJmdnGhPG+PPOTcTEG4LiZvIs41WuXudRzXQQIJg3NJu B/Qg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v0RKQf35; 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 6a1803df08f44-6c53433d8f6si86291536d6.138.2024.09.10.15.21.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:21:44 -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=v0RKQf35; 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 1so9Bc-0001vP-SC; Tue, 10 Sep 2024 18:18:12 -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 1so9BL-0007vK-JO for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:59 -0400 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9BH-0006yz-EL for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:55 -0400 Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-7d50e865b7aso4609376a12.0 for ; Tue, 10 Sep 2024 15:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006670; x=1726611470; 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=JYUGVuBQPVEKq8uP3q9x4VvG+Oea4tuw5RjsMn3QXjQ=; b=v0RKQf35dKljMjVgwHcwDblDbVBsgRDO5hUfvkC0New8xigHdfHt/LQxTgoiGVEY66 zGx76ONqIMxQWxxyCc2y9Cj92yq4FiMedpEP6AxvQ+VFABpLqdnpW2osdMe00cuwjUfp EQKvFokRwsCKq2zZ9PvXLE0XWMYJssTO3vW4tBN7UV6IErFW4INUwg0rCNYT6q/Y7p22 NMlVQjbrbl7u8r2oQe14w4pziRk+pY8emdX6KoBj7vTkwi4wlBHRZZcavzVNWo/yRYm7 GNyMlsxHZFc848xchE1WUfh+g/QTQTtEsVsk44Yo6tCVU044kNsnpGaq4u3ooy3CJI93 FmIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006670; x=1726611470; 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=JYUGVuBQPVEKq8uP3q9x4VvG+Oea4tuw5RjsMn3QXjQ=; b=gbSicHeWssl3VqNEgIdwHEuz/copnFigLdydXsYYD19A8Ge+4y7CTgnaajl0qtMMLm oYeJQ3/lW/Jtc9VM/JSiuLaQf7ygHVm5dYokaQfmraufNQDJqFk9mPmSxasghjn0c8vP PYwe56v/WEvJnEEsxADfNQv/vid3zO3zRcKsppvwgKIH3lH1nhrKEmWWem2WjceSksL5 0JdM8zPjMykWTg4+7T6FJzfjDKpkEvH5CrwAF6yBaMu91eiA5DKrO3a0TWqSgwQUXHfr QsSPXVhqMhmFlE8jc40mpjVx+WOeE7HORIDWX5zSjOiDhQzdiTAOW/ZMz2TxfYX4x890 VHfA== X-Gm-Message-State: AOJu0YwXoKgPQ+nLt1keikr3fO2F3gXH+T0wqYIg3xYEkvmgpwYSpOmE Gur92EYHogbcjbE5SBoqXLnqeauzyoi8QJNGQTiLgwgC6NVHQQmz5wzX7Fn1fzWOHlX96iZ60U+ Vugss3K2y X-Received: by 2002:a05:6a21:3a44:b0:1cf:284f:778d with SMTP id adf61e73a8af0-1cf5e0ae114mr3221600637.16.1726006669948; Tue, 10 Sep 2024 15:17:49 -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.17.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:49 -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 30/39] hw/pci-host: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:57 -0700 Message-Id: <20240910221606.1817478-31-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pg1-x52f.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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- hw/pci-host/gt64120.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/pci-host/gt64120.c b/hw/pci-host/gt64120.c index 33607dfbec4..58557416629 100644 --- a/hw/pci-host/gt64120.c +++ b/hw/pci-host/gt64120.c @@ -689,7 +689,6 @@ static void gt64120_writel(void *opaque, hwaddr addr, case GT_PCI0_CFGDATA: /* Mapped via in gt64120_pci_mapping() */ g_assert_not_reached(); - break; /* Interrupts */ case GT_INTRCAUSE: @@ -933,7 +932,6 @@ static uint64_t gt64120_readl(void *opaque, case GT_PCI0_CFGDATA: /* Mapped via in gt64120_pci_mapping() */ g_assert_not_reached(); - break; case GT_PCI0_CMD: case GT_PCI0_TOR: From patchwork Tue Sep 10 22:15:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827061 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529433wrc; Tue, 10 Sep 2024 15:19:33 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVI4wB+QCgr+GId3RhP2OTLrYQIZSHbK4AtYKQZAOpwnrUimT+BRk+usp7M6PU3h4HD8dpB3Q==@linaro.org X-Google-Smtp-Source: AGHT+IE6DSnRZqbZqOwhc7A6cDe9glesFnYXslpxOBXSd62u3X8CxwsyxGTOT3zcq6ZFWDgoqMRb X-Received: by 2002:a0c:f407:0:b0:6c5:26b1:7ae1 with SMTP id 6a1803df08f44-6c554d6a716mr61231416d6.22.1726006773203; Tue, 10 Sep 2024 15:19:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006773; cv=none; d=google.com; s=arc-20240605; b=K9aEDvKQPJHb5wYP35gJGDB68t09ISovLQ1PSuZQI/gDPxXemaNJ+9nYpPiNaBMfdg Ek+KhAsFu6npHIUP44I1WM2QY66yZ2+PrLn7M61wA8ACaXYX3oOH+TMAKbtK+0QSHQjK WFXNhE8JaRSvWQNxTvZ6t2xkU6u5pbRwJ21+OnI5mw/hGtEhIdrrRxWixUUxSas+idcX T1Fn0FNCnFlBrYsNnU9xwR9W/0ZywxFfYIfAFMWn6bOW4NhSryTrYD7UY2Q37XSStEJ2 aMas/6OCVHEG7u3sH/mcRrQ72x8B29dqvUoiqm3sRfj9LFWYS9gr2SNb8ZJgEOWLjylp jfqA== 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=Y03z6l8DG3u8GECV91NkbxRNu0WgfcfSpqwz7VG8iPg=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=ihd+IXxTf77Xl9VKBd5zuC7N2SM1LzLcpJ49UUP6u+8bZ0uI4Pw/yJJers1m+cpjjP sxyWTuHQM/K1GQcktRS5teTM4J6/n0qIn3h2yHBJxskSU8jzZ1j5B/JJA1ovYjo5G9Mk 54zH6khMuaDa/JUKoVJv3BMx4Z/eooFeimsaU1TsI68Op5/OQgjP9z3FyzZjUiPMmEwc lZ385fX4M/75Miy+qw0GlT5xBD+6UcLEQLRhZ5vzEplRek/l+ZY/lhJ0uPQd7TT4DlKu G9zFCUrQTowDyv+8hYlb0Zuf+ZkUSeaaM7XS/7LanzZqYN1RPqB6M9qia24jOTXn4JcD kg0w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xgUEIjZh; 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 6a1803df08f44-6c534784699si88397476d6.412.2024.09.10.15.19.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:19:33 -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=xgUEIjZh; 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 1so9Be-0002Dj-QP; Tue, 10 Sep 2024 18:18:14 -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 1so9BP-0008EA-CS for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:59 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9BL-00070n-Pv for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:57 -0400 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-718d91eef2eso193711b3a.1 for ; Tue, 10 Sep 2024 15:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006674; x=1726611474; 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=Y03z6l8DG3u8GECV91NkbxRNu0WgfcfSpqwz7VG8iPg=; b=xgUEIjZh4NmXlB8I8qzkTSx18vPk4rj/dG6qMllyoFcryf59roGNe4s+Y3BwGe8jau p0PBmU5rFQHdLYPWpkpfDzAsrE/R+N6bd+moxPgDaoCapTtfk1IL6TRJKiPKMen7FyCh 8HusiBwFv5cgYB6D5xoKrFT8Mbz40CHH9hZdA9gVumT2JYR0fIL+8KGmOmuGnWgSJIKp 92xGYyjx2Hk4+O1diGzH7B5bvsobFdmzvfE+0n2UD/McA38WygoG85/Pbn0KpgsMQnex 80z8QVBjkTemEF7tsRUTctU0ail1uEYWJBNDYGf0uf/ZOD+3UiGl/EzpFWB3yePK/Gwa dWHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006674; x=1726611474; 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=Y03z6l8DG3u8GECV91NkbxRNu0WgfcfSpqwz7VG8iPg=; b=stBka+cVEztEEHl9nk0N3/a6e1D1pOJDoRHyPhvL07DRxiaK114Dc/CZTW8frjWelP FV5Rw84zGGRdeDFqJBCW/w2tJuIyU6GGIczTjSFH5sygjKo8ugzy3Du1bv1nXGdwnpsu Wc0MZyW2T9t3spnAGVCYrHfuNrd/TonL504nOn5fj3F3gZx10560HjnIyWHNw1ohCjl0 GMkCO6reQcej1XXlLCzGbB66c1P1Ngwvb9W24xD032ofHmOnTkgEFjSquZsBHu60Ouiq Ez+CoVyId+ThbaFovg3RyASXGz7QNMte2XEYnFXTZvshWLM6J8RYZiMfeWMxaVkCxj+D vw2A== X-Gm-Message-State: AOJu0YwkbuQ+fyqW7wKGSaQL+hZdXXaMgGBXqPDt41LTvo1ZpOUlIHo/ Wq+VTSR+7TpYuNhm8pmnuzz4sZ+dexgpnNcj7rBbwA1/89dAIhW/RN9uDQM0EgXqd6j8IFHemDv 9TIg0VOX5 X-Received: by 2002:a05:6a00:6f0c:b0:70d:26cd:9741 with SMTP id d2e1a72fcca58-71907f29d40mr6083429b3a.12.1726006674179; Tue, 10 Sep 2024 15:17:54 -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.17.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:52 -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 31/39] hw/scsi: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:58 -0700 Message-Id: <20240910221606.1817478-32-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42f.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Kevin Wolf --- hw/scsi/virtio-scsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c index 9f02ceea099..6637cfeaf51 100644 --- a/hw/scsi/virtio-scsi.c +++ b/hw/scsi/virtio-scsi.c @@ -357,7 +357,6 @@ static void virtio_scsi_do_one_tmf_bh(VirtIOSCSIReq *req) default: g_assert_not_reached(); - break; } out: From patchwork Tue Sep 10 22:15:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827070 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530109wrc; Tue, 10 Sep 2024 15:21:47 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXGfmlrAJ+jaRV7wgddhRUBr8HHu6cgFRWN2LBJ1oojzVNhxuvZxGlEXpZMwypc1XJxCt++Xg==@linaro.org X-Google-Smtp-Source: AGHT+IGONuryYmg4unfhBxBvtdu0xveT7yHuu9eOlkCvdiY3ZchepbIT2MtBonXBpAHO54uYaO7r X-Received: by 2002:a05:6214:390e:b0:6c5:1f05:dcec with SMTP id 6a1803df08f44-6c52851dadamr253064966d6.49.1726006907633; Tue, 10 Sep 2024 15:21:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006907; cv=none; d=google.com; s=arc-20240605; b=HntfzSM7F8N+TAsDl/xOu8/bEjQ6BKpadVD75jle+cH/Ysubv9ySZFbsuHcjlvexWO 30vK8D/DGFI+W4/Yhw500Zriew9k1Xrb4O28sASiTqF9sZ6r37BGAq5b6GwU+0sM6AGw gdc25Ct21l/JKWfJg7mNS94OdwU3ChrTzzr+IvxYFB5iU9H+m8ncEYcsxLXsFUAD381w BBWeomFm/JYcDxuWUQ6xxkYRZpVvsp0fHKkge+w7XrnnGxH/ldGRGY4b/RHmL56fADda 20xo4x3tc0PmwzF7yfhd6pTFRtCM5a7+j/cAQAHKCvNv4TyEhf5LcAl1YFjWeJ4kaMx+ 3Qtg== 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=qnKY2nRodBoXlCJxTEKFwGzTN7ry8AAwSqqRpoqXdQI=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=QWealMCcub8sZlbmWSeejhRwlGP9nXAfQXjmiIR0AbYCoe+Da6Ugyh5SeNI78cKu1j qnDi6um+s3cu4TmY5t+m2C5KYGRUETUSTzqcLB/M8nylmZlPz1Vqduer7+Hsk//sHjxK H09btxoqWzX4N/CJfL5JERM7bPHB+U/lXuUfUhg8VHmyYutiPQJGXzZUpWW7aOuSQlRU /cpm88hmfGvTREkRhBLzwBy2sXdAjON5w0tpWoSkP7fSf/LJOqTCnzjjTu2flT+F2mvT AoRPUCSIpYl2fT/CeR9xNf2M+WTxaB2OEip9wGYFVobyBBEYuvodI4YgbfPsU1FT58Wo 1LFA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WviNrel0; 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 6a1803df08f44-6c53432fd9bsi92297186d6.102.2024.09.10.15.21.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:21:47 -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=WviNrel0; 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 1so9Bg-0002Sx-I6; Tue, 10 Sep 2024 18:18:16 -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 1so9BS-0000HT-In for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:02 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9BP-00071f-0L for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:02 -0400 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-718d606726cso3379673b3a.3 for ; Tue, 10 Sep 2024 15:17:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006677; x=1726611477; 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=qnKY2nRodBoXlCJxTEKFwGzTN7ry8AAwSqqRpoqXdQI=; b=WviNrel0NtWvBUHT8i9JXzfmH7keEzDriIu8SIWeigcRU7mhxelV3oa3V0rIaJBiRM E+KkpE8Ql3En2vQC2CVwUPSu8WeGr+OFVeKlzjqG8cgDZOJycZ6hX+iD8sVMs5jDYws+ oxywfE3/EAdCZk8SZDcOgmNaqgo6aonynpbYtR4EtLXEGZ4qtN4iaEaAUqsdY1Xrzm42 7CYKorKiMjVeBN2QynDTBYSyYzZepmJNon4kP/F2S9sOKkwazMKtlRGRgKE9NorP/+nB mYUoLZYM/ptbgeqY8JMdr+woNpoNd6zVxg41WyfOV77hsKzHtYWWaaEVmFqmPfgfCOmx dIYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006677; x=1726611477; 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=qnKY2nRodBoXlCJxTEKFwGzTN7ry8AAwSqqRpoqXdQI=; b=PSJ/MSrQDRuMB44/4swfYPEG20wXvxMQdq1z3rOIp+xwrPKx7WLUwYmER956xJFygZ j5YnLvL/gPc1V6RGLUKSeUiw+6sYIOxhWl3P0gwnx9+fZ5NS8GzdzS2tdPIY+zjFUGy/ G8ORgDKEb8RifvIaeKqOM11QZkvnCFjfTGsGbkphQQaDR+7+G1iNFh2CV7T8j6RRYe5J EP4e/Xw4+megVWvxN1KMX44RPOMAM6A+k/KgXcSfl9pypws3D56DcUU3gYjV1kw3dbwJ yVejMFKIWXFGul9csI39+Kc7x3HhExbO+N/HNmL2dg08o7KKbMEzfJdA36WXokayUu8B npXA== X-Gm-Message-State: AOJu0YyS6Ymzr2V0Q2Mz4d4fjMD9Z/KlMQEmye9Y9xSRS6GhIqpc6VqO FAoVfCUxxw3FIVXK1kC/AR/1EgenGZWZI0HzZY8F7TWU2nVMt8MsiXNvUjOEWna11yZwWH9HF4k 5NqGVi4Df X-Received: by 2002:a05:6a00:b8f:b0:70c:f1fa:d7bf with SMTP id d2e1a72fcca58-718d5ded8e1mr25670829b3a.4.1726006676561; Tue, 10 Sep 2024 15:17:56 -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.17.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:56 -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 32/39] hw/tpm: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:59 -0700 Message-Id: <20240910221606.1817478-33-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x435.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- hw/tpm/tpm_spapr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/tpm/tpm_spapr.c b/hw/tpm/tpm_spapr.c index e084e987e6e..5f7a0dfc617 100644 --- a/hw/tpm/tpm_spapr.c +++ b/hw/tpm/tpm_spapr.c @@ -206,7 +206,6 @@ static int tpm_spapr_do_crq(struct SpaprVioDevice *dev, uint8_t *crq_data) break; default: g_assert_not_reached(); - break; } trace_tpm_spapr_do_crq_get_version(be32_to_cpu(local_crq.data)); spapr_tpm_send_crq(dev, &local_crq); From patchwork Tue Sep 10 22:16:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827071 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530142wrc; Tue, 10 Sep 2024 15:21:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXlCWpjP4f/nsurWdLEZ2mhajGwKxQ7+9QXIF4MYDu04ttcKKDXMUAQwtRHS1jIYJ2GqgP9aQ==@linaro.org X-Google-Smtp-Source: AGHT+IHWfP62j/306QaoPt306l8ZNWNlq71UQvXlKzmVDJ6ekGTWXb4npuxw/HjXzKSRbVHSdLFs X-Received: by 2002:a05:622a:58c:b0:458:3ac9:11ed with SMTP id d75a77b69052e-4583c744507mr90678861cf.25.1726006918368; Tue, 10 Sep 2024 15:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006918; cv=none; d=google.com; s=arc-20240605; b=lVbBl1bkOdanllgQgZ2G6G450m/qrG0FQkl7BaBXv/6CDF9bKrWPQMfR98NaH11SS4 3MDXeoadwreYNf9uklNseXb+Z5MEbrz0CwPC2SWhFx4zEU5ARNGflWObzaK+A3xBxRgU Fa9WbTi194agAYpZ1H75MKLBryTatq1NEjxw+AFXXGcpjlWqMX+Vcm2Aub5gMQ+FR4n/ isA3QZkx4/EawN+ZXT72bBq2Ii1wet/DX0BEkN8lB9YiFqqPkcEL0Nb0cfZ3pcUfFXHD vtMlh98lr+w9SW80dKpDY1Sryx/v3BeqZtKVcXnni4Hympq1xwSms948dQE/HtgKYCfz nSpQ== 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=CCyNLuF1LstqlhxKrvBEXR8Gg4TvMK5bWfzhaE1qWNA=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=SDE+C0d/2jygkZ8yoYDQQKNMsw+8xkMVv6UZ1eUL5hnZQuJ8igIG6Zn3xY3de1ooib cUm8put0nKHOh8DzilSAvTbUe+US2FxhCsz55sj8uPZzTBRCRQa86Qz/TjPA4cyLoy7t 8G6wWgbxxQ8jLNVE3Ynu7y88Eeuidfg7qoEf1QajVdKA2/dFHnha64NtOptR7l1CjM6L oBRekzjBc4vcXU3gkNzE0DZvwV3j5kOlKsXBLq6HBtDFFO6ah1juZI//wfme229fu3oo pCDj6RGvJnf+lFQBLNOvcBNQLHgFk9UgHWYjHPSW+ycEyCvPlkVNehuDcgVqEZrWscjM Mm5A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="uU/064LB"; 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 d75a77b69052e-4582300f6e0si90765201cf.744.2024.09.10.15.21.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:21:58 -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="uU/064LB"; 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 1so9Bi-0002jR-6B; Tue, 10 Sep 2024 18:18:18 -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 1so9BU-0000av-BA for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:04 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9BQ-00072i-IA for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:03 -0400 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-718d91eef2eso193773b3a.1 for ; Tue, 10 Sep 2024 15:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006679; x=1726611479; 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=CCyNLuF1LstqlhxKrvBEXR8Gg4TvMK5bWfzhaE1qWNA=; b=uU/064LBdMOjPWjY56as/n5nYqYZHLvymb1w0wKoF0vd8Q8VXdPnc2QWypJUyZyU3T 16D2iL9BlfnQwOLMWibRIBFgETypUPAiiKaP8Nh8wyuFazA2FSgOu0ds27WDypeoUNxe EpcOaR4P/S+ePsI668NAEbHOmz7v/+T474BDTCbers5gYXu6mlr+HlNaAL6hkolzzDnM RtEtOqaFZZk/CSbxL0wWNRt7pIwepalaBjfXdfCOVbGEMUdQHmgoyZhhAaDhIYrRMx9G LMw7hoz5Vk+DtPUiiIknCaZsiJVXOe56M80WMmJi64uv7zlz/IRVV7LLzybR/tDkp6Ks pJ7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006679; x=1726611479; 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=CCyNLuF1LstqlhxKrvBEXR8Gg4TvMK5bWfzhaE1qWNA=; b=sHMDVjUja4Js+k+pHmNSrLyeFVAPMGS4H0HDWEBDWULCzJegW68bbvz5OR3koNWQm6 kECfliKp9J01SdGmONjRzgX8wKuYKAstTCnVtDtWnWSakAvYUNWSADhS0HRmgn/sDo5T BVkt6tlvb77VeptrXRROVBNm9lhLTTG5NLkvRrnjHH3T993I5S+BCJWMfe55xSP3HJBh x+forRE98maxaTJBkxCeOGVis5mJyK5qdgTs/YN41mN1P6tpMaLWi2tYapE7FolyC//H VbxAPwAELJIZkdh+IwO/0KMlDcVBJKBp2i8yzl0iHVEsAurJIBH58aehxvEuKrpZ+y27 rfyQ== X-Gm-Message-State: AOJu0YzKiAh8iwHLRKe8GYbWbp4RfFipVVci4Jz0L1feWymir2hJ4WLf 5JPclnEOGSwvn0L9MG0cY002mjtyUjMwXZogz1lj3XJREHMUIp1ZWDjU3fN1GrDvR4Wxmx00SXS 7B2tesqyW X-Received: by 2002:a05:6a00:3095:b0:718:d628:3d7c with SMTP id d2e1a72fcca58-71907f54f75mr6220196b3a.10.1726006678900; Tue, 10 Sep 2024 15:17: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.17.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:58 -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 33/39] target/arm: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:16:00 -0700 Message-Id: <20240910221606.1817478-34-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x429.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- target/arm/hyp_gdbstub.c | 1 - 1 file changed, 1 deletion(-) diff --git a/target/arm/hyp_gdbstub.c b/target/arm/hyp_gdbstub.c index f120d55caab..1e861263b3d 100644 --- a/target/arm/hyp_gdbstub.c +++ b/target/arm/hyp_gdbstub.c @@ -158,7 +158,6 @@ int insert_hw_watchpoint(target_ulong addr, target_ulong len, int type) break; default: g_assert_not_reached(); - break; } if (len <= 8) { /* we align the address and set the bits in BAS */ From patchwork Tue Sep 10 22:16:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827063 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529529wrc; Tue, 10 Sep 2024 15:19:52 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVXRIh6mJTsSEWFjvIsq3uoCw8UG88Ggh2LKG/z4Ma/ZzFcgVLRu9qMCdTtmGx04Ko2Mjnj9g==@linaro.org X-Google-Smtp-Source: AGHT+IFux/PjEDynv3R/MPaV2kMjQMYdIp2REicaUeZR8BX8fq4GrrQAGrsSFqKvbMYF+OACzBJv X-Received: by 2002:a05:620a:1a1c:b0:7a9:c0a8:914c with SMTP id af79cd13be357-7a9c0a8952bmr610620385a.53.1726006792262; Tue, 10 Sep 2024 15:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006792; cv=none; d=google.com; s=arc-20240605; b=Ca8CtcXEGNhyUS3LdX82jvNFJniBLAS9fZTGm4urR+CLfD7jATR8T6H5ISFau4uv+d Lxa5/aYMqizJu0eDM4Wd4EwByfpO/vkkxgmoUESCS7OrlZpSEGAmaDkDstSBmRkI33mt ASp/zrdoZl+ciHQ/zCY8xHXWPzmn44W2/XNwCeq/UeIZ3XvZGj49YEk/9iqkKXv9QC4Z +hG5ETpsOvwGIvw1xKirPrgKtqDcRei5C5ldCoT5/RcZpOe18d/1rGgGP/fcUlkNB8/r llBWNZvBCTAxcwm7cGv6iAriSMwNzNm1cg93DLqU4XQ9ad9CZgV0XjkUmU4KaNMNcUM/ M14w== 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=Nc9MGfuSCocWwKVEpmreZE3UNjtG/w4I6s0g9X8lNJQ=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=Ar45cx8Cl5auJ1512gIrIa1Lis4YFuQwXCTmHXYXBb7OR9TZyHy7ASN/lr2hQNPXwx UqZWG3Wb04cgugXBdo2AWY1hlJuBlk56BKO3B4TYCOr9SrCqYRxroiLnuQDxLh3xdLKR PkgwOw2eJuOMUIFc1kEj+gMVQCFbJrMUGWukwkCRjeWwSC1d/GMNod4obeKBuPeRXBdX jF66V9efVbQVlCgYZ7ED5tJyFVHOShFOo9JxNnrPh+eENSm2j4CrI7aojIRHaKv/n+SO Fn1bx9szo6JGubdq+OvrE4VSXR/Pe7Yme9G75q0b+/r+YJKcgKLubJ35rjllsRBlrjJ3 meFg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lfDrgXhZ; 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-7a9a7a48a88si862327085a.471.2024.09.10.15.19.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:19:52 -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=lfDrgXhZ; 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 1so9Be-0002Fb-VV; Tue, 10 Sep 2024 18:18:15 -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 1so9BW-0000s1-3j for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:06 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9BT-00073z-2r for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:05 -0400 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-71790ed8c2dso5249033b3a.3 for ; Tue, 10 Sep 2024 15:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006681; x=1726611481; 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=Nc9MGfuSCocWwKVEpmreZE3UNjtG/w4I6s0g9X8lNJQ=; b=lfDrgXhZVEvBcMZLXxSleBCtIp323LBSdvLZsbxkUadFfYsUGlOYrjHRm3Mjxc5Pvi 6ML5ofdY2fw8z9dlB6cPIpTTqJ8goBJ351tt7F3DCs3bNNU//CvfgBWQuN4ogLk6tVZ0 UJEDbe3jBI2RTBNfKvfvGvt36Im0QewmL2Gt1FfGDfcwv/xbrVNLGC2GRZnvDzoPw4/S 9eOVgAv4iAwSPiebqxPzyTI8kDBE8Cl6nW4IPbxY6nXtarLZQs+u0KjVn+AS95QCjGuw 7acrXAZLSJ4pcyTTCOYP7owBc/K7lkbh5VL8GQPUqPUPfqr7BKuTioqDsZB/7qNfxzB3 X/zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006681; x=1726611481; 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=Nc9MGfuSCocWwKVEpmreZE3UNjtG/w4I6s0g9X8lNJQ=; b=Xx7xsoendJVySgYLWD9LmtbFPapPLZ0PKhcjQBM+xjp38JxJ60FecrStsiO3B3RLo6 xzMLLKUERRmi6asDKYIhHeUwHVW8O0rHExen/I6k2RPagFZ1WhW76gzx9pewsYXeMbxQ i7rGUiMCyNvqdr39y7UDYt8KrpXL2bqJYgXsmXi6IUz4bwrUANe77ugIFFQulYTwuLTH PTQyqXf7kXRoQcD4ZNv9PeCTEp5QDqeDHhMPoC4pK18Te3/9iMPAeLiLhncTOXnF/VZC paMh5jOsL+aiD50Kl2mMrJDE+sW9GuglLovf1BShWYar4sc85xzKORiYck9QugKGyAEA MwZQ== X-Gm-Message-State: AOJu0YxHbvT6rXSUVup+2xVAq4bScjGUO6M/APt/bEI+r3yxU7M/PAoc BLP/+DvmVpWSXXkCzrenH+QoOJhYrhE/mpCm13tiDI3Q0UmHGC897xVij5UdqH2BL+GWVX50V/I KTmIDcYwu X-Received: by 2002:a05:6a00:919e:b0:70e:9907:ef75 with SMTP id d2e1a72fcca58-718d5ded0a1mr20600690b3a.4.1726006681287; Tue, 10 Sep 2024 15:18:01 -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.17.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:18:00 -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 34/39] target/riscv: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:16:01 -0700 Message-Id: <20240910221606.1817478-35-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x430.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Daniel Henrique Barboza --- target/riscv/monitor.c | 1 - target/riscv/insn_trans/trans_rvv.c.inc | 2 -- 2 files changed, 3 deletions(-) diff --git a/target/riscv/monitor.c b/target/riscv/monitor.c index f5b1ffe6c3e..100005ea4e9 100644 --- a/target/riscv/monitor.c +++ b/target/riscv/monitor.c @@ -184,7 +184,6 @@ static void mem_info_svxx(Monitor *mon, CPUArchState *env) break; default: g_assert_not_reached(); - break; } /* calculate virtual address bits */ diff --git a/target/riscv/insn_trans/trans_rvv.c.inc b/target/riscv/insn_trans/trans_rvv.c.inc index 3a3896ba06c..f8928c44a8b 100644 --- a/target/riscv/insn_trans/trans_rvv.c.inc +++ b/target/riscv/insn_trans/trans_rvv.c.inc @@ -3172,7 +3172,6 @@ static void load_element(TCGv_i64 dest, TCGv_ptr base, break; default: g_assert_not_reached(); - break; } } @@ -3257,7 +3256,6 @@ static void store_element(TCGv_i64 val, TCGv_ptr base, break; default: g_assert_not_reached(); - break; } } From patchwork Tue Sep 10 22:16:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827075 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530184wrc; Tue, 10 Sep 2024 15:22:05 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX6kaJHbRq3p3RJUp5LLcT4EYxQywDLCDBBVWMgAA6bcjZby/hv0wr5rZoCuA2uleGPDdglIA==@linaro.org X-Google-Smtp-Source: AGHT+IGYdTnQPNflbDnJBA3d13xlz5/svVrX0errKUND1ST4yvWH/rzOypaaT1x2FeqNEOFSW3G9 X-Received: by 2002:a05:622a:1a1f:b0:458:4c0d:bbd0 with SMTP id d75a77b69052e-4584c0dcacfmr37140851cf.30.1726006924866; Tue, 10 Sep 2024 15:22:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006924; cv=none; d=google.com; s=arc-20240605; b=bARAAbL9z3qeGl8eglCtZvM46MRE9wmc3iEsOXRKY2Zp92mRJ7sbI04Oc6wDOM8qdA b0dhe8gha5lYlM2/T8sBtwEx5AJIa7hRO2MvaNiVxEWp+S43GmWl9Umqmw2tY/neZ3GU iYc8VbOvfVD3ejdkeOrOwLH/CpZrkHvfxs9KSy9IQLK827E8FujCp6DriAbdxTrjjtPp eSv5UxgYIpM6DemsuyeaPxRyA23UujQSInjfdwkcUzw88EcR7uUJP948JW2pnyidNdDY BWaIs1kPhDaAwehyFSmEaxgEyiIROqcmMb+ONyp5SkSywzw3LbxBp+eVVkhTEAn+mpPy EWew== 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=HVlIH0vLGwHmaRGMFANFNOikFJyMD1Z2/NyDN944UZ0=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=bjIQo6JmmmlzPwUw5SRzTO7TnEqN715L4tG5MHCl1oXGIGyKZnFTOsQh7iR8LL3PUH jqxwKs8JqZMz6alF1427wG+aw5bK23tG5BskTAagJhdwrKTpRbVKFc/b1vQlBdXHBtj0 oB9a41hP5dcQr7ZMZMxjNHriiNLxdM14z4+rXa/dLCMoRqB5aLzS8RJM9qTzzGEIbrF6 o1fWU50I33bCPr40ZNvTg94DEu7btguV2ur6DsKTnExW07SefHqxyNLrtBmk1CfXfgeZ s6JSuq9/eLsHOpK9txNvzvEPltT5cNHFNQhMC240L73OmQLael5RpdCaynMADZECuYDh 8ong==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j8CR3sr0; 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 d75a77b69052e-45822fb3bd8si89240731cf.639.2024.09.10.15.22.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:22:04 -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=j8CR3sr0; 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 1so9Bl-0003FA-4V; Tue, 10 Sep 2024 18:18:21 -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 1so9BY-0001Fl-H9 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:08 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9BV-00075R-7b for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:08 -0400 Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-718e1ce7e84so3016311b3a.1 for ; Tue, 10 Sep 2024 15:18:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006684; x=1726611484; 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=HVlIH0vLGwHmaRGMFANFNOikFJyMD1Z2/NyDN944UZ0=; b=j8CR3sr0tw67dbYksDjnaDQeBLYfY9+Izh4GgWxY17gWiYOc4IJl1Sg+YxA5bPD51y 0K7AEa5o7Fbh2rlgdaknmaSdRDUaeepsnwnyd6iQFI6DHhDqD2wydVXc7SHHt2MyhqP+ EA76B+ZkBSg8MsMiHjBJN8U+KWNCwQktx2uMxGTSjCcgnr2HFBge32z4OFhu+RqbNNwQ i35/X2z9DS5yed7GMwFJrzL1Umz5skcoL7tl8qPlcbumu+b4ydft0GfqZQnjZR567De7 8It+gUA0f8Sqt450v65QW1ZvgEp5Jl2mcb6KXViFEzfSJc9cqePCZ8nuXKqbpIhLCuWh PslQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006684; x=1726611484; 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=HVlIH0vLGwHmaRGMFANFNOikFJyMD1Z2/NyDN944UZ0=; b=CZs15Rmyu6x6YPgKWxlOMaqFI1Ct13EgbRX1pCwiQIhHFjVrNPRjNsUbamIIgeI5o6 usAKXoNVX8TZ+I79ANmziG+zXW9pO8nEzggkSGYfaH/jz1vCEYBSU7yoxzaZsKHz2hPC F4F3zsCtWeH6t+WVUx2NQt37L+7emQvd2ScnFHo6wP4gFI4OPBUJ54iAEvxTH86t1+OL cLDHuwP+WDtHHlpsowTDcjHn1Q2KeZaw/H4objGY0t2eS6xAV2bWUnkfk1DqGkONU3Ut YkJjqGvYbJtbcw0jcv1bqIacW+aPv4EwFz1X2GN1pOsL9cHDs3GCuaVYEbxk2EYfjP32 IE/g== X-Gm-Message-State: AOJu0Yz61TltZbMYagRnXmBUvP11KMKmqpKlsSJMNR4bjguwLhOOIfwi szmgqgR0kqTd/IyEgWxCtiUhMnXP0+YnrvSFi7VULX/IUQFQMw7jqbw4d7wffwmgTFp2t5lqj+j 4aTfjpQg6 X-Received: by 2002:a05:6a21:4a4b:b0:1cf:2df6:453f with SMTP id adf61e73a8af0-1cf5de0ef4cmr3537960637.0.1726006683723; Tue, 10 Sep 2024 15:18:03 -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.18.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:18:03 -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 35/39] tests/qtest: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:16:02 -0700 Message-Id: <20240910221606.1817478-36-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42f.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- tests/qtest/migration-helpers.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/qtest/migration-helpers.c b/tests/qtest/migration-helpers.c index a43d180c807..00259338833 100644 --- a/tests/qtest/migration-helpers.c +++ b/tests/qtest/migration-helpers.c @@ -76,7 +76,6 @@ static QDict *SocketAddress_to_qdict(SocketAddress *addr) break; default: g_assert_not_reached(); - break; } return dict; From patchwork Tue Sep 10 22:16:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827066 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530049wrc; Tue, 10 Sep 2024 15:21:28 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWsZ+EX1umagzqEOsD92Mke5o8F3BKr9fmoVpc5IuKG+jNu68zIdPE+yxUYwNLiYXnqx60poQ==@linaro.org X-Google-Smtp-Source: AGHT+IGXoLYz1MsWrI2Ihah1aEpt0DLANDuSgrwz7m4uXFzyuFFHc+r4pti3IO8PVrqnJo/c5aeb X-Received: by 2002:a05:622a:47:b0:458:2e67:febb with SMTP id d75a77b69052e-4584e8ff4a2mr16921821cf.25.1726006888605; Tue, 10 Sep 2024 15:21:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006888; cv=none; d=google.com; s=arc-20240605; b=FlvBRnvB/JzTdQ8Ew8Dau65zMiitdS00tHe6/C9/50pRJ3WrHMWxfNOw80ydBc6SDW yay9eD8/j6epJKrJ8jWPNftczWZ4+73K5GzH3RNPAZGgprmxpbXU80g3qwkT0gUiSgM+ ZqnymqPjwBmU6SuOvxLjn8Fb38uO0/3t14NfNB7deH+ZFKPOd3jLyuHrcpoPMFHoX+WU gUl8UjCN0/AG6hUT7qNqLEUzGhm2P4ZHsI1GeEPS2WHfwA0h3GlDBUQv/12ZmdsYIb/T 5rVJL11pg1X4ansHBQWDAMyf46zU+e/QHu6l8YOJ08eZ4gZ5PNzV6fDCFvb+I26dBYu2 Thdg== 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=ilTWC8SUeBuQoT7BUDbD2Q85sEksALIaITVdH6ynhyQ=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=gtf6isbgC47Pd4gVdGyz3Y9tRR9nJP2hYiVCQQtlb+Ty2sKvYa+npW88QxxHc/SHdo TYAaEGbV9gyRGGIK1JNFTz3c2F7qyPaAGkaHs4B1zpSS06uhi94dZTjpPzmhh+MIsAe+ XJvfY1qHXDvZR4f42AOiUZG3PppsCr/NNqK/eM7PHE0t9KbBF2scdGGl+OZPxwbGlifM CgizN/KpUtE8c8ww7n4EaCZfiJH2CI9cMb9bxZ532WOyVUvjJSRNHEHInBfBybOXcn9D Lhx6wCZWNyO2zKXRKLytfE5aOdQOAxLVOZPZudNWBck6QmdCWsHhMFdDAGW6rnmtIS62 5Lug==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QvL7lrIQ; 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 d75a77b69052e-45822e61cc4si91445981cf.107.2024.09.10.15.21.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:21:28 -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=QvL7lrIQ; 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 1so9Bm-0003WN-QO; Tue, 10 Sep 2024 18:18:22 -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 1so9Ba-0001b4-UO for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:11 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9BX-00076k-TB for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:10 -0400 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-71911585911so822041b3a.3 for ; Tue, 10 Sep 2024 15:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006686; x=1726611486; 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=ilTWC8SUeBuQoT7BUDbD2Q85sEksALIaITVdH6ynhyQ=; b=QvL7lrIQk3SQfb14mVBqXjKI0vEaeygL8hiBHSHEk+JeAeNvN2Okj8xE5xnpAuNSVF BPL61H+8EuQWGa6SIBj163oaTFz6y+nB9ecHBSbn2I7r+2rVZw7my/FcWCi4575B366T twQIFxHuXecAGCtBo0DxL3cBVymPIuAR3UISgwiC/w+s02Sm18vOBdQzEtcFqSl19KMp HNmXJuLavIfXBO8wnC8hunXU29lLNKy1skjbqfDk52HoyE1L3ni3MV0Mdrwx+icaS6TP mwIrBEP5Yd691nN5dco7lnYUhfaovzQikDzD7aaZhg5nPMJyfV4mVnahUZ5wnmDrJ5R5 OEIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006686; x=1726611486; 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=ilTWC8SUeBuQoT7BUDbD2Q85sEksALIaITVdH6ynhyQ=; b=YyLk6vIwiodXEB+xnzyNivYAsRidL6VnqrRThH68NEUqr4HDXkkou4G2sOo0D2bYMJ U1/9n/Cv1FSh1wvzGlrz0y6Eh8rPxgdnszB2qg5vyEarkcu0zZbtDWi3N+AvhFCCtCz8 zyTZF5qiEdEsLiEXQm9tZpOZq0glCJyHBcGWpHEBRPO5w6/IfIe/AN9hF4l2wMZTfM1G VYFLYxrAtxeKZfQr1aul7ovFnAOz0Khp9rlhperRHzj1BO2oj0H6AkBHuZeWVoj7r4/a 3YfNcqw1FaX4ORvAzRzpJDoZhLSnTVNEZAsMWEODxkZ6RXIyFQZmxnKNYAkxjoEHy2lk RmmQ== X-Gm-Message-State: AOJu0Yy4xKikckaXNe1RUn3YJB9Ck/Bmu9V5qmi4v0yTR3onLZOdkHvV UB1wfDlq+q+bP1CpV/J6sMdqNtHZriNVNmewmMSRDGawhqyA5zSlxgXl+P+GPXVhJ6+SSn6NQcU wfp84BN/u X-Received: by 2002:a05:6a00:1799:b0:706:5dab:83c4 with SMTP id d2e1a72fcca58-71916e7d1bdmr1330581b3a.14.1726006686207; Tue, 10 Sep 2024 15:18:06 -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.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:18:05 -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 36/39] ui: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:16:03 -0700 Message-Id: <20240910221606.1817478-37-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42b.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- ui/qemu-pixman.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/qemu-pixman.c b/ui/qemu-pixman.c index 5ca55dd1998..6cada8b45e1 100644 --- a/ui/qemu-pixman.c +++ b/ui/qemu-pixman.c @@ -49,7 +49,6 @@ PixelFormat qemu_pixelformat_from_pixman(pixman_format_code_t format) break; default: g_assert_not_reached(); - break; } pf.amax = (1 << pf.abits) - 1; From patchwork Tue Sep 10 22:16:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827065 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529910wrc; Tue, 10 Sep 2024 15:20:59 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVig4obYJIjt/TXGD/gsPu45JCdqlDbBiLkBYRU9Lny7JpHc/BMrImS0VdwRflTMo21sxSYRA==@linaro.org X-Google-Smtp-Source: AGHT+IGvLD6ye5t7qysebCTxKdEum/Zt+MV4G9QYYfvbNahx//NWdZJBEIt+tVHJx9/iTGWGnXE5 X-Received: by 2002:a05:622a:1984:b0:458:3eb3:7485 with SMTP id d75a77b69052e-4583eb37766mr69887041cf.45.1726006859391; Tue, 10 Sep 2024 15:20:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006859; cv=none; d=google.com; s=arc-20240605; b=ROyVLWwjTWDekFRjvhnktxnGBK7kzBiQhM5R6pPGA9TX+hfZQUYKmYXejoYp58f0pR Rl+H2jdtkxXKEVRlwaUehIr8nyOFC/5K2vNa5QOkpgBiArxuHszdeRxvV6mJgXf9GhzB zifMzM9bJsctLG16rkwTW24VuA3mO59Ewg96U7HQOZgkSrfLi0eXhXzdIm2REIAozsWq vQD/HJXnM9FrY73X++9D5rL+u80+4w5BOvbAlTccl2awSVUdLd5ucBzzWMxKTnzHjwm8 60kJ55gdKYPLqfco2sRem8eGEbX0EbYbHQPj6t64/Av5/L5tIm8rvGrGesGBOlvzMp1D JifQ== 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=w3yhi+ZDTWCfsZmUwBuf/pfnGgC91a9e/gCoVrv3y5U=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=H2NSrAqNp94m94lj36EgFpswVRrv9IGeVElw5Hff+9lN3huFeCeX3Uril9U1G15PK6 hVn5QRZvxnDocIp61mVJK3ANGGINdFKVK9JWAxMyyR8FSrkP9kx9R/FeKyhumifLuwv4 +rq7MXtjZvHMy8S0w0VqAT3Omwrth7nYU9pCtJS9TfYdqDylL6DUEggtz4SHNvngLm/8 wYHw/B3m4duuc/cqvfQE9gkXYZnvHkOkIVO/TtzRdQTo3h/piBMdKzdXFliYZzC1qyl6 ObU3NVa5jnkKT0DMnsuzzMeiOhLGgjkupLjI+Na+rZ/Gv8y+841MvWquDR2fCJSQB92g ggDg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v20gkdNo; 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 d75a77b69052e-45822fb4a42si87805061cf.596.2024.09.10.15.20.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:20:59 -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=v20gkdNo; 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 1so9Bk-000383-Bi; Tue, 10 Sep 2024 18:18:20 -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 1so9Bc-0001td-Mm for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:12 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9Ba-00078K-Fg for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:12 -0400 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-718e6299191so2047551b3a.2 for ; Tue, 10 Sep 2024 15:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006689; x=1726611489; 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=w3yhi+ZDTWCfsZmUwBuf/pfnGgC91a9e/gCoVrv3y5U=; b=v20gkdNoFF3X/7OXulCW111qIIh+/d2QLCUfFm72mk20An0iD1snWkW57vYIJJDYO9 xWcga7oukhfo+81Zr0Mcwggtce/nFlKiTCnviTZLERJEd4t/fGf0U2bHiefmCgrYtNcm cKCaLGyXoDIefZGpydDASuoVdogZKb/qimutpvQ3b6aA1Xljwa2rGcvKOvl7/4cUb1V9 +iCi8ip24UM5mB0VLXOwfFbKFlTKypuO20UmAJmRQr/BENeBwLk6U3Jg749KOLyaui1P 5I7rn9EsM+XheZ5TcZmaWFLhOhVSRvVYWbE5TMxC6Xd66dNbK3YBQImpmOpQeR399Xvo TieQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006689; x=1726611489; 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=w3yhi+ZDTWCfsZmUwBuf/pfnGgC91a9e/gCoVrv3y5U=; b=FDz/Jl6kd9CDS6bG1Js1O1gHZYoHuVUXmsbP6sin4Nb6Uu+P7c2DtjfHVQyuxT1ooh kCAGza8JFcD2lXHDiDCuifWt2N81Pqod3cMaLoWi4+E9JLI+9Z+wqwzTVls89B6uQCYP 8/DdKPTy28Ie5glund/puL2RKKQQ1F3TPmrxVdOpnJJWoDYWhwRUnWz8s9yXI+K/LLjs MB2NpUA76/DFYgSYnZMxXxYqHYnFXcAo37FCSZYmXlhfD1b0HJyS8qO3mIAzuxyZtWgg YUE/8bVTgHQCXvCSDQ4SC+mTOKPF3Wrn8O4EXv/Jr9WgPLzmI0DvgNebz/Y6jrHogRkz PcvQ== X-Gm-Message-State: AOJu0YyNBiBfc+QyByFA4yA/+Q2yz06f8KPlH8UN0r5hknc5NMmS7DaS 3OVdRGafqPCYd8qFy0PdEskmI5hD+5Moo7efnCiw94fXAleqYzza3AAF/iFM5NAAbhO+m0yVpI6 ICIYx2gwb X-Received: by 2002:a05:6a00:218e:b0:717:9768:a4e7 with SMTP id d2e1a72fcca58-718d5ded0acmr15828847b3a.2.1726006688573; Tue, 10 Sep 2024 15:18:08 -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.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:18:08 -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 37/39] fpu: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:16:04 -0700 Message-Id: <20240910221606.1817478-38-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x430.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- fpu/softfloat-parts.c.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/fpu/softfloat-parts.c.inc b/fpu/softfloat-parts.c.inc index a44649f4f4a..cc6e06b9761 100644 --- a/fpu/softfloat-parts.c.inc +++ b/fpu/softfloat-parts.c.inc @@ -1373,7 +1373,6 @@ static FloatPartsN *partsN(minmax)(FloatPartsN *a, FloatPartsN *b, break; default: g_assert_not_reached(); - break; } switch (b->cls) { case float_class_normal: @@ -1386,7 +1385,6 @@ static FloatPartsN *partsN(minmax)(FloatPartsN *a, FloatPartsN *b, break; default: g_assert_not_reached(); - break; } } From patchwork Tue Sep 10 22:16:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827072 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530146wrc; Tue, 10 Sep 2024 15:22:00 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXIP+vPwTJ09kLH7/uVTW9yfeCUX28StzakqPlTF+62xvtY5LBCbO9EL2tMZJlM8AzfusYl6g==@linaro.org X-Google-Smtp-Source: AGHT+IHHc438IYQVtAotN0q4qmeIF+pbjvXPmBRx7Y2McwBlOUmomr4CNub2+QYoOZQnMgJ44Amr X-Received: by 2002:a05:622a:d2:b0:455:a52:926c with SMTP id d75a77b69052e-4584e90d837mr15934461cf.13.1726006920069; Tue, 10 Sep 2024 15:22:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006920; cv=none; d=google.com; s=arc-20240605; b=kaRP7Q5nVSVsbka7755r3ZAMMqpv07odKG70O9qXvPqe1ofxIkQnLCdohGH6aLUtOx leHUeGXlC57StLijy8nDOi+g5Y1UvimeO3KZhZhtLSWcPz9WDr2STh+WBOFMv9shZlQu OjqH7aFyi1ULZnRXnt7D+4pC5bdq0gMzQ6EVb6R+a4Ag7Ni6lsecL64862nGBQb0BE3T +tDX5nwvTvdnaV7Bzzt/dCHjpQoDGNj+b9Hmo26YSWqr1haqPboMCOpQkwn/9epfoMYO LdbfNzNHCNseWc7dPIW62i52gxpkQGIEnuARdvefuDaqEZ8SXHFLxCJhOeQh/xT3yVjJ JTsw== 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=nwKevNIRKkN+EDjbfQlFt24U9FBu+BfVdKedtfXUqZs=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=CKfk9OAbJ6DLKm1M7i4oxSxHsSwM+erICBYej5sqFqSebJ8RsMTowVx903qz15SpR0 zfGWlEjtGiOZoPZErpjsiQOxYGAV5mb/HXyc/q8HyzkflKvOKstCF1yHnL9VpUeaS/1M +8SodZq9/BydilRjnVFL8Itf4VyHWQj/ryH/H7R0uEV3hc8EMp3pMc5VeJ4EsxxQoDNj qL7mDFoFGERe6OekB7JxsL8BCO7Yxg8UItShFiSUOGn+F2dxVg6t/hUNfkMckbRXvUAo uRu5mgztbR0RjvhJXWET+5f8KtFTNdO/HuQem7MiXzYi7bSU1wxGbxtcCkZvjJp8RpYi FBXQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Yo2i1/aU"; 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 d75a77b69052e-45822e82ae5si89291861cf.209.2024.09.10.15.21.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:22:00 -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="Yo2i1/aU"; 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 1so9C1-00051R-L7; Tue, 10 Sep 2024 18:18:37 -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 1so9Bf-0002IB-5R for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:15 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9Bc-00079Y-OV for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:14 -0400 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-718f28f77f4so1195249b3a.1 for ; Tue, 10 Sep 2024 15:18:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006691; x=1726611491; 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=nwKevNIRKkN+EDjbfQlFt24U9FBu+BfVdKedtfXUqZs=; b=Yo2i1/aU4Z4gMYBvfaOROvMokOhHxSrMkxSriIMQWsomNgliJMcFONucCMTbt8I0LQ m8YE6jwEQyWRHLVCxu84cf2cpuThBbAwO7z7+wBb+wAAjE+xtOUdsWPNWPftI8qFMAwA C8DogOoVxtadFfxajFtq3l0lZOFy9r5ObDHFS/gWcjubDJhdIxg9FwuCElfwTiXgchkW quvYHywZP3rDWEgsOpBa4k+9/WRn2o14u0J1VLqoGMVvPK8bsdXPyEj4QyPiNI50Cgmi vlWkTeD6y+J+MWQf6/TEDw1kT0nhsakezz114QRAYiVKmV45RavBkHtVXbxFwGtYnQBE dxrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006691; x=1726611491; 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=nwKevNIRKkN+EDjbfQlFt24U9FBu+BfVdKedtfXUqZs=; b=mm83LNLrF2jKAP/oMf4lY+8wz5SlTFA/qHT7ppyPPgdh5dQBufLtpWqjSVSkxt4igi CdqoIXDFac2/2eCixqpVMpk+HeCQxTYGD1UaLaQ3TZew4kfnA84xcZkRUmplKZwxZpZE BwrWa21SDcU3sXqgiF7Xru4isEnMZkSa0L5rRQROCIS9P120cE1+xKBpdeWt2GyGk4jV thacgNtrVeih9GYhyWipfOqC1HGHmerpaRfjp3x3z3r1dW/lCKCHnRJKMPnHSolZYYKM 06kzQtAPGPmli/A1vG4qcVfR1ZSYwFdwfJfXLqiGI6m83bEs/381KCpup8wp1vTiYfNG 1qCg== X-Gm-Message-State: AOJu0YzpHAuuBy544IjCaOSu3Me9nlesNDj4noRwkpGPLfmzBgen+sRQ m8/0MXM6AxXwbrv0b+ENrrba6OLkhEthsc3WzDNEjWWdhMXzSnaDQ1r/Ynem+9xaGB/rgiCtdIl 71Prtbb9P X-Received: by 2002:a05:6a00:2ea5:b0:714:25ee:df58 with SMTP id d2e1a72fcca58-71916e9b6ebmr1238405b3a.18.1726006690994; Tue, 10 Sep 2024 15:18:10 -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.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:18:10 -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 38/39] tcg/loongarch64: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:16:05 -0700 Message-Id: <20240910221606.1817478-39-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x429.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=unavailable 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 Signed-off-by: Pierrick Bouvier --- tcg/loongarch64/tcg-target.c.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/tcg/loongarch64/tcg-target.c.inc b/tcg/loongarch64/tcg-target.c.inc index 5b7ed5c176b..973601aec36 100644 --- a/tcg/loongarch64/tcg-target.c.inc +++ b/tcg/loongarch64/tcg-target.c.inc @@ -650,7 +650,6 @@ static int tcg_out_setcond_int(TCGContext *s, TCGCond cond, TCGReg ret, default: g_assert_not_reached(); - break; } return ret | flags; From patchwork Tue Sep 10 22:16:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827064 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp529893wrc; Tue, 10 Sep 2024 15:20:56 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWERg8Kw0XkFWK4eBa9kl6rcgQWijGVgfna2rUp/vCnJEmQjiyJO4qQCVyDOWa4Cd+pmpfW2A==@linaro.org X-Google-Smtp-Source: AGHT+IHyVvwC2BuSqGfCrBfqicpTDAD31qNgEwIWpb999IHBadysKtA+fmL9hWrDV1Em7Q0s3Yvo X-Received: by 2002:a05:620a:370c:b0:7a9:c0f2:89da with SMTP id af79cd13be357-7a9d3d3a2d3mr174226685a.43.1726006856028; Tue, 10 Sep 2024 15:20:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006856; cv=none; d=google.com; s=arc-20240605; b=DWV/EZEd5t5pZ0adhCUW1IBzUJNCNevObV28XyRVj6iIZGHzi9ByfYguHxqeaUk5xh JKY2Q/N7oPWp72cfbq2iO7kMndBCneGCoBc3a4D8FUgEH6HLUyxn6TK17Qjs4nUyd+Qw Z6YaqanPXNVsqkKGTUgcTHoQ0Ygw8bY2w3uO/Uy2rsKYkqxTTEeEEg7ISDvmbgqHVvJg xSC5jbgvUNWMI6SEW+TE7Jz9l2o+q7Ec5/WVVHBOhjxvzwHWzBPu//Fzn2VwehCx6G85 TN7VGRxYfJgAh9bgJR/uhXrUjmyjirTEh4HwoHOh25rXq+VvlE7fP4cSUnhZpjzc9Zal FTyA== 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=WAUNG2Z8iwfixvozuxuZzI5U7SDFeb08Hf/Nr+6pfa0=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=VwUD4zWrD+eovpNIo4GPQCRzRgIqTaUhY3JWUHkKW/DfPsLJKHSry0PjQx2Ewrhuir K+AQU6+2Z1QgN6PtkaD6PzvF0JSApVLI6EvkVLKrwr4tTe8R9sOUJp0jOg1vg9w5xG19 gFXpeUsXil4fm4tJSeAnAOUfY0U6Yxh5HhmTuyC9xdVrhsmdM7UXSa+aim7xjB1n2OAZ wpzo2MpVBAgXxZRVzKGmw2wPzQlo7dyMsrVtbA1UfdS9nWunQhSdz5ZsYbioIAqP6gKN XBNowCLH8KGuwUCvHH+DzEwh45IwAfC0G1HOICvHqlWmOLlI91GGZ0MjDD5Qw50/IH8v Ar+A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sMGKU92u; 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-7a9a7a46dd8si893206185a.384.2024.09.10.15.20.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:20:56 -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=sMGKU92u; 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 1so9C6-0005ra-6n; Tue, 10 Sep 2024 18:18:42 -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 1so9Bg-0002Yx-RF for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:16 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9Be-0007Ae-U4 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:18:16 -0400 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-718e11e4186so1245240b3a.2 for ; Tue, 10 Sep 2024 15:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006693; x=1726611493; 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=WAUNG2Z8iwfixvozuxuZzI5U7SDFeb08Hf/Nr+6pfa0=; b=sMGKU92uUL6VoGMdtD1nMNktU7SCizbIPCx2nhX/ToN2xSX7x2+qAfEqeKdNOinRWE zFwWnrk6LEegildz92cUU/0CiiYoSoS7H2CunZKcRE0cM76NMUhycnW6OVLH+Am35uPZ ZFRovXadWkn6LYG9qozJs9FEWpVTlkCytM+TzjCq3XcjT34BRO0R4LRH1QWNwl1GjkDB gCtStwyDH2I1+MkvvYcfMFCEQBgn+eK6tTwY+CZAoSz8zqWcid6LViYx3kMuZz/gFqoy ucJJagd550VwcdSBw6t2Sr1mh3th0Bi0QctSmQpJVEn1EfaRx6tZ864LpRg7YJDkSzW8 +pZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006693; x=1726611493; 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=WAUNG2Z8iwfixvozuxuZzI5U7SDFeb08Hf/Nr+6pfa0=; b=CJxr0swgN4oe/hCBPglBNVZIhrjxZbjQDaNuSlH73QRKwLNw1EpSEWsqZuqbrarroe pqE9ionpFvP9y501AiUezy8toSaSAEpT884oO3osLdPiKJu4WL6H4T/44DXxnOMO/iaS XLlvuCwyqzSGCLmgN4Fw72YccPC+zQUSAJRpgJgsUwUPIa2Zh8hA8zEKa0fsOkaev3q6 Fuvohp02n+iKSlM801R2aIygKGObEzSgBtAPNtQi6AoxZDxl18QWqksLYBzeydVzVYPG dE2fLF78eo2CokmOWirtndtbww5DHrFPbrZqDBedmLQGHDW+8vGIpF2hmyYsIXUGBR82 Y9zQ== X-Gm-Message-State: AOJu0Yz4StwMfQ0pBgSZr/ds/g3t8EG+7bvukjjHOUcjCkwKnvItWO9+ 0eLy3NA+OXEkaUpNF7RveC3ePoFNdgWgN+6ED+s6TZSwehHeVE3aWkOvUkT31QUSXb99ZOnnuHS NvQ6ZXv1M X-Received: by 2002:a05:6a20:e609:b0:1cf:42ab:5776 with SMTP id adf61e73a8af0-1cf62d5ca4amr1800943637.32.1726006693348; Tue, 10 Sep 2024 15:18:13 -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.18.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:18:12 -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 39/39] scripts/checkpatch.pl: emit error when using assert(false) Date: Tue, 10 Sep 2024 15:16:06 -0700 Message-Id: <20240910221606.1817478-40-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> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x42d.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=unavailable 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 Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- scripts/checkpatch.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 65b6f46f905..fa9c12230eb 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -3102,6 +3102,9 @@ sub process { if ($line =~ /\b(g_)?assert\(0\)/) { ERROR("use g_assert_not_reached() instead of assert(0)\n" . $herecurr); } + if ($line =~ /\b(g_)?assert\(false\)/) { + ERROR("use g_assert_not_reached() instead of assert(false)\n" . $herecurr); + } if ($line =~ /\bstrerrorname_np\(/) { ERROR("use strerror() instead of strerrorname_np()\n" . $herecurr); }