Skip to contentSkip to conversation

RDMA/rxe: Fix typo

PATCH Applied Zhang Jiaming 3 participants 3 messages Jul 1, 2022 – Jul 21, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RDMA/rxe: Fix typo

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

---
 drivers/infiniband/sw/rxe/rxe_mw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/sw/rxe/rxe_mw.c +1 -1
index 2e1fa844fabf..83b5d2b2ebfd 100644
@@ -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;
 	}
 
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Zhang Jiaming

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

---
 drivers/infiniband/sw/rxe/rxe_mw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/sw/rxe/rxe_mw.c +0 -0
index 2e1fa844fabf..83b5d2b2ebfd 100644

drivers/infiniband/sw/rxe/rxe_mw.c static int rxe_check_bind_mw(struct rxe_qp *qp, struct rxe_send_wqe *wqe, · line 119

Quoted 8 lines
drivers/infiniband/sw/rxe/rxe_mw.c +1 -1
@@ -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.