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 CD74B606A31A for ; Mon, 30 Nov 2026 21:55:50 +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=DrA1SXfT Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B10140E2D; Mon, 30 Nov 2026 22:52:45 +0100 (CET) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTPS id 62C4840A89 for ; Mon, 30 Nov 2026 22:52:27 +0100 (CET) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-8c6c06b3321so8718688b3a.3 for ; Mon, 30 Nov 2026 13:52:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1796075546; x=1796680346; 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=ojdBj/kXD0wr3CQuoeXURdNiuFXtAxOi2N2EsSJaoBY=; b=DrA1SXfTfeuAFtmkF17CaD0XYyBdSv4OZKKDgMl2ygcWLUaqlX8q0GJnKQUT1Psqsp C1I2j6l2m/YE9iWkVuRMlJjftCGGOJRZnP7qV1RKVhm8zRYL4g68u+XI+MhIAQ6GPm/Z kOXHhGReH/KUbOEUASc44MrYkRuUobF7QJPbgtIV0ZKOO18vsn8PMKnW+7uhoTHTPfJ6 LzkfGaNYqxgFwZ0GbCT/2+lBBqq+0mwjv+0SabHrpIl3CYxQe//gnqiIgvTLoZkM8n6K ZO09EgAiwCEf17DHhl92Aw8rmDy6n8EarGEj4WTogfr0NG09utprQ4lH6VKCk5JYXugt HKUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796075546; x=1796680346; 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=ojdBj/kXD0wr3CQuoeXURdNiuFXtAxOi2N2EsSJaoBY=; b=E7sZ0QjDSCK6DDVgtuy/SoJr0qiYukgb6qy5Ce3w69w9Xvfekkx+CPN+2nCblbfUxC 76B/DLZxQdF3tUCHQCa/lzsgNh9F7F0kGc8ZpKmoJdSXZyjmVEBWsrrtd/xZNOiy99Eo pC2fojXgbHxDbKyCmqbf400LOqAUHgOw3EUrD3IVE9NSn+KsWFiMFzODR72JaNYo9FTK Hb+YA4P6oj16xcXfnRRkCuumEoPE+rrpOdIHGuwtZ6iOTdZN+QRqSBJ31rAxtwjF+Apo i41QTq2jqy6OLruMRx3wX4tL0unSIsvZ9QG9vr7GfEYNPafbp8h3qawXENRtYqnMe/Rw UVWw== X-Gm-Message-State: APuU4Z+XlYRXNpk9gsIAaJTn3QNJj+m1h7RKjOqDJ1bXmi3tewahBisF a9ko11V14v0HOuhYFln24vBZQoHkT6Xte4BuWjjN5LzblkpoRDP+ZDWs6sluxl3phqPv9Hp6k5n 2BWtt82Q= X-Gm-Gg: AZFdTZdPp4dksYtFQlOdOE1PwSuyPmFT3p3ch/GgRoLbL3lcAHi32EUDpFQfA84Rbsl iyFLXBlBJLkwMabTH97qz8VN15Yc/E3l7SsiX9BwQQnuuHEP/gxviadxlch28dOLt+4qtiITrL0 W7TrOJ6x9CbTOaRoTDVVmG4jhItgAw4g0TbuCtCFHWwcXli+1f5tAuIEiTPxfmGziimmVRQho/n ILqXm7YpCimL69CqZfbg/ozSMOmadz0mug3FVP5PBCHgZ9Tycfy3Tk/f6+x2QIn8tom7EhnT1GW X/tqKY0F1/fu7SxcTFmPbwlysb8bez9kxhB9ICE6+HAsLbJsQAVj2VlnueX7JA3oOG/A7CFUe/C p3FdSfa5N2KvMg3MW6M1rWa4Sl/ZQCQWcA7M/RhroCporlxIUrzQngac7QnJKQKHaIhNnwJ48nh ivdMSWMa+34Cqn/UUpBL31KrXv7o5tUFCXAgrWE+xfFfT1U8mp+75OiuFqgBug7uUvBc9lOjkf2 do9w2+26axO4Z8f1WmqZbqLw5CxcWKVwg5GDTx8zeOuGKGi4m9UrZZm7xCxOX7PKJYf/DqbpAyC AbtO9WsCp32Owr9v/529F59lQls7Pbte09mB0kJwhw1Xd3nnAotpKjoeBDG6sUAyiNxI X-Received: by 2002:a05:6a00:1485:b0:887:1bcc:3c25 with SMTP id d2e1a72fcca58-8c87d32ae7cmr35490286b3a.51.1796075545861; Mon, 30 Nov 2026 13:52:25 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e45756sm18561940b3a.27.2026.11.30.13.52.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 13:52:25 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 31/38] net/ntnic: disable unreachable code check Date: Mon, 30 Nov 2026 13:49:37 -0800 Message-ID: <20261130215203.886245-32-stephen@networkplumber.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261130215203.886245-1-stephen@networkplumber.org> References: <20261129205006.1440292-1-stephen@networkplumber.org> <20261130215203.886245-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 nthw/ 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/ntnic/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ntnic/meson.build b/drivers/net/ntnic/meson.build index 60688c8aaf..3bed975b73 100644 --- a/drivers/net/ntnic/meson.build +++ b/drivers/net/ntnic/meson.build @@ -131,3 +131,6 @@ sources = files( # Suppress shadow warnings for this driver due to extensive variable shadowing cflags += no_shadow_cflag + +# nthw/ code has unreachable code +cflags += no_unreachable_cflag -- 2.53.0