[dpdk-dev] [PATCH] ethdev: fix compilation issue with strict flags

Thomas Monjalon thomas at monjalon.net
Wed Apr 19 15:35:23 CEST 2017


19/04/2017 07:22, Shahaf Shuler:
> Hi,
> Any more comments on this commit? Could it be merged? Compilation is still
> failing..
> Thursday, April 13, 2017 12:36 PM, Van Haaren, Harry:
> > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Shahaf Shuler
> > > Sent: Thursday, April 13, 2017 6:29 AM
> > > To: thomas.monjalon at 6wind.com
> > > Cc: adrien.mazarguil at 6wind.com; nelio.laranjeiro at 6wind.com;
> > > dev at dpdk.org
> > > Subject: [dpdk-dev] [PATCH] ethdev: fix compilation issue with strict
> > > flags
> > > 
> > > Compilation error seen while compiling mlx5 in debug mode under RHEL
> > > 7.3:
> > > 
> > > rte_ethdev.h:1670:7: error: type of bit-field 'state' is a GCC extension
> > > 
> > >     [-Werror=pedantic]
> > > 
> > > Address it by removing the unnecessary bit-field width limitation.
> > > 
> > > Fixes: d52268a8b24b ("ethdev: expose device states")
> > > 
> > > Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
> 
> Acked-by: Harry van Haaren <harry.van.haaren at intel.com>
> Acked-by: Gaetan Rivet <gaetan.rivet at 6wind.com>

Applied, thanks


More information about the dev mailing list