]> 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)
commitf65b35a791452e8fe16cd0a9557e28657f4c57cd
tree1767c35d456883d58525cb72c92f22cc95c19361
parent9b2c7b5c89e5f97dedae821edc8d6a398e39b46a
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: 3649e5094c74 ("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