From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 8286E1D7 for ; Wed, 1 May 2019 21:50:20 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 May 2019 12:50:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,418,1549958400"; d="scan'208";a="140463368" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.222.236]) by orsmga006.jf.intel.com with ESMTP; 01 May 2019 12:50:18 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Wed, 1 May 2019 20:50:10 +0100 Message-Id: <20190501195014.2938-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 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: , X-List-Received-Date: Wed, 01 May 2019 19:50:21 -0000 This set of changes fixes warnings seen when compiling DPDK on Fedora 30. In most cases these warnings appear to be false positives, which means we have the option to just disable the warning. Because the changes required to the code to silence the warnings are fairly small I've chosen in all cases to change the code rather than disable the warnings, but I'm open to doing the opposite if it's felt it's a better solution. [One thing I didn't like about disabling the warnings is that the disabling flags are not supported by clang, so adding them involves compiler checks :-(] NOTE: this set does not cover all warnings with GCC9, but it does cover those seen when building with meson. There is still one warning disable flag needed when building with make, which will need a follow-on set to fix. Bruce Richardson (4): net/ixgbe: fix warning with GCC 9 on Fedora 30 bus/fslmc: fix printf of null pointer raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 drivers/bus/fslmc/fslmc_bus.c | 2 +- drivers/net/ixgbe/ixgbe_rxtx.c | 2 +- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 2 ++ drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 5 +++++ 4 files changed, 9 insertions(+), 2 deletions(-) -- 2.21.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 432D1A0AC5 for ; Wed, 1 May 2019 21:50:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2FEFBB62; Wed, 1 May 2019 21:50:22 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 8286E1D7 for ; Wed, 1 May 2019 21:50:20 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 May 2019 12:50:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,418,1549958400"; d="scan'208";a="140463368" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.222.236]) by orsmga006.jf.intel.com with ESMTP; 01 May 2019 12:50:18 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Wed, 1 May 2019 20:50:10 +0100 Message-Id: <20190501195014.2938-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/4] fix warnings with gcc 9 on Fedora 30 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" Message-ID: <20190501195010.njfsFuxNSh7RbTb0bIP2P-19F-bp3hfXF_Ca7tY-DHk@z> This set of changes fixes warnings seen when compiling DPDK on Fedora 30. In most cases these warnings appear to be false positives, which means we have the option to just disable the warning. Because the changes required to the code to silence the warnings are fairly small I've chosen in all cases to change the code rather than disable the warnings, but I'm open to doing the opposite if it's felt it's a better solution. [One thing I didn't like about disabling the warnings is that the disabling flags are not supported by clang, so adding them involves compiler checks :-(] NOTE: this set does not cover all warnings with GCC9, but it does cover those seen when building with meson. There is still one warning disable flag needed when building with make, which will need a follow-on set to fix. Bruce Richardson (4): net/ixgbe: fix warning with GCC 9 on Fedora 30 bus/fslmc: fix printf of null pointer raw/skeleton_rawdev: fix warnings with GCC 9 on Fedora 30 raw/dpaa2_cmdif: fix warnings with GCC 9 on Fedora 30 drivers/bus/fslmc/fslmc_bus.c | 2 +- drivers/net/ixgbe/ixgbe_rxtx.c | 2 +- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 2 ++ drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 5 +++++ 4 files changed, 9 insertions(+), 2 deletions(-) -- 2.21.0