Re: [dpdk-dev] [PATCH 4/5] net/mlx5: fix build with gcc 7.1

2017-06-14 Thread Adrien Mazarguil
On Tue, Jun 13, 2017 at 05:42:11PM +0100, Ferruh Yigit wrote: > build error: > .../dpdk/drivers/net/mlx5/mlx5_fdir.c: > In function ‘fdir_filter_to_flow_desc’: > .../dpdk/drivers/net/mlx5/mlx5_fdir.c:146:18: > error: this statement may fall through [-Werror=implicit-fallthrough=] >desc->dst_

[dpdk-dev] [PATCH 4/5] net/mlx5: fix build with gcc 7.1

2017-06-13 Thread Ferruh Yigit
build error: .../dpdk/drivers/net/mlx5/mlx5_fdir.c: In function ‘fdir_filter_to_flow_desc’: .../dpdk/drivers/net/mlx5/mlx5_fdir.c:146:18: error: this statement may fall through [-Werror=implicit-fallthrough=] desc->dst_port = fdir_filter->input.flow.udp4_flow.dst_port; ~~~^