net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work()
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 5 Jan 2023 11:42:20 +0000 (19:42 +0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 Jan 2023 08:01:38 +0000 (00:01 -0800)
commit90e7cb78b81543998217b0eb446c067ce2191a79
tree458c539f5c0c850a907756518a71176530837eda
parent010a74f52203eae037dd6aa111ba371f6a2dedc5
net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work()

Add missing mutex_unlock() before returning from
mlx5_fw_fatal_reporter_err_work().

Fixes: 9078e843efec ("net/mlx5: Avoid recovery in probe flows")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/health.c