diff mbox series

[15/19] kcm: kcmsock.c: Couple of typo fixes

Message ID ae0af362e80a736a78c2ddb355c2b7c9dc0ff659.1616797633.git.unixbhaskar@gmail.com
State Superseded
Headers show
Series net: Trivial spello/typo fixes throughout the tree | expand

Commit Message

Bhaskar Chowdhury March 26, 2021, 11:13 p.m. UTC
s/synchonization/synchronization/
s/aready/already/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 net/kcm/kcmsock.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
2.26.2
diff mbox series

Patch

diff --git a/net/kcm/kcmsock.c b/net/kcm/kcmsock.c
index d0b56ffbb057..6201965bd822 100644
--- a/net/kcm/kcmsock.c
+++ b/net/kcm/kcmsock.c
@@ -663,7 +663,7 @@  static int kcm_write_msgs(struct kcm_sock *kcm)

 				/* Hard failure in sending message, abort this
 				 * psock since it has lost framing
-				 * synchonization and retry sending the
+				 * synchronization and retry sending the
 				 * message from the beginning.
 				 */
 				kcm_abort_tx_psock(psock, ret ? -ret : EPIPE,
@@ -1419,7 +1419,7 @@  static int kcm_attach(struct socket *sock, struct socket *csock,

 	write_lock_bh(&csk->sk_callback_lock);

-	/* Check if sk_user_data is aready by KCM or someone else.
+	/* Check if sk_user_data is already by KCM or someone else.
 	 * Must be done under lock to prevent race conditions.
 	 */
 	if (csk->sk_user_data) {