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 9CF4E606A31C for ; Mon, 30 Nov 2026 00:31:00 +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=Id24FlCC Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32C1240E2B; Mon, 30 Nov 2026 01:28:31 +0100 (CET) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTPS id 6F1CF40DDD for ; Mon, 30 Nov 2026 01:28:24 +0100 (CET) Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-3b402824d07so6338184a91.1 for ; Sun, 29 Nov 2026 16:28:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1795998503; x=1796603303; 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=/4rjS8sBDBsknZOAjMJtkJT0ptJt+GkJqoaPILTKAtU=; b=Id24FlCCYOtHUdbhjCyBI7bF0OCsICqikBvk/pauUdpugSlmBPtEAzrg32OCaAh74G 6Hvt0ZWvchFrIE+9xIwnc5lMar7nFJpPai7+v0wWumh5tl308DaERsKgXPkQNVIHc5cj d49qJ850map3LN6ZsnJnK3S77RT0aoWBUVIIHTgIMPHtZeqlcSccO1OyYf7zl8k06Q3p sl2HGltjI0n9640nqDGbDcpHEFOvgDB9E/eoTQY6Fjtz2AYUC84T/AJtPAgpjSqzpCI6 R6nE+fhfG+1/KSqTpMe2TwkU80v7C4zfKplpn7CyJocQKmG4XceZ6T/Qf0CqdwRZ2PtI p3EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795998503; x=1796603303; 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=/4rjS8sBDBsknZOAjMJtkJT0ptJt+GkJqoaPILTKAtU=; b=vsOzgk7OwyRwU/JVOvJbBkWuYpChFuSN5+EyNuYKm6cEYSmVGpbgtl9zPKegeoHB2s 09JdX8iew4kpb1aIWIuITQsiYEJhOQKLgbrWTDMXlpYIeCecGu76EGGmtRnYhFDRatHk IyDVgxYz52vysho6oAk9WVklbJRYQeE2y3ygnE42OE1mr16q5HA9D1ansj5xHo6QkHJY Qbsx8k6kanITqQuTc7Ng/GBTsLlWQv59OlvKZtAn7KctP9mRgj1qCpdzw2OSqfbV+Jeb IJ43p+ZR43MatPVGzLF/WU2pjXwAQoGYIkTeL2h+oAk62UQomXZeySAcKMBS20N7edL7 aUfA== X-Gm-Message-State: APuU4Z+XAghqZZvd+LMzMEcchZWe6AgIUlBbwpZNCs1VbpRdscANsRsY 61lokRO5EfQNn13cfzZhGUUmG0WwVsA5tJUdGfQrw426UOoef2wHeyFC0isPGEg34qEYMkGixGD JZRmQpHw= X-Gm-Gg: AZFdTZcYeik1Iy/nDE77K2ygDjNA8g+0u510dguGzzcQPOapFeILkA3kS0kJoHm+Yr4 Cs5n6vNKkz7ENp+wyIR+pGS1pnzwo1PMTwlYOjLhWNzehoCRJwL2GDhyFNcc9xASMd4iVFjCJIj 6Z/WDPNfPVa8QBPajpranMC/X52BGajq5zaQM/5V7YhQyhSQPGFm+lljtSwCVJgeY63zn/46oy8 muRddUoZ/ztV0rXV/QOCDed1ycbQFE79axdJ8moRPgZPufIgbKe/kvtsmIjLa00ALZCjtfkuEma EJHcfAI/7mIGXuxjNDA7iTdgLXkVyZz1uXxj9NjI0zr1XTM/f/mn7Yo5nnwNidFLipk3PcP0QFz VlDVMqE7/C3kmgbgVsZeoK4Msf/uogw4ZY6rwGr/NHt2+np28sKjM86jfbrpB0VdCvkot1ip/C5 2jbPGUGlnsyIKexfxCRVW3r60LJAFvrLDY9WBVKM/63jSq61hKBsPsT3RIFngoZrY7g1cXywBnC S1lUTWlXx3b6MansIAJx6MVO/ytQnTAcqUF0kbj8Tz4odGnGSIIKjAUH4cDvQWvbzhAjRAl3t7O zt1SLLYbgWJmG+XOMcQ+mc3n8yS/rbh5wmcli1dHeSQvjzwJttsdH9ycWNJUe7Mnnq8Q X-Received: by 2002:a17:90a:d2cf:b0:3b3:ffb2:6ae3 with SMTP id 98e67ed59e1d1-3b41c902f49mr32695443a91.32.1795998502880; Sun, 29 Nov 2026 16:28:22 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 16:28:22 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Bruce Richardson , Anatoly Burakov Subject: [PATCH 27/37] net/ice: disable unreachable code check for base code Date: Sun, 29 Nov 2026 16:27:12 -0800 Message-ID: <20261130002752.2342213-28-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 base/ files imported from the vendor. Disable the check for the base code only, using base_cflags, so the driver's own sources are still checked. Signed-off-by: Stephen Hemminger --- drivers/net/intel/ice/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/intel/ice/meson.build b/drivers/net/intel/ice/meson.build index 00077be30a..f8eb1e0015 100644 --- a/drivers/net/intel/ice/meson.build +++ b/drivers/net/intel/ice/meson.build @@ -76,6 +76,9 @@ base_sources = files( 'base/ice_vf_mbx.c', ) +# base code has unreachable code +base_cflags += no_unreachable_cflag + if is_ms_compiler base_error_cflags = [ '/wd4101', # unreferenced local variable -- 2.53.0