RDMA/hns: Fix an error code in hns_roce_create_srq()
The function accidentally returns success on this error path. Fixes: c7bcb134 ("RDMA/hns: Add SRQ support for hip08 kernel mode") Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NLijun Ou <oulijun@huawei.com> Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
Showing
想要评论请 注册 或 登录