[dpdk-stable] [PATCH] net: fix compilation with GRE header
Ferruh Yigit
ferruh.yigit at intel.com
Fri Nov 2 15:56:30 CET 2018
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 at dpdk.org
> Cc: olivier.matz at 6wind.com
>
> Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net/master, thanks.
More information about the stable
mailing list