Skip to contentSkip to conversation

Fix some typos

PATCH Applied Lu Wei 2 participants 5 messages Mar 27, 2021 – Mar 29, 2021

Subsystems (6)
lore
Share & tools
lore

Lu Wei

author
#0 lore raw

cover Fix some typos

Lu Wei (3):
net: rds: Fix a typo
net: sctp: Fix some typos
net: vsock: Fix a typo

 net/rds/send.c           | 2 +-
 net/sctp/sm_make_chunk.c | 2 +-
 net/sctp/socket.c        | 2 +-
 net/vmw_vsock/af_vsock.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 1/3 net: rds: Fix a typo

Modify "beween" to "between" in net/rds/send.c.

---
 net/rds/send.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/rds/send.c +1 -1
index 985d0b7713ac..53444397de66 100644
@@ -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) {
Signature · 1 line
2.17.1
author
#2 lore raw

PATCH 2/3 net: sctp: Fix some typos

In reply to Lu Wei

Modify "unkown" to "unknown" in net/sctp/sm_make_chunk.c and Modify "orginal" to "original" in net/sctp/socket.c.

---
 net/sctp/sm_make_chunk.c | 2 +-
 net/sctp/socket.c        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
net/sctp/sm_make_chunk.c +1 -1
index f77484df097b..54e6a708d06e 100644
@@ -3217,7 +3217,7 @@ bool sctp_verify_asconf(const struct sctp_association *asoc,
 				return false;
 			break;
 		default:
-			/* This is unkown to us, reject! */
+			/* This is unknown to us, reject! */
 			return false;
 		}
 	}
net/sctp/socket.c +1 -1
index a710917c5ac7..76a388b5021c 100644
@@ -9327,7 +9327,7 @@ void sctp_copy_sock(struct sock *newsk, struct sock *sk,
 	if (newsk->sk_flags & SK_FLAGS_TIMESTAMP)
 		net_enable_timestamp();
 
-	/* Set newsk security attributes from orginal sk and connection
+	/* Set newsk security attributes from original sk and connection
 	 * security attribute from ep.
 	 */
 	security_sctp_sk_clone(ep, sk, newsk);
Signature · 1 line
2.17.1
author
#3 lore raw

PATCH 3/3 net: vsock: Fix a typo

In reply to Lu Wei

Modify "occured" to "occurred" in net/vmw_vsock/af_vsock.c.

---
 net/vmw_vsock/af_vsock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/vmw_vsock/af_vsock.c +1 -1
index 5546710d8ac1..01eebfecf1d7 100644
@@ -1854,7 +1854,7 @@ vsock_stream_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
 	if (!transport || sk->sk_state != TCP_ESTABLISHED) {
 		/* Recvmsg is supposed to return 0 if a peer performs an
 		 * orderly shutdown. Differentiate between that case and when a
-		 * peer has not connected or a local shutdown occured with the
+		 * peer has not connected or a local shutdown occurred with the
 		 * SOCK_DONE flag.
 		 */
 		if (sock_flag(sk, SOCK_DONE))
Signature · 1 line
2.17.1
#4 lore raw
In reply to Lu Wei
This series was applied to netdev/net-next.git (refs/heads/master):

Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

Quoted 10 lines · On Sat, 27 Mar 2021 10:27:21 +0800 you wrote:

Lu Wei (3):
net: rds: Fix a typo
net: sctp: Fix some typos
net: vsock: Fix a typo

 net/rds/send.c           | 2 +-
 net/sctp/sm_make_chunk.c | 2 +-
 net/sctp/socket.c        | 2 +-
 net/vmw_vsock/af_vsock.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Here is the summary with links:
- [-next,1/3] net: rds: Fix a typo

    https://git.kernel.org/netdev/net-next/c/ebf893958c13
  - [-next,2/3] net: sctp: Fix some typos
    https://git.kernel.org/netdev/net-next/c/21c00a186fac
  - [-next,3/3] net: vsock: Fix a typo
    https://git.kernel.org/netdev/net-next/c/9195f06b2d0f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html