Skip to contentSkip to conversation

net: fix repeated word 'to' in comment

PATCH Applied Hemanth Selam 3 participants 4 messages Sep 7 – Sep 9

Subsystems (3)

v1 of 2 Applied 1/1 Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: fix repeated word 'to' in comment

Drop the second 'to', reported by checkpatch.pl as a possible repeated word. Only touches a comment, no code changes.

Assisted-by Cursor:claude-opus-5
---
 drivers/net/gtp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/gtp.c +1 -1
index 69fe5717846b..4aff23bcfdd1 100644
@@ -770,7 +770,7 @@ static int gtp_parse_exthdrs(struct sk_buff *skb, unsigned int *hdrlen)
 	 *
 	 * This length field includes length field size itself (1 byte),
 	 * payload (variable length) and next type (1 byte). The extension
-	 * header is aligned to to 4 bytes.
+	 * header is aligned to 4 bytes.
 	 */
 
 	do {
Signature · 1 line
2.48.1
#1 lore raw

Hi Hemanth,

Quoted 14 lines · Hemanth Selam

Drop the second 'to', reported by checkpatch.pl as a possible repeated word. Only touches a comment, no code changes.

Assisted-by Cursor:claude-opus-5
---
  drivers/net/gtp.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/gtp.c +0 -0
index 69fe5717846b..4aff23bcfdd1 100644

drivers/net/gtp.c static int gtp_parse_exthdrs(struct sk_buff *skb, unsigned int *hdrlen) · line 776

Quoted 8 lines
drivers/net/gtp.c +1 -1
@@ -770,7 +770,7 @@ static int gtp_parse_exthdrs(struct sk_buff *skb, unsigned int *hdrlen)
  	 *
  	 * This length field includes length field size itself (1 byte),
  	 * payload (variable length) and next type (1 byte). The extension
-	 * header is aligned to to 4 bytes.
+	 * header is aligned to 4 bytes.
  	 */
 
  	do {

Typo fixes are cleanups.

Please specify the target tree: use [PATCH net-next] instead of a bare [PATCH].

Thanks,
Xuanqiang

#2 lore raw
Quoted 3 lines · Xuanqiang Luo

Typo fixes are cleanups.
Please specify the target tree: use [PATCH net-next] instead of a bare [PATCH].

You are right, and thank you for the correction. I missed maintainer-netdev.rst on this; it asks for the tree in the subject and I sent these with a bare [PATCH].

The same document also asks not to repost within 24 hours, so rather than resend immediately I will send v2 tomorrow as

[PATCH net-next] gtp: fix repeated word 'to' in comment

which also fixes the subject prefix, since "net:" does not name the file being touched. I will do the same for the other patches I sent to netdev today, and use the right tree for the wireless and wpan ones.

Hemanth

#3 lore raw
In reply to Hemanth Selam
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Mon, 7 Sep 2026 12:08:04 +0530 you wrote:

Drop the second 'to', reported by checkpatch.pl as a possible repeated word. Only touches a comment, no code changes.

Assisted-by Cursor:claude-opus-5
---
 drivers/net/gtp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- net: fix repeated word 'to' in comment

    https://git.kernel.org/netdev/net-next/c/1c9c07d0ad69

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html