]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
docs: networking: strparser: Fix a typo
authorWangYuli <wangyuli@uniontech.com>
Tue, 18 Mar 2025 07:46:56 +0000 (15:46 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 24 Mar 2025 19:14:16 +0000 (12:14 -0700)
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.

Suggested-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Reviewed-by: Yanteng Si <si.yanteng@linux.dev>
Link: https://patch.msgid.link/A43BEA49ED5CC6E5+20250318074656.644391-1-wangyuli@uniontech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/strparser.rst

index 7f623d1db72aae7b50ee0bc529dc7be67b8c82fd..8dc6bb04c710bedaa7d16723bb83f29de4005db4 100644 (file)
@@ -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.
 
     ::