2022-07-01 08:13:20

by Zhang Jiaming

[permalink] [raw]
Subject: [PATCH] RDMA/rxe: Fix typo

There is a spelling mistake (writeable) in function rxe_check_bind_mw.
Fix it.

Signed-off-by: Zhang Jiaming <[email protected]>
---
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;
}

--
2.25.1


2022-07-14 17:23:08

by Bob Pearson

[permalink] [raw]
Subject: Re: [PATCH] RDMA/rxe: Fix typo

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 <[email protected]>
> ---
> 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 <[email protected]>

2022-07-21 07:26:46

by Leon Romanovsky

[permalink] [raw]
Subject: Re: [PATCH] RDMA/rxe: Fix typo

On Fri, Jul 01, 2022 at 04:00:19PM +0800, Zhang Jiaming wrote:
> There is a spelling mistake (writeable) in function rxe_check_bind_mw.
> Fix it.
>
> Signed-off-by: Zhang Jiaming <[email protected]>
> ---
> drivers/infiniband/sw/rxe/rxe_mw.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Thanks, applied.