linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Baoyou Xie 766a0e978f net/mlx5: clean function declarations in eswitch.c up
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 'esw_offloads_cleanup' [-Wmissing-prototypes]

In fact, both functions are declared in
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c,but should be
declared in a header file, thus can be recognized in other file.

So this patch moves the declarations into
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-19 21:52:10 -04:00
..
mlx4 mlx4: fix XDP_TX is acting like XDP_PASS on TX ring full 2016-09-19 01:32:19 -04:00
mlx5/core net/mlx5: clean function declarations in eswitch.c up 2016-09-19 21:52:10 -04:00
mlxsw mlxsw: spectrum: Implement offload stats ndo and expose HW stats by default 2016-09-18 22:33:42 -04:00
Kconfig
Makefile