From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0583745C17; Wed, 30 Oct 2024 18:38:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0136443473; Wed, 30 Oct 2024 18:38:45 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mails.dpdk.org (Postfix) with ESMTP id 5441543467 for ; Wed, 30 Oct 2024 18:38:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730309920; x=1761845920; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Med8U9lsX859hBHCinsgEzzzwTUPqE/0gSZbhTeU0cQ=; b=kQsqNSifHdwJiE2aKb3lPdldchHXKvwUfHr6RQFE5itDWwgbFcEBaQSC 6UKW7Wel2aAx+ZHOYMcRUBlbvHGodlbkS2t3KxB1TliEOLWpcB32o+UBk n/3WvjKFWjJ/AadKDBRSiPPde2cn+06E9hX2zpdGM/x/LdbvqUBpkt3jt y+Fn18k4ah4LSdGXp8VJ7mOyI33JnwB8vX+FfqlR6aT8/XX/RusgQ8CMZ 6fe6MoESv9Zk1SaiHxBd4svz+ZlKl6yN+avD6UcKuKDn8fcwU6WvV0YZp ujAlvvyuOKc1tSAUo+5rYuLiLmS1d73rwnds9+bgfJdJmiqdS2ekomZd6 A==; X-CSE-ConnectionGUID: N6m3HTRzQRO5wd+lqWNHAw== X-CSE-MsgGUID: IZSjYiuyT3ON04yNso6Q5w== X-IronPort-AV: E=McAfee;i="6700,10204,11241"; a="55430717" X-IronPort-AV: E=Sophos;i="6.11,245,1725346800"; d="scan'208";a="55430717" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2024 10:38:39 -0700 X-CSE-ConnectionGUID: IK9l/nvkRTSHTR23XHgFCQ== X-CSE-MsgGUID: JXsTWZtTSbqFtNtYIajJlQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,245,1725346800"; d="scan'208";a="86324590" Received: from silpixa00400496-oob.ir.intel.com (HELO silpixa00401385.ir.intel.com) ([10.237.214.43]) by fmviesa003.fm.intel.com with ESMTP; 30 Oct 2024 10:38:38 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 3/6] net/e1000/base: remove warning disable flags Date: Wed, 30 Oct 2024 17:38:26 +0000 Message-ID: <20241030173830.881368-4-bruce.richardson@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241030173830.881368-1-bruce.richardson@intel.com> References: <20241030173830.881368-1-bruce.richardson@intel.com> 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-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Not all the flags for disabling warnings on the base code are needed, so remove the unnecessary ones. Signed-off-by: Bruce Richardson --- drivers/net/e1000/base/meson.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/e1000/base/meson.build b/drivers/net/e1000/base/meson.build index 528a33f958..158badce43 100644 --- a/drivers/net/e1000/base/meson.build +++ b/drivers/net/e1000/base/meson.build @@ -22,9 +22,10 @@ sources = [ 'e1000_vf.c', ] -error_cflags = ['-Wno-uninitialized', '-Wno-unused-parameter', - '-Wno-unused-variable', '-Wno-misleading-indentation', - '-Wno-implicit-fallthrough'] +error_cflags = [ + '-Wno-unused-parameter', + '-Wno-implicit-fallthrough' +] c_args = cflags foreach flag: error_cflags if cc.has_argument(flag) -- 2.43.0