linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] rds: Fix some typos for rds
@ 2021-03-24  6:25 Wang Hai
  0 siblings, 0 replies; only message in thread
From: Wang Hai @ 2021-03-24  6:25 UTC (permalink / raw)
  To: santosh.shilimkar, davem, kuba
  Cc: linux-rdma, rds-devel, netdev, linux-kernel

s/alloced/allocated/
s/synching/syncing/
s/connction/connection/
s/beween/between/

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
---
 net/rds/ib_ring.c  | 2 +-
 net/rds/ib_send.c  | 2 +-
 net/rds/send.c     | 4 ++--
 net/rds/tcp_recv.c | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net/rds/ib_ring.c b/net/rds/ib_ring.c
index ff97e8eda858..006b2e441418 100644
--- a/net/rds/ib_ring.c
+++ b/net/rds/ib_ring.c
@@ -141,7 +141,7 @@ int rds_ib_ring_low(struct rds_ib_work_ring *ring)
 }
 
 /*
- * returns the oldest alloced ring entry.  This will be the next one
+ * returns the oldest allocated ring entry.  This will be the next one
  * freed.  This can't be called if there are none allocated.
  */
 u32 rds_ib_ring_oldest(struct rds_ib_work_ring *ring)
diff --git a/net/rds/ib_send.c b/net/rds/ib_send.c
index 92b4a8689aae..0ad8c685621d 100644
--- a/net/rds/ib_send.c
+++ b/net/rds/ib_send.c
@@ -109,7 +109,7 @@ static void rds_ib_send_unmap_rdma(struct rds_ib_connection *ic,
 	 * Note: There's no need to explicitly sync any RDMA buffers using
 	 * ib_dma_sync_sg_for_cpu - the completion for the RDMA
 	 * operation itself unmapped the RDMA buffers, which takes care
-	 * of synching.
+	 * of syncing.
 	 */
 	rds_ib_send_complete(container_of(op, struct rds_message, rdma),
 			     wc_status, rds_rdma_send_complete);
diff --git a/net/rds/send.c b/net/rds/send.c
index 985d0b7713ac..ea6301c4001a 100644
--- a/net/rds/send.c
+++ b/net/rds/send.c
@@ -233,7 +233,7 @@ int rds_send_xmit(struct rds_conn_path *cp)
 		 * If not already working on one, grab the next message.
 		 *
 		 * cp_xmit_rm holds a ref while we're sending this message down
-		 * the connction.  We can use this ref while holding the
+		 * the connection.  We can use this ref while holding the
 		 * send_sem.. rds_send_reset() is serialized with it.
 		 */
 		if (!rm) {
@@ -1225,7 +1225,7 @@ int rds_sendmsg(struct socket *sock, struct msghdr *msg, size_t payload_len)
 		}
 		/* If the socket is already bound to a link local address,
 		 * it can only send to peers on the same link.  But allow
-		 * communicating beween link local and non-link local address.
+		 * communicating between link local and non-link local address.
 		 */
 		if (scope_id != rs->rs_bound_scope_id) {
 			if (!scope_id) {
diff --git a/net/rds/tcp_recv.c b/net/rds/tcp_recv.c
index 42c5ff1eda95..f4ee13da90c7 100644
--- a/net/rds/tcp_recv.c
+++ b/net/rds/tcp_recv.c
@@ -177,7 +177,7 @@ static int rds_tcp_data_recv(read_descriptor_t *desc, struct sk_buff *skb,
 				goto out;
 			}
 			tc->t_tinc = tinc;
-			rdsdebug("alloced tinc %p\n", tinc);
+			rdsdebug("allocated tinc %p\n", tinc);
 			rds_inc_path_init(&tinc->ti_inc, cp,
 					  &cp->cp_conn->c_faddr);
 			tinc->ti_inc.i_rx_lat_trace[RDS_MSG_RX_HDR] =
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-24  6:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24  6:25 [PATCH net-next] rds: Fix some typos for rds Wang Hai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).