* [PATCH bpf-next] net: filter: fix spelling mistakes
@ 2024-01-06 6:55 Randy Dunlap
2024-01-07 19:45 ` Simon Horman
2024-01-12 2:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2024-01-06 6:55 UTC (permalink / raw)
To: netdev
Cc: patches, Randy Dunlap, Alexei Starovoitov, Daniel Borkmann,
Andrii Nakryiko, bpf, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni
Fix spelling errors as reported by codespell.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: bpf@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
---
base-commit: 610a9b8f49fbcf1100716370d3b5f6f884a2835a
net/core/filter.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff -- a/net/core/filter.c b/net/core/filter.c
--- a/net/core/filter.c
+++ b/net/core/filter.c
@@ -777,7 +777,7 @@ jmp_rest:
BPF_EMIT_JMP;
break;
- /* ldxb 4 * ([14] & 0xf) is remaped into 6 insns. */
+ /* ldxb 4 * ([14] & 0xf) is remapped into 6 insns. */
case BPF_LDX | BPF_MSH | BPF_B: {
struct sock_filter tmp = {
.code = BPF_LD | BPF_ABS | BPF_B,
@@ -803,7 +803,7 @@ jmp_rest:
*insn = BPF_MOV64_REG(BPF_REG_A, BPF_REG_TMP);
break;
}
- /* RET_K is remaped into 2 insns. RET_A case doesn't need an
+ /* RET_K is remapped into 2 insns. RET_A case doesn't need an
* extra mov as BPF_REG_0 is already mapped into BPF_REG_A.
*/
case BPF_RET | BPF_A:
@@ -2967,7 +2967,7 @@ BPF_CALL_4(bpf_msg_pop_data, struct sk_m
*
* Then if B is non-zero AND there is no space allocate space and
* compact A, B regions into page. If there is space shift ring to
- * the rigth free'ing the next element in ring to place B, leaving
+ * the right free'ing the next element in ring to place B, leaving
* A untouched except to reduce length.
*/
if (start != offset) {
@@ -8226,7 +8226,7 @@ xdp_func_proto(enum bpf_func_id func_id,
#if IS_MODULE(CONFIG_NF_CONNTRACK) && IS_ENABLED(CONFIG_DEBUG_INFO_BTF_MODULES)
/* The nf_conn___init type is used in the NF_CONNTRACK kfuncs. The
* kfuncs are defined in two different modules, and we want to be able
- * to use them interchangably with the same BTF type ID. Because modules
+ * to use them interchangeably with the same BTF type ID. Because modules
* can't de-duplicate BTF IDs between each other, we need the type to be
* referenced in the vmlinux BTF or the verifier will get confused about
* the different types. So we add this dummy type reference which will
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH bpf-next] net: filter: fix spelling mistakes
2024-01-06 6:55 [PATCH bpf-next] net: filter: fix spelling mistakes Randy Dunlap
@ 2024-01-07 19:45 ` Simon Horman
2024-01-12 2:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2024-01-07 19:45 UTC (permalink / raw)
To: Randy Dunlap
Cc: netdev, patches, Alexei Starovoitov, Daniel Borkmann,
Andrii Nakryiko, bpf, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni
On Fri, Jan 05, 2024 at 10:55:45PM -0800, Randy Dunlap wrote:
> Fix spelling errors as reported by codespell.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Alexei Starovoitov <ast@kernel.org>
> Cc: Daniel Borkmann <daniel@iogearbox.net>
> Cc: Andrii Nakryiko <andrii@kernel.org>
> Cc: bpf@vger.kernel.org
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Eric Dumazet <edumazet@google.com>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Paolo Abeni <pabeni@redhat.com>
> ---
> base-commit: 610a9b8f49fbcf1100716370d3b5f6f884a2835a
>
> net/core/filter.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Thanks Randy,
These changes look good to me.
And I now only see false positives flagged by codespell for filter.c.
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH bpf-next] net: filter: fix spelling mistakes
2024-01-06 6:55 [PATCH bpf-next] net: filter: fix spelling mistakes Randy Dunlap
2024-01-07 19:45 ` Simon Horman
@ 2024-01-12 2:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-01-12 2:40 UTC (permalink / raw)
To: Randy Dunlap
Cc: netdev, patches, ast, daniel, andrii, bpf, davem, edumazet, kuba,
pabeni
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Fri, 5 Jan 2024 22:55:45 -0800 you wrote:
> Fix spelling errors as reported by codespell.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Alexei Starovoitov <ast@kernel.org>
> Cc: Daniel Borkmann <daniel@iogearbox.net>
> Cc: Andrii Nakryiko <andrii@kernel.org>
> Cc: bpf@vger.kernel.org
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Eric Dumazet <edumazet@google.com>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Paolo Abeni <pabeni@redhat.com>
>
> [...]
Here is the summary with links:
- [bpf-next] net: filter: fix spelling mistakes
https://git.kernel.org/bpf/bpf-next/c/8f8382623c75
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:[~2024-01-12 2:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-06 6:55 [PATCH bpf-next] net: filter: fix spelling mistakes Randy Dunlap
2024-01-07 19:45 ` Simon Horman
2024-01-12 2:40 ` 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;
as well as URLs for NNTP newsgroup(s).