From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 0606E4F90; Thu, 2 May 2019 14:18:56 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9D3A224853; Thu, 2 May 2019 08:18:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 02 May 2019 08:18:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=p57KIM25GI4qlcNTlJYaRDORpKl6guicnG6LiX4Pr8I=; b=SkdCc8HnOfBY LzdWXmhfvkYmbubQKTBxOLS5PBWRNGO/RvKKckiHlif6s0YRBC+D8IFnlwZZQ11B NzHL+oEqyHMs0ZyjMryK47sMoksq46amyQpu8+Ox6P1rt2ypNOd9ae9xoOdjssrV x1gUy8eQpENlsRRWWmf75vjrZTgJLY0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=p57KIM25GI4qlcNTlJYaRDORpKl6guicnG6LiX4Pr 8I=; b=ediYTaTvlAW5LR4A02Xh3WAtkmRsmH6U19lUCkArganAfyCxKZYc7Ovur DMpq+A7yDGDBHXuMGEK4+uReX9N+NtYfR66OYplsmIHUp3KBCBWw9k5F+HCbiQQS Q25bmTEB/4a9pqCEQvWwEP6NIpKXHgJlxfjth1/0ECFktrNUb6ZUjgxh1nNVErsZ AZ47T0wdVCBSCQQxU+IjBgS4/qMeW4xF+NzTj8OFOcjI+WwRye+Kfd1riWDFQFx7 SjH5f57JqNVPyy7hpccvTfN5iVH1b9uxC9hThGtpGVSCxF6a1QyxlftidMTSX57j WiP7fMhazsxEc2PB6aH+b+QIw/AfA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrieelgdehudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3BFB1103CC; Thu, 2 May 2019 08:18:55 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, stable@dpdk.org Date: Thu, 02 May 2019 14:18:51 +0200 Message-ID: <8175150.iIoqqa2Iee@xps> In-Reply-To: <20190501195014.2938-1-bruce.richardson@intel.com> References: <20190501195014.2938-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [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: Thu, 02 May 2019 12:18:57 -0000 01/05/2019 21:50, Bruce Richardson: > 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 Cc: stable@dpdk.org Applied, thanks 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 D972DA0AC5 for ; Thu, 2 May 2019 14:18:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 639D058FA; Thu, 2 May 2019 14:18:58 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 0606E4F90; Thu, 2 May 2019 14:18:56 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9D3A224853; Thu, 2 May 2019 08:18:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 02 May 2019 08:18:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=p57KIM25GI4qlcNTlJYaRDORpKl6guicnG6LiX4Pr8I=; b=SkdCc8HnOfBY LzdWXmhfvkYmbubQKTBxOLS5PBWRNGO/RvKKckiHlif6s0YRBC+D8IFnlwZZQ11B NzHL+oEqyHMs0ZyjMryK47sMoksq46amyQpu8+Ox6P1rt2ypNOd9ae9xoOdjssrV x1gUy8eQpENlsRRWWmf75vjrZTgJLY0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=p57KIM25GI4qlcNTlJYaRDORpKl6guicnG6LiX4Pr 8I=; b=ediYTaTvlAW5LR4A02Xh3WAtkmRsmH6U19lUCkArganAfyCxKZYc7Ovur DMpq+A7yDGDBHXuMGEK4+uReX9N+NtYfR66OYplsmIHUp3KBCBWw9k5F+HCbiQQS Q25bmTEB/4a9pqCEQvWwEP6NIpKXHgJlxfjth1/0ECFktrNUb6ZUjgxh1nNVErsZ AZ47T0wdVCBSCQQxU+IjBgS4/qMeW4xF+NzTj8OFOcjI+WwRye+Kfd1riWDFQFx7 SjH5f57JqNVPyy7hpccvTfN5iVH1b9uxC9hThGtpGVSCxF6a1QyxlftidMTSX57j WiP7fMhazsxEc2PB6aH+b+QIw/AfA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrieelgdehudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3BFB1103CC; Thu, 2 May 2019 08:18:55 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, stable@dpdk.org Date: Thu, 02 May 2019 14:18:51 +0200 Message-ID: <8175150.iIoqqa2Iee@xps> In-Reply-To: <20190501195014.2938-1-bruce.richardson@intel.com> References: <20190501195014.2938-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [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: <20190502121851.GeGOoXsb7VBG8BdkuCe6fPUtbiJk5o6wj6apctCUYgk@z> 01/05/2019 21:50, Bruce Richardson: > 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 Cc: stable@dpdk.org Applied, thanks