Re: [PATCH] net/mlx5: clean function declarations in eswitch.c up

2016-09-18 Thread Leon Romanovsky
On Sun, Sep 18, 2016 at 04:44:22PM +0800, Baoyou Xie wrote: > We get 2 warnings when building kernel with W=1: > drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:463:5: warning: no > previous prototype for 'esw_offloads_init' [-Wmissing-prototypes] > drivers/net/ethernet/mellanox/mlx5/co

[PATCH] net/mlx5: clean function declarations in eswitch.c up

2016-09-18 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:463:5: warning: no previous prototype for 'esw_offloads_init' [-Wmissing-prototypes] drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:521:6: warning: no previous prototype for 'es