net/mlx5: Add missing include in lib/gid.c
authorIlan Tayari <ilant@mellanox.com>
Thu, 29 Jun 2017 12:06:08 +0000 (15:06 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 6 Jul 2017 12:13:19 +0000 (15:13 +0300)
commitaa07b633846db4192e6bb35675fbdaf6e78c98c7
tree5c77f49cd92664e8cfc0696f2c4cac12dbde50b1
parent3d05035efaac1e9a4583b62cd70ecb8541399c0f
net/mlx5: Add missing include in lib/gid.c

Fix warnings when building with -Wall:
drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c:38:6: warning: symbol 'mlx5_init_reserved_gids' was not declared. Should it be static?
drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c:47:6: warning: symbol 'mlx5_cleanup_reserved_gids' was not declared. Should it be static?
drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c:55:5: warning: symbol 'mlx5_core_reserve_gids' was not declared. Should it be static?
drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c:79:6: warning: symbol 'mlx5_core_unreserve_gids' was not declared. Should it be static?
drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c:92:5: warning: symbol 'mlx5_core_reserved_gid_alloc' was not declared. Should it be static?
drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c:109:6: warning: symbol 'mlx5_core_reserved_gid_free' was not declared. Should it be static?

Fixes: 52ec462eca9b ("net/mlx5: Add reserved-gids support")
Reported-by: Or Gerlitz <gerlitz.or@gmail.com>
Signed-off-by: Ilan Tayari <ilant@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c