diff options
author | Boshi Yu <boshiyu@linux.alibaba.com> | 2025-07-25 13:53:55 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-08-13 06:23:54 -0400 |
commit | d5c74713f0117d07f91eb48b10bc2ad44e23c9b9 (patch) | |
tree | 6cc03890fe6d2536953ce7ae8ec147126014295c /rust/kernel/error.rs | |
parent | 3c3e9a9f2972b364e8c2cfbfdeb23c6d6be4f87f (diff) |
RDMA/erdma: Fix ignored return value of init_kernel_qp
The init_kernel_qp interface may fail. Check its return value and free
related resources properly when it does.
Fixes: 155055771704 ("RDMA/erdma: Add verbs implementation")
Reviewed-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Boshi Yu <boshiyu@linux.alibaba.com>
Link: https://patch.msgid.link/20250725055410.67520-3-boshiyu@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'rust/kernel/error.rs')
0 files changed, 0 insertions, 0 deletions