linux/drivers/infiniband
Wenpeng Liang 904de76c42 RDMA/hns: Clean up the return value check of hns_roce_alloc_cmd_mailbox()
hns_roce_alloc_cmd_mailbox() never returns NULL, so the check should be
IS_ERR(). And the error code should be converted as the function's return
value.

Link: https://lore.kernel.org/r/20220302064830.61706-8-liangwenpeng@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-03-04 17:36:32 -04:00
..
core RDMA/core: Fix ib_qp_usecnt_dec() called when error 2022-03-04 17:30:31 -04:00
hw RDMA/hns: Clean up the return value check of hns_roce_alloc_cmd_mailbox() 2022-03-04 17:36:32 -04:00
sw RDMA/rxe: Cleanup rxe_mcast.c 2022-02-23 20:29:15 -04:00
ulp RDMA/ib_srp: Add more documentation 2022-02-23 15:13:23 -04:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile