public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: networking: strparser: Fix a typo
@ 2025-03-18  7:46 WangYuli
  2025-03-18  9:12 ` Yanteng Si
  2025-03-24 19:20 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: WangYuli @ 2025-03-18  7:46 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, horms, corbet
  Cc: netdev, linux-doc, linux-kernel, tom, zhanjun, niecheng1,
	guanwentao, WangYuli, Sourcery AI

The context indicates that 'than' is the correct word instead of 'then',
as a comparison is being performed.

Given that 'then' is also a valid English word, checkpatch.pl wouldn't
have picked up on this spelling error.

This typo was caught by AI during code review.

Fixes: adcce4d5dd46 ("strparser: Documentation")
Reported-by: Sourcery AI <hello@sourcery.ai>
Suggested-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
---
 Documentation/networking/strparser.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/networking/strparser.rst b/Documentation/networking/strparser.rst
index 7f623d1db72a..8dc6bb04c710 100644
--- a/Documentation/networking/strparser.rst
+++ b/Documentation/networking/strparser.rst
@@ -180,7 +180,7 @@ There are seven callbacks:
     struct contains two fields: offset and full_len. Offset is
     where the message starts in the skb, and full_len is the
     the length of the message. skb->len - offset may be greater
-    then full_len since strparser does not trim the skb.
+    than full_len since strparser does not trim the skb.
 
     ::
 
-- 
2.49.0


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

* Re: [PATCH] docs: networking: strparser: Fix a typo
  2025-03-18  7:46 [PATCH] docs: networking: strparser: Fix a typo WangYuli
@ 2025-03-18  9:12 ` Yanteng Si
  2025-03-24 19:20 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Yanteng Si @ 2025-03-18  9:12 UTC (permalink / raw)
  To: WangYuli, davem, edumazet, kuba, pabeni, horms, corbet
  Cc: netdev, linux-doc, linux-kernel, tom, zhanjun, niecheng1,
	guanwentao, Sourcery AI


在 3/18/25 3:46 PM, WangYuli 写道:
> The context indicates that 'than' is the correct word instead of 'then',
> as a comparison is being performed.
>
> Given that 'then' is also a valid English word, checkpatch.pl wouldn't
> have picked up on this spelling error.
>
> This typo was caught by AI during code review.
>
> Fixes: adcce4d5dd46 ("strparser: Documentation")
> Reported-by: Sourcery AI <hello@sourcery.ai>
> Suggested-by: Wentao Guan <guanwentao@uniontech.com>
> Signed-off-by: WangYuli <wangyuli@uniontech.com>

Reviewed-by: Yanteng Si <si.yanteng@linux.dev>


Thanks,

Yanteng

> ---
>   Documentation/networking/strparser.rst | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/networking/strparser.rst b/Documentation/networking/strparser.rst
> index 7f623d1db72a..8dc6bb04c710 100644
> --- a/Documentation/networking/strparser.rst
> +++ b/Documentation/networking/strparser.rst
> @@ -180,7 +180,7 @@ There are seven callbacks:
>       struct contains two fields: offset and full_len. Offset is
>       where the message starts in the skb, and full_len is the
>       the length of the message. skb->len - offset may be greater
> -    then full_len since strparser does not trim the skb.
> +    than full_len since strparser does not trim the skb.
>   
>       ::
>   

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

* Re: [PATCH] docs: networking: strparser: Fix a typo
  2025-03-18  7:46 [PATCH] docs: networking: strparser: Fix a typo WangYuli
  2025-03-18  9:12 ` Yanteng Si
@ 2025-03-24 19:20 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-03-24 19:20 UTC (permalink / raw)
  To: WangYuli
  Cc: davem, edumazet, kuba, pabeni, horms, corbet, netdev, linux-doc,
	linux-kernel, tom, zhanjun, niecheng1, guanwentao, hello

Hello:

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

On Tue, 18 Mar 2025 15:46:56 +0800 you wrote:
> The context indicates that 'than' is the correct word instead of 'then',
> as a comparison is being performed.
> 
> Given that 'then' is also a valid English word, checkpatch.pl wouldn't
> have picked up on this spelling error.
> 
> This typo was caught by AI during code review.
> 
> [...]

Here is the summary with links:
  - docs: networking: strparser: Fix a typo
    https://git.kernel.org/netdev/net-next/c/6d1929475e36

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2025-03-24 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-18  7:46 [PATCH] docs: networking: strparser: Fix a typo WangYuli
2025-03-18  9:12 ` Yanteng Si
2025-03-24 19:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox