netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mptcp: subflow.c: fix typo
@ 2024-04-29 22:50 Shi-Sheng Yang
  2024-04-30 18:00 ` Simon Horman
  0 siblings, 1 reply; 3+ messages in thread
From: Shi-Sheng Yang @ 2024-04-29 22:50 UTC (permalink / raw)
  To: matttbe, martineau, davem, edumazet, kuba, pabeni
  Cc: geliang, netdev, mptcp, linux-kernel, Shi-Sheng Yang

Replace 'greceful' with 'graceful'.

Signed-off-by: Shi-Sheng Yang <james1qaz2wsx12qw@gmail.com>
---
 net/mptcp/subflow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c
index 6042a47da61b..c794288f6224 100644
--- a/net/mptcp/subflow.c
+++ b/net/mptcp/subflow.c
@@ -1234,7 +1234,7 @@ static void mptcp_subflow_fail(struct mptcp_sock *msk, struct sock *ssk)
 	struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(ssk);
 	unsigned long fail_tout;
 
-	/* greceful failure can happen only on the MPC subflow */
+	/* graceful failure can happen only on the MPC subflow */
 	if (WARN_ON_ONCE(ssk != READ_ONCE(msk->first)))
 		return;
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mptcp: subflow.c: fix typo
  2024-04-29 22:50 [PATCH] mptcp: subflow.c: fix typo Shi-Sheng Yang
@ 2024-04-30 18:00 ` Simon Horman
  2024-05-01 15:57   ` Kuan-Wei Chiu
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Horman @ 2024-04-30 18:00 UTC (permalink / raw)
  To: Shi-Sheng Yang
  Cc: matttbe, martineau, davem, edumazet, kuba, pabeni, geliang,
	netdev, mptcp, linux-kernel, Shi-Sheng Yang

On Tue, Apr 30, 2024 at 06:50:33AM +0800, Shi-Sheng Yang wrote:
> Replace 'greceful' with 'graceful'.
> 
> Signed-off-by: Shi-Sheng Yang <james1qaz2wsx12qw@gmail.com>

Hi Shi-Sheng Yang,

Elsewhere in the same file 'earlier' is mispelt as 'eariler'.
Could you consider fixing that too?

Better still, could you consider running codespell over
net/mptcp/ and fixing (the non false-positives) that it flags?

If you do repost then I think an appropriate prefix
would be 'mctp: ' rather than 'mctp: subflow.c ',
as this follows the pattern in git history.

And I think the target tree should be net-next.
That is, the patch should be based on net-next and
it should be designated in the subject.

e.g. Subject: [PATCH v2 net-next] mptcp: fix typos in comments

Lastly, please keep in mind that 24h should elapse
before posting a new version.

Link: https://docs.kernel.org/process/maintainer-netdev.html

...

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mptcp: subflow.c: fix typo
  2024-04-30 18:00 ` Simon Horman
@ 2024-05-01 15:57   ` Kuan-Wei Chiu
  0 siblings, 0 replies; 3+ messages in thread
From: Kuan-Wei Chiu @ 2024-05-01 15:57 UTC (permalink / raw)
  To: Shi-Sheng Yang, Shi-Sheng Yang
  Cc: Simon Horman, matttbe, martineau, davem, edumazet, kuba, pabeni,
	geliang, netdev, mptcp, linux-kernel

On Tue, Apr 30, 2024 at 07:00:57PM +0100, Simon Horman wrote:
> On Tue, Apr 30, 2024 at 06:50:33AM +0800, Shi-Sheng Yang wrote:
> > Replace 'greceful' with 'graceful'.
> > 
> > Signed-off-by: Shi-Sheng Yang <james1qaz2wsx12qw@gmail.com>
> 
> Hi Shi-Sheng Yang,
> 
> Elsewhere in the same file 'earlier' is mispelt as 'eariler'.
> Could you consider fixing that too?
> 
> Better still, could you consider running codespell over
> net/mptcp/ and fixing (the non false-positives) that it flags?
> 
> If you do repost then I think an appropriate prefix
> would be 'mctp: ' rather than 'mctp: subflow.c ',
> as this follows the pattern in git history.
> 
> And I think the target tree should be net-next.
> That is, the patch should be based on net-next and
> it should be designated in the subject.
> 
> e.g. Subject: [PATCH v2 net-next] mptcp: fix typos in comments
> 
> Lastly, please keep in mind that 24h should elapse
> before posting a new version.
> 
> Link: https://docs.kernel.org/process/maintainer-netdev.html
> 
> ...
>

Hi Shi-Sheng,

I also noticed that the email you sent and the email from SoB are not
the same, which causes checkpatch.pl to complain about the following
warning:

WARNING: From:/Signed-off-by: email address mismatch: 'From: Shi-ShengYang fourcolor4c@gmail.com' != 'Signed-off-by: Shi-Sheng Yang james1qaz2wsx12qw@gmail.com'

total: 0 errors, 1 warning, 0 checks, 8 lines checked

Could you please address this issue in the next version as well?

Regards,
Kuan-Wei

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-01 15:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-29 22:50 [PATCH] mptcp: subflow.c: fix typo Shi-Sheng Yang
2024-04-30 18:00 ` Simon Horman
2024-05-01 15:57   ` Kuan-Wei Chiu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).