Message ID | 20201119101700.3869583-1-conor.walsh@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A14AAA04DD; Thu, 19 Nov 2020 11:17:36 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D84BEF90; Thu, 19 Nov 2020 11:17:33 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 7E5B2DED; Thu, 19 Nov 2020 11:17:31 +0100 (CET) IronPort-SDR: t4JQY8Sirr9MPIHF8+q8zr6cqYxfA3IgLqOkTl+ubgnBOBgminTzLYUaUknw26+0qSgmSwIWMa zPPMYEw2+AxQ== X-IronPort-AV: E=McAfee;i="6000,8403,9809"; a="232885232" X-IronPort-AV: E=Sophos;i="5.77,490,1596524400"; d="scan'208";a="232885232" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2020 02:17:29 -0800 IronPort-SDR: pBCIaxP5usozi/ooWpsCc/fXjA67oHNuXEqUchkTW82jU3UqiJ93eDhh0Az/ormZYJ+LTnzhcT GKcUV/M23dwg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,490,1596524400"; d="scan'208";a="330887514" Received: from silpixa00400466.ir.intel.com ([10.237.213.98]) by orsmga006.jf.intel.com with ESMTP; 19 Nov 2020 02:17:26 -0800 From: Conor Walsh <conor.walsh@intel.com> 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, stable@dpdk.org, linglix.chen@intel.com, thomas@monjalon.net, Conor Walsh <conor.walsh@intel.com> Date: Thu, 19 Nov 2020 10:16:58 +0000 Message-Id: <20201119101700.3869583-1-conor.walsh@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201118181103.3865787-1-conor.walsh@intel.com> References: <20201118181103.3865787-1-conor.walsh@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
build: add Wformat to fix gcc compile warnings and format fixes
|
|
Message
Conor Walsh
Nov. 19, 2020, 10:16 a.m. UTC
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. --- v3: add stable@dpdk.org to cc list following list feedback 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(-)
Comments
19/11/2020 11:16, Conor Walsh: > 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. > > --- > > v3: add stable@dpdk.org to cc list following list feedback The Cc: stable@dpdk.org must be part of the commit log. Please at other patches (and contributors guidelines) for inspiration. Series applied, thanks.