diff mbox series

kcm: kcmsock.c: Couple of typo fixes

Message ID 20210326231608.24407-8-unixbhaskar@gmail.com
State New
Headers show
Series kcm: kcmsock.c: Couple of typo fixes | expand

Commit Message

Bhaskar Chowdhury March 26, 2021, 11:12 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) {