Re: [PATCH] RDMA: error code handling
From: Leon Romanovsky
Date: Wed Sep 02 2020 - 05:03:31 EST
On Mon, Aug 24, 2020 at 07:44:21PM -0400, Tong Zhang wrote:
> ocrdma_qp_state_change() returns 1 when new and old state are the same,
> however caller is checking using <0
>
> Signed-off-by: Tong Zhang <ztong0001@xxxxxxxxx>
> ---
> drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Fixes: 057729cb2347 ("RDMA/ocrdma: Remove driver QP state machine")
Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>