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 AE64645C17; Wed, 30 Oct 2024 18:38:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CF6F44346B; Wed, 30 Oct 2024 18:38:42 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mails.dpdk.org (Postfix) with ESMTP id C07C44025F for ; Wed, 30 Oct 2024 18:38:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730309919; x=1761845919; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EnwOIQ3jcDE9fTzPK40Uh9yIyF/4NVEJyRs3GMyCYYA=; b=NAbQo7neMYLv7zb7MOkU/DVDwN6Bz+k2kFuvblN8NIdGAOnsJW9H+xpZ YdHaYLIqBnKVtuJkZ6S8ouBysEl5Fq8+kQwhA6ZKqKXnqPzWnMsfc6WT8 VdvBi5Cuq0mpFvpzWk9Yj52DHCGJvfmd0+zr2qrrK/Hr139sGNHYNkGIn VN1AWFl1A8mJv87gpBp+d7MQ4cCiUCqGg71FgjGAr2U08qOAEBhqQB/kz XbeloW1kgOeughxfdOircmBzgIFmh+IhwVHZdTXtjm/z/K4ZPXsN8pSSh lgiBl84xsCguqim/yUvJYjT9eluJHme9QCIu17+NyxOzbgAr2vruSppFV w==; X-CSE-ConnectionGUID: C6egMCS8Rf2uupdJWo0HYQ== X-CSE-MsgGUID: 5zggjiM2R8uIsp3ODytb1Q== X-IronPort-AV: E=McAfee;i="6700,10204,11241"; a="55430702" X-IronPort-AV: E=Sophos;i="6.11,245,1725346800"; d="scan'208";a="55430702" 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:37 -0700 X-CSE-ConnectionGUID: Znx4bCzmTOme+ol50onfcA== X-CSE-MsgGUID: sPyRWVyrQRulLfhkhE7JKA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,245,1725346800"; d="scan'208";a="86324583" 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:36 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , David Marchand Subject: [PATCH 1/6] net/i40e/base: remove warning disable flags Date: Wed, 30 Oct 2024 17:38:24 +0000 Message-ID: <20241030173830.881368-2-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 The i40e base code driver has a number of unnecessary warning disabling flags. We can remove three flags warning about variable format errors. In the process, simplify the list to one flag per line. Suggested-by: David Marchand Signed-off-by: Bruce Richardson --- drivers/net/i40e/base/meson.build | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/net/i40e/base/meson.build b/drivers/net/i40e/base/meson.build index d94108629b..a0912b1788 100644 --- a/drivers/net/i40e/base/meson.build +++ b/drivers/net/i40e/base/meson.build @@ -11,10 +11,11 @@ sources = [ 'i40e_nvm.c', ] -error_cflags = ['-Wno-sign-compare', '-Wno-unused-value', - '-Wno-format', '-Wno-format-security', - '-Wno-format-nonliteral', - '-Wno-strict-aliasing', '-Wno-unused-but-set-variable', +error_cflags = [ + '-Wno-sign-compare', + '-Wno-unused-value', + '-Wno-strict-aliasing', + '-Wno-unused-but-set-variable', '-Wno-unused-parameter', ] c_args = cflags -- 2.43.0