summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/irdma/uda.h
diff options
context:
space:
mode:
authorSindhu Devale <sindhu.devale@intel.com>2023-07-25 17:55:03 +0200
committerLeon Romanovsky <leon@kernel.org>2023-07-26 14:05:36 +0200
commit133b1cba46c6c8b67c630eacc0a1e4969da16517 (patch)
tree1e4029105702fcbf71eddc203846b12813892164 /drivers/infiniband/hw/irdma/uda.h
parentRDMA/irdma: Drop a local in irdma_sc_get_next_aeqe (diff)
downloadlinux-133b1cba46c6c8b67c630eacc0a1e4969da16517.tar.xz
linux-133b1cba46c6c8b67c630eacc0a1e4969da16517.zip
RDMA/irdma: Refactor error handling in create CQP
In case of a failure in irdma_create_cqp, do not call irdma_destroy_cqp, but cleanup all the allocated resources in reverse order. Drop the extra argument in irdma_destroy_cqp as its no longer needed. Signed-off-by: Krzysztof Czurylo <krzysztof.czurylo@intel.com> Signed-off-by: Sindhu Devale <sindhu.devale@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Link: https://lore.kernel.org/r/20230725155505.1069-3-shiraz.saleem@intel.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/irdma/uda.h')
0 files changed, 0 insertions, 0 deletions