Re: [PATCH] RDMA/ib_srpt: unify checking rdma_cm_id condition in srpt_cm_req_recv()

From: Jason Gunthorpe
Date: Tue Aug 02 2022 - 14:12:01 EST


On Mon, Aug 01, 2022 at 06:43:46AM +0000, Li Zhijian wrote:
> Although rdma_cm_id and ib_cm_id passing to srpt_cm_req_recv() are
> exclusive currently, all other checking condition are using rdma_cm_id.
> So unify the 'if' condition to make the code more clear.
>
> Signed-off-by: Li Zhijian <lizhijian@xxxxxxxxxxx>
> Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>
> ---
> drivers/infiniband/ulp/srpt/ib_srpt.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)

Applied to for-next.

Thanks,
Jason