From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5335606A31C for ; Mon, 30 Nov 2026 00:31:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=fMGwjJgR Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D100640E31; Mon, 30 Nov 2026 01:28:33 +0100 (CET) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTPS id 073C240DFB for ; Mon, 30 Nov 2026 01:28:26 +0100 (CET) Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-cdac6d19ddaso3982907a12.2 for ; Sun, 29 Nov 2026 16:28:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1795998504; x=1796603304; darn=dpdk.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:content-type; bh=httTBPSsh8HI0GJmvJMSjaag7QJlhz1jF/s8KTsPRLs=; b=fMGwjJgRjT0wRkgHL+9jkUJUv4vnwEhAB4edEOq5/hKcJ9xCNeCbhgqAw05fdHEXUM aPRgixf4hUUsnLE4aEZZhKJLIZLAKc/MZ4AlpzdCycrek/iTGl9BvKoqyeFdiWaQj0+w v1g9eJN2yZ2je+ADcXhNaIYmwLgYQu9QV00A6xJDoIMk9UK81OPFPunTT3nrkOKC/p70 Gb9v0FnGopCM4gdI7SpIZFRX7dJ1hjr+Rt8id7h2hY3lQmBBVTuyr8ZW+Rx+W2H7FHwg cv8MiORmsyAWB2euRZQIyYY5CSBlpn+Ga6MBgMB44FmasPKO2SS5oFm2epd+On5/ZA7A oaSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795998504; x=1796603304; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=httTBPSsh8HI0GJmvJMSjaag7QJlhz1jF/s8KTsPRLs=; b=a7QdfwNuor3TGC7XpZLU3rK32QA4VadhbOufHWa+jWjJG5iULy+/zGDnaxdgvW3iiy VtxcL/aznHUr8X2xIkwuGIt2ZohSFItmgW+LX/GaoCt+eD4u4zfUPxA91f3eBX6gfDV7 PvsOlEeUkzlcHBHLIFgLsqyketqKZ/p33BsSkVCJ+XLModdiinvYrJnyq4c0Ism1/0IX DqU686n9UKiZN7VrIXOJJC33yx4v6i2l0sLy92/yUsIBxz83Ri2gRLjZEDuaFeBDlLDq CWlzRJiPfFMR0Kmb/YwH6nZ7WBLGVtJp7El9Nu+mly+quFylxKYeIxnB3dIiTKn++KWN djkA== X-Gm-Message-State: APuU4Z945Y6ewwW/XTYARxu3SLHATZ5uFjEYTEKEVJSJswTbwiYcBTIA ng6x5fZW5ndaaJBRog5UGhJR43STUSJftYapa0SiKrEEeyZ2JWCcPJiAmfTsZR8N2lm/Hx2/7eu C7Tb7YeM= X-Gm-Gg: AZFdTZedzHXNuo17UdFxNf3kM9xsZnOLzn+mh4LdJ7I815oI/t4nLTAKo2bXetBmcRg NUCciF0dXMGBhk64KAxq2KTER/PAAbGgKoXzHtgIOZyQ9OFFCHPSNu991d65Ho96g9ipw1xUFu+ SnuWGWmYVYXP6twcVotg/MKE8nBRmV2NsGXDdqXYIKrxpJif6gEXAfKsvhnZJPJA4nIGgVKoV2r yiyCwrb7DxrVM+5iqDUcXRR4Ssq8kpkx3sSm8EO57cBQGBizb7YKuyBbeYP2Yh0qFw9RWDuhQb3 +4sTsuW5hJQ94mzxe0aaP4A1zZL06+MPXtTUJlKYARchuqvq8VF24PoBj1SbBvzK3IcdX6dBfaE lSdUzTh/qi4ULsQDtUyoTxA8V49HKhaaUHzf8Ykfz5mrfA0+aAlai8Ckwjc7zmTpdBBj5WCllqo CSKPNo1si1N8QtoYnmFs3q5hrmft7dIViRfh8v589Py5VucQHq713bdDcTEgModxfjlFc0dhw7z X/4LhOAvYP+UQF1GgqEVNo/hCCUCyWJ/SpgI3joAMDMmz4HjC5aw9srmG+kbtTWkMYq77LOp+Fi T81MG7zOBOX14a/1QaCMwUmlHn5F8r/lgIFT+yhoQ1OVzkDFAK/BSXHFn/DZM8Wx5mfL X-Received: by 2002:a17:90b:1dc2:b0:3b5:32db:117 with SMTP id 98e67ed59e1d1-3b532db0508mr10635522a91.53.1795998504469; Sun, 29 Nov 2026 16:28:24 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b44b21e19fsm19455840a91.0.2026.11.29.16.28.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 16:28:24 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Kishore Padmanabha , Ajit Khaparde Subject: [PATCH 29/37] net/bnxt: disable unreachable code check Date: Sun, 29 Nov 2026 16:27:14 -0800 Message-ID: <20261130002752.2342213-30-stephen@networkplumber.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261130002752.2342213-1-stephen@networkplumber.org> References: <20261130002752.2342213-1-stephen@networkplumber.org> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 There is unreachable code in the hcapi/ and tf_core/ files imported from the vendor. Those are listed in sources rather than base_sources, so they are not built separately and the exemption has to apply to the whole driver. Signed-off-by: Stephen Hemminger --- drivers/net/bnxt/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/bnxt/meson.build b/drivers/net/bnxt/meson.build index 67bfd3f79b..f183237899 100644 --- a/drivers/net/bnxt/meson.build +++ b/drivers/net/bnxt/meson.build @@ -66,3 +66,6 @@ elif arch_subdir == 'arm' and dpdk_conf.get('RTE_ARCH_64') endif annotate_locks = false + +# hcapi/ and tf_core/ code has unreachable code +cflags += no_unreachable_cflag -- 2.53.0