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 12847606A31C for ; Mon, 30 Nov 2026 00:31:18 +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=pr6fdBWC Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF17240E38; Mon, 30 Nov 2026 01:28:35 +0100 (CET) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mails.dpdk.org (Postfix) with ESMTPS id C043340DF6 for ; Mon, 30 Nov 2026 01:28:26 +0100 (CET) Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-3b4021b572dso6029859a91.2 for ; Sun, 29 Nov 2026 16:28:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1795998505; x=1796603305; 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=pr6fdBWCRn2BNuyFfFt8b0HwRpeRv5n6fygLkOH3U6YUeIyooafTSbPRu9yCbrChTU LK75HJJSMDIOBdct1P2GbeIlRcp0Pi4l4i132NOvfduxhKrv31z58JJJGWKQNrUZ5b17 0GTYcvP7ANuyozw6q1/zHSJyQU/mbBeap02ViG70U1Fts+5PcT05AeJ10yS+1VAqvvxy 2CYOmrlkbtrt7SwoCKbN9qpm+TKksivpo9uSZp+FJ9DVYLNDMvJAabUL+vu1X0+sv7qF u8TE3bTZoCwiDvd7iWjFmpvyXRjtaV+3+zu2JNhI7R/BRTWTj2wFLsuYropQS+CGj0Fg nJ3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795998505; x=1796603305; 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=OnnCJnWubA9/pKpJ6gqS688/dRJw6mTnaaltJX2YFLIRL3gjBKdRN+8o9PwB9JCcEp HhdI9LnkeW+JACQAQz2Z3NIo7tj8+nlNjOK+WTcWVU2eL7OSrz7UZw+Tyqg84OR/UrSJ rGnxWSSfBM4c/JVPFzAJbRAWX2DZg8o5hDIDsQo8Et1+tM92Ap/JayxEJN3tX3EBbqMU uoDDlvaokNNht4Y7OXYWA3uhfCDLsTWAY8NOkQ4E3Kk1eQXX90Kt+1g4chFHw5b5fAvQ sU01WYFwr1rhYS9cHpveNYepOsQbFGTTLoOg+BipGHKZn5Wu1bYTIC8LV5khkLnOJ6kx YrJg== X-Gm-Message-State: APuU4Z+zCdWRCYmIrPEYUKw24A+9kNXPfvdcV4i9xWRzc8Gbh19CEmrG hkm81j/EJ7FYgTsd8+1SDp8HQiWX7qDJt9Essr9doy54iLrkcXdhGbQuGXFxiD/1BiVyx1S1rSq vTKIvSFg= X-Gm-Gg: AZFdTZeQEMNZOxAlgXvG/xe65amNMDfULXQlNmK8H5J2uEMVAr2ffXf9qiLOYelRUIj NyIdLNuM1o7CZ2i9bdEobfOO5lUOoaW+PfyD2kk7NVNx8oko0A3zrZLCWBYJhslRageyEP6cJcM 3IkiCqMGLJPrAfHd/WBwnTh6/CjtXjgV/n7PfDbI8JtM4TYyBqzZXkixYUk4xP5zN97TmFztHhb Ds1hgP8nEFGQK82yW623mFtYRga7ynqk+dtnKtv2B9Tyr2X8/yzuPLjCu3A6M5C/i6VXLYpFkwd J5D5aCjtCdPdHSBdn5yoL4e+856kjiQRA19XW8TkidX/c0VFPSdosuCBzNrWXnooGTaSjxYvWAw P5vShGBSMnrcZMJTTpJxxZsJZjZ08i9wOUxDBB6EphkjfYqTz/ax7XAjMhSJKxR+Ltj6pBgAryl Th8McKBpVbrtA7J4LSog6/6KpOjXwWQnRnUDZlCbqOlR0NxvYeCX1rTRYKivZ9KTaPsfiRyfQaw VG9n0MFWI/eenfy4lt8VsbeWJbhI2rDHKuarJsMWSHKtGHoudoKuxVTNNYzHhEBucuU4dgv0jhz +FVYEqi6PpcvpzEw+6oo1p1h3LcSO4A8eGjegTwcKFCapaLJVnyPWqcqlxjDrlddXgJB X-Received: by 2002:a17:90b:39a7:b0:3ab:a3ee:33ad with SMTP id 98e67ed59e1d1-3b41c8d95f0mr32417124a91.22.1795998505250; Sun, 29 Nov 2026 16:28:25 -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.24 (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 , Christian Koue Muf , Serhii Iliushyk Subject: [PATCH 30/37] net/ntnic: disable unreachable code check Date: Sun, 29 Nov 2026 16:27:15 -0800 Message-ID: <20261130002752.2342213-31-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 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