]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: FWTrace, cancel work on alloc pd error flow
authorSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 Aug 2021 20:09:26 +0000 (13:09 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 7 Sep 2021 21:16:52 +0000 (14:16 -0700)
commitdfe6fd72b5f1878b16aa2c8603e031bbcd66b96d
tree1767c35d456883d58525cb72c92f22cc95c19361
parentda8252d5805d4a80120a0c2151277e5fb9e8aa9e
net/mlx5: FWTrace, cancel work on alloc pd error flow

Handle error flow on mlx5_core_alloc_pd() failure,
read_fw_strings_work must be canceled.

Fixes: c71ad41ccb0c ("net/mlx5: FW tracer, events handling")
Reported-by: Pavel Machek (CIP) <pavel@denx.de>
Suggested-by: Pavel Machek (CIP) <pavel@denx.de>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Aya Levin <ayal@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c