From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id E7ADA5589 for ; Thu, 6 Oct 2016 23:00:24 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP; 06 Oct 2016 14:00:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,454,1473145200"; d="scan'208";a="769711477" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by FMSMGA003.fm.intel.com with ESMTP; 06 Oct 2016 14:00:22 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.164]) by IRSMSX152.ger.corp.intel.com ([169.254.6.13]) with mapi id 14.03.0248.002; Thu, 6 Oct 2016 22:00:21 +0100 From: "De Lara Guarch, Pablo" To: Adrien Mazarguil CC: "dev@dpdk.org" , "Doherty, Declan" Thread-Topic: [dpdk-dev] [PATCH v2] cryptodev: fix compilation error in SUSE 11 SP2 Thread-Index: AQHSHuXaXmLHTn6xi0OjJKck/FFtTqCb61tg Date: Thu, 6 Oct 2016 21:00:21 +0000 Message-ID: References: <1474926635-13290-1-git-send-email-pablo.de.lara.guarch@intel.com> <1475635551-121997-1-git-send-email-pablo.de.lara.guarch@intel.com> <20161005085155.GD17252@6wind.com> In-Reply-To: <20161005085155.GD17252@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjQxNTg5ZTQtOWNlMy00MzRhLThlOWYtZTk1ZDQwNWU4ZDM2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IllsSVlBeDBnZGxwM2VGSkJNd3dHXC92azFlQmlocFlCXC9nMEFMdHpvWEVwcz0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] cryptodev: fix compilation error in SUSE 11 SP2 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2016 21:00:26 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Adrien Mazarguil > Sent: Wednesday, October 05, 2016 1:52 AM > To: De Lara Guarch, Pablo > Cc: dev@dpdk.org; Doherty, Declan > Subject: Re: [dpdk-dev] [PATCH v2] cryptodev: fix compilation error in SU= SE 11 > SP2 >=20 > On Wed, Oct 05, 2016 at 03:45:51AM +0100, Pablo de Lara wrote: > > This commit fixes following build error, which happens in SUSE 11 SP2, > > with gcc 4.5.1: > > > > In file included from lib/librte_cryptodev/rte_cryptodev.c:70:0: > > lib/librte_cryptodev/rte_cryptodev.h:772:7: > > error: flexible array member in otherwise empty struct > > > > Fixes: 347a1e037fd3 ("lib: use C99 syntax for zero-size arrays") > > > > Signed-off-by: Pablo de Lara > > --- > > > > Changes in v2: > > - Fixed commit message > > > > lib/librte_cryptodev/rte_cryptodev.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/lib/librte_cryptodev/rte_cryptodev.h > b/lib/librte_cryptodev/rte_cryptodev.h > > index d565f39..6ad5e91 100644 > > --- a/lib/librte_cryptodev/rte_cryptodev.h > > +++ b/lib/librte_cryptodev/rte_cryptodev.h > > @@ -773,7 +773,7 @@ struct rte_cryptodev_sym_session { > > } __rte_aligned(8); > > /**< Public symmetric session details */ > > > > - char _private[]; > > + __extension__ char _private[0]; > > /**< Private session material */ > > }; > > > > -- > > 2.7.4 >=20 > Acked-by: Adrien Mazarguil Applied to dpdk-next-crypto. Pablo