drivers/infiniband/sw/rxe/rxe_mw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
There is a spelling mistake (writeable) in function rxe_check_bind_mw.
Fix it.
Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
---
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
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 <jiaming@nfschina.com> > --- > drivers/infiniband/sw/rxe/rxe_mw.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks, applied.
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@nfschina.com>
> ---
> 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@gmail.com>
© 2016 - 2026 Red Hat, Inc.