From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] buildtools: zero elf info variable in pmdinfogen Date: Thu, 14 Sep 2017 14:21:07 +0200 Message-ID: <37635474.uvs9A67hgS@xps> References: <1504616613-46803-1-git-send-email-harry.van.haaren@intel.com> <1504618078-76742-1-git-send-email-harry.van.haaren@intel.com> <20170905143631.GB21636@bricha3-MOBL3.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Bruce Richardson To: Harry van Haaren Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 699CB2BF2 for ; Thu, 14 Sep 2017 14:21:09 +0200 (CEST) In-Reply-To: <20170905143631.GB21636@bricha3-MOBL3.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 05/09/2017 16:36, Bruce Richardson: > On Tue, Sep 05, 2017 at 02:27:58PM +0100, Harry van Haaren wrote: > > This commit zeros out the elf_info struct at startup of the > > pmdinfogen code. If it is not zeroed, later in the code gcc > > produces "may be unused" prints. Clang does not report any > > issue. > > > > This issue is only observed when compiling pmdinfogen as an > > optimized build, hence this warning is not disabled in the > > existing Makefile. > > > > This commit enables a simplification in the meson build > > system, removing the requirement for "-Wno-maybe-uninitialized". > > > > Signed-off-by: Harry van Haaren > > > Acked-by: Bruce Richardson Applied, thanks