Thread (6 messages) read the whole thread 6 messages, 2 authors, 2017-08-31

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

From: Ferruh Yigit <hidden>
Date: 2017-08-30 13:56:50

On 8/29/2017 4:35 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 extension [-Werror,-Wgnu-variable-sized-type-not-at-end]
      struct ethtool_link_settings edata;

Use alternative approach to reserve buffer space on the stack.

Fixes: ef09a7fc7620 ("net/mlx5: fix inconsistent link status query")
Cc: gowrishankar.m@linux.vnet.ibm.com
Cc: stable@dpdk.org

Signed-off-by: Nelio Laranjeiro <redacted>
Acked-by: Adrien Mazarguil <redacted>
Applied to dpdk-next-net/master, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help