[PATCH] can: j1939: socket: correct a grammatical error

Subsystems: can network layer, can-j1939 network layer, the rest

STALE1891d

2 messages, 2 authors, 2021-06-11 · open the first message on its own page

[PATCH] can: j1939: socket: correct a grammatical error

From: <hidden>
Date: 2021-06-11 01:41:30

From: gushengxian <redacted>

Correct a grammatical error.

Signed-off-by: gushengxian <redacted>
---
 net/can/j1939/socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/can/j1939/socket.c b/net/can/j1939/socket.c
index 56aa66147d5a..31ec493a0fca 100644
--- a/net/can/j1939/socket.c
+++ b/net/can/j1939/socket.c
@@ -352,7 +352,7 @@ static void j1939_sk_sock_destruct(struct sock *sk)
 {
 	struct j1939_sock *jsk = j1939_sk(sk);
 
-	/* This function will be call by the generic networking code, when then
+	/* This function will be called by the generic networking code, when then
 	 * the socket is ultimately closed (sk->sk_destruct).
 	 *
 	 * The race between
-- 
2.25.1

Re: [PATCH] can: j1939: socket: correct a grammatical error

From: Randy Dunlap <hidden>
Date: 2021-06-11 03:30:11

On June 10, 2021 6:40:51 PM PDT, 13145886936@163.com wrote:
quoted hunk
From: gushengxian <redacted>

Correct a grammatical error.

Signed-off-by: gushengxian <redacted>
---
net/can/j1939/socket.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/can/j1939/socket.c b/net/can/j1939/socket.c
index 56aa66147d5a..31ec493a0fca 100644
--- a/net/can/j1939/socket.c
+++ b/net/can/j1939/socket.c
@@ -352,7 +352,7 @@ static void j1939_sk_sock_destruct(struct sock *sk)
{
	struct j1939_sock *jsk = j1939_sk(sk);

-	/* This function will be call by the generic networking code, when
then
+	/* This function will be called by the generic networking code, when
then
Please drop "then".
	 * the socket is ultimately closed (sk->sk_destruct).
	 *
	 * The race between
Thanks. 


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help