From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] net/softnic: fix build error on gcc4.5.1 Date: Wed, 08 Nov 2017 20:45:43 +0100 Message-ID: <26520232.iiPMk2TgvP@xps> References: <20171108102508.155867-1-jasvinder.singh@intel.com> <3EB4FA525960D640B5BDFFD6A3D891267BAE145B@IRSMSX108.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Dumitrescu, Cristian" To: "Singh, Jasvinder" Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id F05771B2A5 for ; Wed, 8 Nov 2017 20:45:44 +0100 (CET) In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891267BAE145B@IRSMSX108.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" > > Fix the build error due to improper handling of unions on SUSE11(gcc 4.5.1). > > > > Fixes: 299a89de916a ("net/softnic: add TM capabilities ops") > > > > DPDK/drivers/net/softnic/rte_eth_softnic_tm.c:588:3 > > error: unknown field 'nonleaf' specified in initializer compilation > > terminated due to -Wfatal-errors. > > > > Signed-off-by: Jasvinder Singh > > --- > > drivers/net/softnic/rte_eth_softnic_tm.c | 40 ++++++++++++++++----------- > > ----- > > 1 file changed, 20 insertions(+), 20 deletions(-) > > Acked-by: Cristian Dumitrescu Applied, thanks