From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net: fix compilation with GRE header Date: Fri, 2 Nov 2018 14:56:30 +0000 Message-ID: <8bf4f0b4-6537-0829-687e-e3664cac1f6a@intel.com> References: <20181101124645.34952-1-shahafs@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, stable@dpdk.org To: Shahaf Shuler , olivier.matz@6wind.com Return-path: In-Reply-To: <20181101124645.34952-1-shahafs@mellanox.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/1/2018 12:46 PM, Shahaf Shuler wrote: > The following error popped when compiling with -pedantic: > > In file included from > /.autodirect/swgwork/shahafs/workspace/dpdk.org/drivers/net/ > mlx5/mlx5_flow_dv.c:28:0: > /.autodirect/swgwork/shahafs/workspace/dpdk.org/ > build/include/rte_gre.h:20:2: > error: type of bit-field 'res2' is a GCC extension [-Werror=pedantic] > uint16_t res2:4; /**< Reserved */ > > Fixing by adding the __extension__ attribute. > > Fixes: 894f71a3805d ("net: add GRE header structure") > Cc: stable@dpdk.org > Cc: olivier.matz@6wind.com > > Signed-off-by: Shahaf Shuler Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/master, thanks.