From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7BDCAA04DD; Wed, 18 Nov 2020 19:11:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5932FC872; Wed, 18 Nov 2020 19:11:14 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 93E63C872 for ; Wed, 18 Nov 2020 19:11:11 +0100 (CET) IronPort-SDR: spLx9HQe0OrTlkNkcbV8KnOV27OnMtpdSLNTdniy7H3ONwctPGJfWs1LZ8mSTmx7l1/t21DDk2 eNFwqEtnS6kg== X-IronPort-AV: E=McAfee;i="6000,8403,9809"; a="189240725" X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="189240725" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 10:11:09 -0800 IronPort-SDR: VGGNVpTmgixTNE8DbhrvwEPZtXy0kWUpZJ5nSh2ZPiu7YrGJmu+RSvLiQdU0wvmpBksNfzEwiz stUXe24+bKqA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="476463955" Received: from silpixa00400466.ir.intel.com ([10.237.213.98]) by orsmga004.jf.intel.com with ESMTP; 18 Nov 2020 10:11:06 -0800 From: Conor Walsh To: bruce.richardson@intel.com, ajit.khaparde@broadcom.com, somnath.kotur@broadcom.com, bluca@debian.org, stuart.schacher@broadcom.com, venkatkumar.duvvuru@broadcom.com, michael.wildt@broadcom.com Cc: dev@dpdk.org, linglix.chen@intel.com, thomas@monjalon.net, Conor Walsh Date: Wed, 18 Nov 2020 18:11:01 +0000 Message-Id: <20201118181103.3865787-1-conor.walsh@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112113537.1996073-1-conor.walsh@intel.com> References: <20201112113537.1996073-1-conor.walsh@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/2] build: add Wformat to fix gcc compile warnings and format fixes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On some systems Wformat-nonliteral and Wformat-security could not be checked without Wformat also being specified this causes a compile warning on these systems. This patchset adds Wformat to config/meson.build and fixes some format issues that this exposed. --- v2: - expand explaination of patches - suppress false postives in icc - add fixes for format issues Conor Walsh (2): build: fix gcc compile warnings by adding wformat net/bnxt: fix format characters for unsigned values config/meson.build | 3 ++- drivers/net/bnxt/tf_core/tf_core.c | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) -- 2.25.1