Re: [dpdk-dev] [PATCH v2 1/2] net/mlx5: fix clang compilation

2017-08-31 Thread Ferruh Yigit
On 8/30/2017 3:47 PM, Nelio Laranjeiro wrote: > On redhat 7.2 clang reports the following error: >CC mlx5_rxmode.o > /drivers/net/mlx5/mlx5_ethdev.c:820:32: error: field 'edata' with variable > sized type 'struct ethtool_link_settings' not at the end of a struct or > class is a GNU extensi

[dpdk-dev] [PATCH v2 1/2] net/mlx5: fix clang compilation

2017-08-30 Thread Nelio Laranjeiro
On redhat 7.2 clang reports the following error: CC mlx5_rxmode.o /drivers/net/mlx5/mlx5_ethdev.c:820:32: error: field 'edata' with variable sized type 'struct ethtool_link_settings' not at the end of a struct or class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end]