Skip to contentSkip to conversation

bpf, sockmap: Correct spelling skmsg.c

PATCH Applied Simon Horman 3 participants 4 messages Aug 29, 2024 – Sep 2, 2024

Subsystems (4)
lore
Share & tools
lore

Simon Horman

author reviewer
#0 lore raw

PATCH 1/1 bpf, sockmap: Correct spelling skmsg.c

Correct spelling in skmsg.c.
As reported by codespell.

---
 net/core/skmsg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/skmsg.c +1 -1
index bbf40b999713..b1dcbd3be89e 100644
@@ -293,7 +293,7 @@ void sk_msg_trim(struct sock *sk, struct sk_msg *msg, int len)
 	/* If we trim data a full sg elem before curr pointer update
 	 * copybreak and current so that any future copy operations
 	 * start at new copy location.
-	 * However trimed data that has not yet been used in a copy op
+	 * However trimmed data that has not yet been used in a copy op
 	 * does not require an update.
 	 */
 	if (!msg->sg.size) {
author reviewer
#2 lore raw
Quoted 11 lines · Stanislav Fomichev
Quoted 4 lines · Simon Horman

Correct spelling in skmsg.c.
As reported by codespell.

Although I bet there is so much more spelling errors :D
I have a spell check enabled for the code comments, and I'm almost ready to disable it because half of the screen is usually red.

For some reason this was the only one I noticed flagged by codespell. But I can look again, with other tools.

#3 lore raw
In reply to Simon Horman
This patch was applied to bpf/bpf-next.git (net) by Daniel Borkmann <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (net)
by Daniel Borkmann <[email protected]>:

Quoted 7 lines · On Thu, 29 Aug 2024 16:45:51 +0100 you wrote:

Correct spelling in skmsg.c.
As reported by codespell.

---
 net/core/skmsg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [bpf-next] bpf, sockmap: Correct spelling skmsg.c

    https://git.kernel.org/bpf/bpf-next/c/731733c62348

You are awesome, thank you!

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