2021-06-11 01:43:15

by gushengxian

[permalink] [raw]
Subject: [PATCH] can: j1939: socket: correct a grammatical error

From: gushengxian <[email protected]>

Correct a grammatical error.

Signed-off-by: gushengxian <[email protected]>
---
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


2021-06-11 03:33:49

by Randy Dunlap

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

On June 10, 2021 6:40:51 PM PDT, [email protected] wrote:
>From: gushengxian <[email protected]>
>
>Correct a grammatical error.
>
>Signed-off-by: gushengxian <[email protected]>
>---
> 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.