]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: make the symbol 'ESW_POOLS' static
authorChen Wandun <chenwandun@huawei.com>
Mon, 20 Jan 2020 12:41:53 +0000 (20:41 +0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 23 Jan 2020 06:28:26 +0000 (22:28 -0800)
commitd6be87bb464381039eb1fc571474a1496d89e2cd
tree680284ee7abb16986355b629bdf6878e93ca38bc
parentd5a7752dbb5b84c2fc8709b8fbf64fa6d74248d3
net/mlx5: make the symbol 'ESW_POOLS' static

Fix the following sparse warning:
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_chains.c:35:20: warning: symbol 'ESW_POOLS' was not declared. Should it be static?

Fixes: c7c16794c5fb ("net/mlx5: E-Switch, Refactor chains and priorities")
Signed-off-by: Chen Wandun <chenwandun@huawei.com>
Acked-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_chains.c