Re: [PATCH] RDMA/rxe: Fix typo

From: Bob Pearson
Date: Thu Jul 14 2022 - 13:16:37 EST


On 7/1/22 03:00, Zhang Jiaming wrote:
> There is a spelling mistake (writeable) in function rxe_check_bind_mw.
> Fix it.
>
> Signed-off-by: Zhang Jiaming <jiaming@xxxxxxxxxxxx>
> ---
> drivers/infiniband/sw/rxe/rxe_mw.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/infiniband/sw/rxe/rxe_mw.c b/drivers/infiniband/sw/rxe/rxe_mw.c
> index 2e1fa844fabf..83b5d2b2ebfd 100644
> --- a/drivers/infiniband/sw/rxe/rxe_mw.c
> +++ b/drivers/infiniband/sw/rxe/rxe_mw.c
> @@ -113,7 +113,7 @@ static int rxe_check_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe,
> (IB_ACCESS_REMOTE_WRITE | IB_ACCESS_REMOTE_ATOMIC)) &&
> !(mr->access & IB_ACCESS_LOCAL_WRITE))) {
> pr_err_once(
> - "attempt to bind an writeable MW to an MR without local write access\n");
> + "attempt to bind an writable MW to an MR without local write access\n");
> return -EINVAL;
> }
>

Correct.

Reviewed-by: Bob Pearson <rpearsonhpe@xxxxxxxxx>