]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/hns: Fix unmatch exception handling when init eq table fails
authorJunxian Huang <huangjunxian6@hisilicon.com>
Wed, 10 Jul 2024 13:37:00 +0000 (21:37 +0800)
committerLeon Romanovsky <leon@kernel.org>
Thu, 11 Jul 2024 10:25:11 +0000 (13:25 +0300)
commit543fb987bd63ed27409b5dea3d3eec27b9c1eac9
tree1f16daf500c14fd57cb95696e066caf2da5fdbab
parent2fdf34038369c0a27811e7b4680662a14ada1d6b
RDMA/hns: Fix unmatch exception handling when init eq table fails

The hw ctx should be destroyed when init eq table fails.

Fixes: a5073d6054f7 ("RDMA/hns: Add eq support of hip08")
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20240710133705.896445-4-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c