From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B99C6A00C4; Thu, 29 Sep 2022 09:20:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64B5440FAE; Thu, 29 Sep 2022 09:20:48 +0200 (CEST) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mails.dpdk.org (Postfix) with ESMTP id 55E4A40E5A for ; Thu, 29 Sep 2022 09:20:47 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id F177132004ED; Thu, 29 Sep 2022 03:20:45 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 29 Sep 2022 03:20:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1664436045; x= 1664522445; bh=vt2PnS04Ze360rx9kp9QQ0CAp/+5f8aauOL+2NTC7uA=; b=0 vqotddl4+FgrNYwroiAuPbldn9DI2eDMDnGjfwjkpwqVohMcrfmaBGoaJ7b3GGIF T+6o0Wx6auFlajDfcIo7RMA43I3BQ3/u9osh/IMs7j6fAw08v/wexXyz+OPxGD1G sdNrBIVU0v8QBjmknxRC/T/jhnJTNIFNgHwMbcZNXrxSOxpgTlQ8AmKTlOvYTM+g s9uKOwzIaTqsFTaIRlLIwacK1LwE2LTShC0FWPFRZ5IkdNZcAdnDEnTVrXCX2W7l CMe6eLMoD9yKde8Xe2so1M+aOk74DUXl+eoSLSERhzFSDHxJz6pX0+5895zsFHIv 4egbwsxF2dDzzcRh/DNcw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1664436045; x= 1664522445; bh=vt2PnS04Ze360rx9kp9QQ0CAp/+5f8aauOL+2NTC7uA=; b=j xc31p0D/bD19QC27h27AmLCf8hiWbnsAPza40Wh2sNkaFCmm+PEP+4fFhbLivqCy xSA4FWHJWBI8N1VV3aXMmIBfkZPgah+I2OdpLbiJKfUETgW7gDZDPMaIZF4V7Cpb Z0HBVUDq4sADrfANr9LeoMdIfkGGhmr/RmQveCfIYrPSCF6rKPBW8Lda4CGUjQ/X hP7QipuZbhlDevkd1N+bFuQhbnx/WVm3etSZXdSHYdElg/uBXKRvccjnJH6iLSgK WM5AuD/Q3w5z7RSMwEAX4kZjNU14wAPp24YggLlTfwqFAa5a3wzFgl10wWcnyecH PXCCVoWwMVMlScKL31qUA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeegledguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Sep 2022 03:20:44 -0400 (EDT) From: Thomas Monjalon To: Ali Alnubani Cc: "dev@dpdk.org" , Akhil Goyal Subject: Re: [EXT] [PATCH] net: fix build with -Wpedantic Date: Thu, 29 Sep 2022 09:20:43 +0200 Message-ID: <13107122.y0N7aAr316@thomas> In-Reply-To: References: <20220929065006.832858-1-alialnu@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 29/09/2022 09:09, Akhil Goyal: > > > > Adds the __extension__ attribute to resolve the following warning > > > > with gcc 4.8.5 on CentOS 7: > > > > lib/net/rte_macsec.h:38:2: error: type of bit-field 'short_length' is > > > > a GCC extension [-Werror=pedantic] > > > > > > > > Fixes: 0aaf097585a6 ("ethdev: add MACsec flow item") > > > > Cc: gakhil@marvell.com > > > > > > > > Signed-off-by: Ali Alnubani > > > > --- > > > > lib/net/rte_macsec.h | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > diff --git a/lib/net/rte_macsec.h b/lib/net/rte_macsec.h > > > > index 9228ebd083..d0cd2f69ab 100644 > > > > --- a/lib/net/rte_macsec.h > > > > +++ b/lib/net/rte_macsec.h > > > > @@ -28,6 +28,7 @@ extern "C" { > > > > /** > > > > * MACsec Header (SecTAG) > > > > */ > > > > +__extension__ > > > > > > RTE_STD_C11 ?? > > > > Replacing the __extension__ attribute with RTE_STD_C11 doesn't resolve the > > build failure for me. > > Ok, Thanks for the fix. > > Acked-by: Akhil Goyal Applied, thanks.