net/mlx5: E-switch, Annotate esw state_lock mutex destroy
authorParav Pandit <parav@mellanox.com>
Wed, 18 Dec 2019 04:51:24 +0000 (22:51 -0600)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 13 Mar 2020 23:26:22 +0000 (16:26 -0700)
commitd6c8022dfb06b27c96d6deca93ce6d762e842878
tree3bfbe287461dfe408dda71378b978cde508f0ab6
parent2bb72e7e2abc6c8005baef4b35795616be2e0e4c
net/mlx5: E-switch, Annotate esw state_lock mutex destroy

Invoke mutex_destroy() to catch any esw state_lock errors.

Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c