diff mbox series

[v2,net-next] mptcp: fix typos in comments

Message ID 20240502154740.249839-1-fourcolor4c@gmail.com (mailing list archive)
State Accepted
Commit 46a5d3abedbeb78640376257ee5c3aa690f6ee41
Delegated to: Netdev Maintainers
Headers show
Series [v2,net-next] mptcp: fix typos in comments | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 928 this patch: 928
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers success CCed 8 of 8 maintainers
netdev/build_clang success Errors and warnings before: 938 this patch: 938
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 939 this patch: 939
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 16 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-05-05--03-00 (tests: 1003)

Commit Message

Shi-Sheng Yang May 2, 2024, 3:47 p.m. UTC
This patch fixes the spelling mistakes in comments.
The changes were generated using codespell and reviewed manually.

eariler -> earlier
greceful -> graceful

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

Comments

Simon Horman May 4, 2024, 10:58 a.m. UTC | #1
On Thu, May 02, 2024 at 11:47:40PM +0800, Shi-Sheng Yang wrote:
> This patch fixes the spelling mistakes in comments.
> The changes were generated using codespell and reviewed manually.
> 
> eariler -> earlier
> greceful -> graceful
> 
> Signed-off-by: Shi-Sheng Yang <fourcolor4c@gmail.com>

Reviewed-by: Simon Horman <horms@kernel.org>
Matthieu Baerts (NGI0) May 6, 2024, 7:40 a.m. UTC | #2
Hi Shi-Sheng,

On 02/05/2024 17:47, Shi-Sheng Yang wrote:
> This patch fixes the spelling mistakes in comments.
> The changes were generated using codespell and reviewed manually.
> 
> eariler -> earlier
> greceful -> graceful

Thank you for the fix, it looks good to me:

Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>

@Simon: many thanks for the previous review!

@Netdev maintainers: I think it is best to apply this patch -- and
similar ones -- directly in the Netdev tree, no need to have it first in
the MPTCP tree.

Cheers,
Matt
patchwork-bot+netdevbpf@kernel.org May 7, 2024, 2:50 a.m. UTC | #3
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu,  2 May 2024 23:47:40 +0800 you wrote:
> This patch fixes the spelling mistakes in comments.
> The changes were generated using codespell and reviewed manually.
> 
> eariler -> earlier
> greceful -> graceful
> 
> Signed-off-by: Shi-Sheng Yang <fourcolor4c@gmail.com>
> 
> [...]

Here is the summary with links:
  - [v2,net-next] mptcp: fix typos in comments
    https://git.kernel.org/netdev/net-next/c/46a5d3abedbe

You are awesome, thank you!
diff mbox series

Patch

diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c
index 97ec44d1df30..0ac8d4850751 100644
--- a/net/mptcp/subflow.c
+++ b/net/mptcp/subflow.c
@@ -911,7 +911,7 @@  static struct sock *subflow_syn_recv_sock(const struct sock *sk,
 	}
 
 	/* check for expected invariant - should never trigger, just help
-	 * catching eariler subtle bugs
+	 * catching earlier subtle bugs
 	 */
 	WARN_ON_ONCE(child && *own_req && tcp_sk(child)->is_mptcp &&
 		     (!mptcp_subflow_ctx(child) ||
@@ -1259,7 +1259,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;