* [PATCH 0/7] selftests: fix typos and repeated words in comments
@ 2026-09-04 10:57 Hemanth Selam
2026-09-04 10:57 ` [PATCH 1/7] ARM: net: fix typo "arithmatic" in comment Hemanth Selam
` (6 more replies)
0 siblings, 7 replies; 10+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:57 UTC (permalink / raw)
Cc: linux-kernel, bpf
This corrects 7 misspellings and repeated words in comments. Each is a
separate patch so that any one of them can be dropped without touching
the rest.
Nothing outside comments changes. Every touched C file was checked by
dropping its comments, replacing each string literal with a placeholder
and collapsing whitespace; what remained was identical before and after,
so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in
scripts/spelling.txt. The scanning, the edits and the changelogs were
produced with Cursor running the claude-opus-5 model, from a request to
find and fix spelling mistakes across the tree, and every correction was
then re-checked by the comparison described above. Words that name an
identifier were left alone deliberately, even when they read as typos,
because correcting the prose would make the comment disagree with the
code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which
is clean. Nothing else was built, so any patch touching code that
x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (7):
ARM: net: fix typo "arithmatic" in comment
bpf: fix typos in comments
powerpc: net: fix typo "upto" in comments
selftests: bpf: fix typos in comments
sparc: net: fix typo "evalute" in comment
tools/lib: fix typos in comments
selftests: bpf: fix repeated words in comments
arch/arm/net/bpf_jit_32.c | 2 +-
arch/powerpc/net/bpf_jit_comp32.c | 2 +-
arch/powerpc/net/bpf_jit_comp64.c | 4 ++--
arch/sparc/net/bpf_jit_asm_32.S | 2 +-
include/linux/filter.h | 4 ++--
kernel/bpf/reuseport_array.c | 2 +-
kernel/bpf/stream.c | 2 +-
tools/lib/bpf/btf.c | 4 ++--
tools/lib/bpf/usdt.c | 2 +-
tools/testing/selftests/bpf/libarena/src/asan.bpf.c | 2 +-
tools/testing/selftests/bpf/prog_tests/lwt_seg6local.c | 2 +-
tools/testing/selftests/bpf/prog_tests/task_local_data.h | 2 +-
tools/testing/selftests/bpf/progs/freplace_unreliable_prog.c | 2 +-
tools/testing/selftests/bpf/progs/iters.c | 2 +-
tools/testing/selftests/bpf/progs/verifier_var_off.c | 2 +-
15 files changed, 18 insertions(+), 18 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/7] ARM: net: fix typo "arithmatic" in comment
2026-09-04 10:57 [PATCH 0/7] selftests: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-04 10:57 ` Hemanth Selam
2026-09-04 10:57 ` [PATCH 2/7] bpf: fix typos in comments Hemanth Selam
` (5 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:57 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Eduard Zingerman, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
Song Liu, Yonghong Song, Jiri Olsa, Emil Tsalapatis,
Ihor Solodrai, Russell King, Puranjay Mohan
Cc: linux-kernel, bpf, linux-arm-kernel
Correct "arithmatic" to "Arithmetic", reported by scripts/checkpatch.pl
using the misspelling list in scripts/spelling.txt. Only touches comments,
no code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
arch/arm/net/bpf_jit_32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/net/bpf_jit_32.c b/arch/arm/net/bpf_jit_32.c
index 9ede81afbc50..b1c21c014c9c 100644
--- a/arch/arm/net/bpf_jit_32.c
+++ b/arch/arm/net/bpf_jit_32.c
@@ -1346,7 +1346,7 @@ static inline void emit_ldsx_r(const s8 dst[], const s8 src,
arm_bpf_put_reg64(dst, rd, ctx);
}
-/* Arithmatic Operation */
+/* Arithmetic Operation */
static inline void emit_ar_r(const u8 rd, const u8 rt, const u8 rm,
const u8 rn, struct jit_ctx *ctx, u8 op,
bool is_jmp64) {
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/7] bpf: fix typos in comments
2026-09-04 10:57 [PATCH 0/7] selftests: fix typos and repeated words in comments Hemanth Selam
2026-09-04 10:57 ` [PATCH 1/7] ARM: net: fix typo "arithmatic" in comment Hemanth Selam
@ 2026-09-04 10:57 ` Hemanth Selam
2026-09-04 10:57 ` [PATCH 3/7] powerpc: net: fix typo "upto" " Hemanth Selam
` (4 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:57 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Eduard Zingerman, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
Song Liu, Yonghong Song, Jiri Olsa, Emil Tsalapatis,
Ihor Solodrai, John Fastabend
Cc: linux-kernel, bpf
Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
include/linux/filter.h | 4 ++--
kernel/bpf/reuseport_array.c | 2 +-
kernel/bpf/stream.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/linux/filter.h b/include/linux/filter.h
index 4a9bc6a848f2..0a067c2e923d 100644
--- a/include/linux/filter.h
+++ b/include/linux/filter.h
@@ -147,7 +147,7 @@ struct ctl_table_header;
#define BPF_ALU32_IMM(OP, DST, IMM) \
BPF_ALU32_IMM_OFF(OP, DST, IMM, 0)
-/* Endianess conversion, cpu_to_{l,b}e(), {l,b}e_to_cpu() */
+/* Endianness conversion, cpu_to_{l,b}e(), {l,b}e_to_cpu() */
#define BPF_ENDIAN(TYPE, DST, LEN) \
((struct bpf_insn) { \
@@ -1029,7 +1029,7 @@ static inline u8 *bpf_skb_cb(const struct sk_buff *skb)
*
* In some socket filter cases, the cb unfortunately needs to be
* saved/restored so that protocol specific skb->cb[] data won't
- * be lost. In any case, due to unpriviledged eBPF programs
+ * be lost. In any case, due to unprivileged eBPF programs
* attached to sockets, we need to clear the bpf_skb_cb() area
* to not leak previous contents to user space.
*/
diff --git a/kernel/bpf/reuseport_array.c b/kernel/bpf/reuseport_array.c
index 49b8e5a0c6b4..4de08abfd94e 100644
--- a/kernel/bpf/reuseport_array.c
+++ b/kernel/bpf/reuseport_array.c
@@ -207,7 +207,7 @@ reuseport_array_update_check(const struct reuseport_array *array,
return -ENOTSUPP;
/*
- * sk must be hashed (i.e. listening in the TCP case or binded
+ * sk must be hashed (i.e. listening in the TCP case or bound
* in the UDP case) and
* it must also be a SO_REUSEPORT sk (i.e. reuse cannot be NULL).
*
diff --git a/kernel/bpf/stream.c b/kernel/bpf/stream.c
index be9ce98e9469..54f5be1289d2 100644
--- a/kernel/bpf/stream.c
+++ b/kernel/bpf/stream.c
@@ -24,7 +24,7 @@ static struct bpf_stream_elem *bpf_stream_elem_alloc(int len)
/*
* Length denotes the amount of data to be written as part of stream element,
* thus includes '\0' byte. We're capped by how much bpf_bprintf_buffers can
- * accomodate, therefore deny allocations that won't fit into them.
+ * accommodate, therefore deny allocations that won't fit into them.
*/
if (len < 0 || len > max_len)
return NULL;
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 3/7] powerpc: net: fix typo "upto" in comments
2026-09-04 10:57 [PATCH 0/7] selftests: fix typos and repeated words in comments Hemanth Selam
2026-09-04 10:57 ` [PATCH 1/7] ARM: net: fix typo "arithmatic" in comment Hemanth Selam
2026-09-04 10:57 ` [PATCH 2/7] bpf: fix typos in comments Hemanth Selam
@ 2026-09-04 10:57 ` Hemanth Selam
2026-09-04 10:57 ` [PATCH 4/7] selftests: bpf: fix typos " Hemanth Selam
` (3 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:57 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Eduard Zingerman, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
Song Liu, Yonghong Song, Jiri Olsa, Emil Tsalapatis,
Ihor Solodrai, Hari Bathini, Christophe Leroy (CS GROUP),
Naveen N Rao, Madhavan Srinivasan, Michael Ellerman,
Nicholas Piggin
Cc: linux-kernel, bpf, linuxppc-dev
Correct "upto" to "up to", reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
arch/powerpc/net/bpf_jit_comp32.c | 2 +-
arch/powerpc/net/bpf_jit_comp64.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/net/bpf_jit_comp32.c b/arch/powerpc/net/bpf_jit_comp32.c
index bfdc50740da8..cf8c1b49da25 100644
--- a/arch/powerpc/net/bpf_jit_comp32.c
+++ b/arch/powerpc/net/bpf_jit_comp32.c
@@ -23,7 +23,7 @@
*
* [ prev sp ] <-------------
* [ nv gpr save area ] 16 * 4 |
- * fp (r31) --> [ ebpf stack space ] upto 512 |
+ * fp (r31) --> [ ebpf stack space ] up to 512 |
* [ frame header ] 16 |
* sp (r1) ---> [ stack pointer ] --------------
*/
diff --git a/arch/powerpc/net/bpf_jit_comp64.c b/arch/powerpc/net/bpf_jit_comp64.c
index fc9db691e820..8a1a00026c69 100644
--- a/arch/powerpc/net/bpf_jit_comp64.c
+++ b/arch/powerpc/net/bpf_jit_comp64.c
@@ -23,7 +23,7 @@
* Stack layout with frame:
* Layout when setting up our own stack frame.
* Note: r1 at bottom, component offsets positive wrt r1.
- * Ensure the top half (upto local_tmp_var) stays consistent
+ * Ensure the top half (up to local_tmp_var) stays consistent
* with our redzone usage.
*
* tail_call_info - stores tailcall count value in main program's
@@ -35,7 +35,7 @@
* [ nv gpr save area ] (6 * 8) |
* [ addl. nv gpr save area] (12 * 8) | <--- exception boundary/callback program
* [ local_tmp_var ] 24 |
- * fp (r31) --> [ ebpf stack space ] upto 512 |
+ * fp (r31) --> [ ebpf stack space ] up to 512 |
* [ frame header ] 32/112 |
* sp (r1) ---> [ stack pointer ] --------------
*
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 4/7] selftests: bpf: fix typos in comments
2026-09-04 10:57 [PATCH 0/7] selftests: fix typos and repeated words in comments Hemanth Selam
` (2 preceding siblings ...)
2026-09-04 10:57 ` [PATCH 3/7] powerpc: net: fix typo "upto" " Hemanth Selam
@ 2026-09-04 10:57 ` Hemanth Selam
2026-09-04 11:49 ` bot+bpf-ci
2026-09-04 10:57 ` [PATCH 5/7] sparc: net: fix typo "evalute" in comment Hemanth Selam
` (2 subsequent siblings)
6 siblings, 1 reply; 10+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:57 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Eduard Zingerman, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
Song Liu, Yonghong Song, Jiri Olsa, Emil Tsalapatis,
Ihor Solodrai, Shuah Khan
Cc: linux-kernel, bpf, linux-kselftest
Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
tools/testing/selftests/bpf/prog_tests/lwt_seg6local.c | 2 +-
tools/testing/selftests/bpf/prog_tests/task_local_data.h | 2 +-
tools/testing/selftests/bpf/progs/freplace_unreliable_prog.c | 2 +-
tools/testing/selftests/bpf/progs/verifier_var_off.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/testing/selftests/bpf/prog_tests/lwt_seg6local.c b/tools/testing/selftests/bpf/prog_tests/lwt_seg6local.c
index 1b25d5c5f8fb..8b96fb861368 100644
--- a/tools/testing/selftests/bpf/prog_tests/lwt_seg6local.c
+++ b/tools/testing/selftests/bpf/prog_tests/lwt_seg6local.c
@@ -13,7 +13,7 @@
* IPv6 header with a Segment Routing Header, with segments :
* fd00::1 -> fd00::2 -> fd00::3 -> fd00::4
*
- * 3 fd00::/16 IPv6 addresses are binded to seg6local End.BPF actions :
+ * 3 fd00::/16 IPv6 addresses are bound to seg6local End.BPF actions :
* - fd00::1 : add a TLV, change the flags and apply a End.X action to fc42::1
* - fd00::2 : remove the TLV, change the flags, add a tag
* - fd00::3 : apply an End.T action to fd00::4, through routing table 117
diff --git a/tools/testing/selftests/bpf/prog_tests/task_local_data.h b/tools/testing/selftests/bpf/prog_tests/task_local_data.h
index 8ae4fb2027f7..9f2971fc7cd5 100644
--- a/tools/testing/selftests/bpf/prog_tests/task_local_data.h
+++ b/tools/testing/selftests/bpf/prog_tests/task_local_data.h
@@ -243,7 +243,7 @@ static tld_key_t __tld_create_key(const char *name, size_t size, bool dyn_data)
}
/*
- * TLD_DEFINE_KEY() is given memory upto a page while at most
+ * TLD_DEFINE_KEY() is given memory up to a page while at most
* TLD_DYN_DATA_SIZE is allocated for tld_create_key()
*/
if (dyn_data) {
diff --git a/tools/testing/selftests/bpf/progs/freplace_unreliable_prog.c b/tools/testing/selftests/bpf/progs/freplace_unreliable_prog.c
index 624078abf3de..d7e30ee576c9 100644
--- a/tools/testing/selftests/bpf/progs/freplace_unreliable_prog.c
+++ b/tools/testing/selftests/bpf/progs/freplace_unreliable_prog.c
@@ -7,7 +7,7 @@
SEC("freplace/btf_unreliable_kprobe")
/* context type is what BPF verifier expects for kprobe context, but target
- * program has `stuct whatever *ctx` argument, so freplace operation will be
+ * program has `struct whatever *ctx` argument, so freplace operation will be
* rejected with the following message:
*
* arg0 replace_btf_unreliable_kprobe(struct pt_regs *) doesn't match btf_unreliable_kprobe(struct whatever *)
diff --git a/tools/testing/selftests/bpf/progs/verifier_var_off.c b/tools/testing/selftests/bpf/progs/verifier_var_off.c
index a63e33675091..227dea0da3a0 100644
--- a/tools/testing/selftests/bpf/progs/verifier_var_off.c
+++ b/tools/testing/selftests/bpf/progs/verifier_var_off.c
@@ -225,7 +225,7 @@ __naked void stack_write_priv_vs_unpriv(void)
}
/* Similar to the previous test, but this time also perform a read from the
- * address written to with a variable offet. The read is allowed, showing that,
+ * address written to with a variable offset. The read is allowed, showing that,
* after a variable-offset write, a privileged program can read the slots that
* were in the range of that write (even if the verifier doesn't actually know if
* the slot being read was really written to or not.
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 5/7] sparc: net: fix typo "evalute" in comment
2026-09-04 10:57 [PATCH 0/7] selftests: fix typos and repeated words in comments Hemanth Selam
` (3 preceding siblings ...)
2026-09-04 10:57 ` [PATCH 4/7] selftests: bpf: fix typos " Hemanth Selam
@ 2026-09-04 10:57 ` Hemanth Selam
2026-09-04 10:57 ` [PATCH 6/7] tools/lib: fix typos in comments Hemanth Selam
2026-09-04 10:57 ` [PATCH 7/7] selftests: bpf: fix repeated words " Hemanth Selam
6 siblings, 0 replies; 10+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:57 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Eduard Zingerman, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
Song Liu, Yonghong Song, Jiri Olsa, Emil Tsalapatis,
Ihor Solodrai, David S. Miller, Andreas Larsson
Cc: linux-kernel, bpf, sparclinux
Correct "evalute" to "evaluate", reported by scripts/checkpatch.pl using
the misspelling list in scripts/spelling.txt. Only touches comments, no
code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
arch/sparc/net/bpf_jit_asm_32.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sparc/net/bpf_jit_asm_32.S b/arch/sparc/net/bpf_jit_asm_32.S
index a2e28e0464a3..81430f065ac9 100644
--- a/arch/sparc/net/bpf_jit_asm_32.S
+++ b/arch/sparc/net/bpf_jit_asm_32.S
@@ -195,7 +195,7 @@ bpf_error:
/* Make the JIT program return zero. The JIT epilogue
* stores away the original %o7 into r_saved_O7. The
* normal leaf function return is to use "retl" which
- * would evalute to "jmpl %o7 + 8, %g0" but we want to
+ * would evaluate to "jmpl %o7 + 8, %g0" but we want to
* use the saved value thus the sequence you see here.
*/
jmpl r_saved_O7 + 8, %g0
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 6/7] tools/lib: fix typos in comments
2026-09-04 10:57 [PATCH 0/7] selftests: fix typos and repeated words in comments Hemanth Selam
` (4 preceding siblings ...)
2026-09-04 10:57 ` [PATCH 5/7] sparc: net: fix typo "evalute" in comment Hemanth Selam
@ 2026-09-04 10:57 ` Hemanth Selam
2026-09-04 11:49 ` bot+bpf-ci
2026-09-04 10:57 ` [PATCH 7/7] selftests: bpf: fix repeated words " Hemanth Selam
6 siblings, 1 reply; 10+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:57 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Eduard Zingerman, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
Song Liu, Yonghong Song, Jiri Olsa, Emil Tsalapatis,
Ihor Solodrai
Cc: linux-kernel, bpf
Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
tools/lib/bpf/btf.c | 4 ++--
tools/lib/bpf/usdt.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/lib/bpf/btf.c b/tools/lib/bpf/btf.c
index 8417de92d028..c1745bee37c0 100644
--- a/tools/lib/bpf/btf.c
+++ b/tools/lib/bpf/btf.c
@@ -3843,7 +3843,7 @@ static int btf_dedup_remap_types(struct btf_dedup *d);
* types, in general, can form graphs containing cycles, not just DAGs.
*
* While algorithm does deduplication, it also merges and resolves type
- * information (unless disabled throught `struct btf_opts`), whenever possible.
+ * information (unless disabled through `struct btf_opts`), whenever possible.
* E.g., in the example above with two compilation units having partial type
* information for structs `A` and `B`, the output of algorithm will emit
* a single copy of each BTF type that describes structs `A`, `B`, and `S`
@@ -5644,7 +5644,7 @@ static int btf_dedup_resolve_fwds(struct btf_dedup *d)
*
* After we established for each type its corresponding canonical representative
* type, we now can eliminate types that are not canonical and leave only
- * canonical ones layed out sequentially in memory by copying them over
+ * canonical ones laid out sequentially in memory by copying them over
* duplicates. During compaction btf_dedup->hypot_map array is reused to store
* a map from original type ID to a new compacted type ID, which will be used
* during next phase to "fix up" type IDs, referenced from struct/union and
diff --git a/tools/lib/bpf/usdt.c b/tools/lib/bpf/usdt.c
index 2e56e3ab5b6c..c0933580930b 100644
--- a/tools/lib/bpf/usdt.c
+++ b/tools/lib/bpf/usdt.c
@@ -144,7 +144,7 @@
* about. This state has to be maintained per-BPF object and coordinate
* between different USDT attachments within the same BPF object.
*
- * Spec ID is the key in spec BPF map, value is the actual USDT spec layed out
+ * Spec ID is the key in spec BPF map, value is the actual USDT spec laid out
* as struct usdt_spec. Each invocation of BPF program at runtime needs to
* know its associated spec ID. It gets it either through BPF cookie, which
* libbpf sets to spec ID during attach time, or, if kernel is too old to
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 7/7] selftests: bpf: fix repeated words in comments
2026-09-04 10:57 [PATCH 0/7] selftests: fix typos and repeated words in comments Hemanth Selam
` (5 preceding siblings ...)
2026-09-04 10:57 ` [PATCH 6/7] tools/lib: fix typos in comments Hemanth Selam
@ 2026-09-04 10:57 ` Hemanth Selam
6 siblings, 0 replies; 10+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:57 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Eduard Zingerman, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
Song Liu, Yonghong Song, Jiri Olsa, Emil Tsalapatis,
Ihor Solodrai, Shuah Khan
Cc: linux-kernel, bpf, linux-kselftest
Drop words accidentally written twice, reported by checkpatch.pl as a
possible repeated word. Only touches comments, no code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
tools/testing/selftests/bpf/libarena/src/asan.bpf.c | 2 +-
tools/testing/selftests/bpf/progs/iters.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/bpf/libarena/src/asan.bpf.c b/tools/testing/selftests/bpf/libarena/src/asan.bpf.c
index 5135d5c72a46..158d95c2520b 100644
--- a/tools/testing/selftests/bpf/libarena/src/asan.bpf.c
+++ b/tools/testing/selftests/bpf/libarena/src/asan.bpf.c
@@ -221,7 +221,7 @@ static __always_inline bool check_asan_args(s8 __arena *addr, size_t size,
goto confirmed_valid;
/*
- * Wraparound is possible for values close to the the edge of the
+ * Wraparound is possible for values close to the edge of the
* 4GiB boundary of the arena (last valid address is 1UL << 32 - 1).
*
*
diff --git a/tools/testing/selftests/bpf/progs/iters.c b/tools/testing/selftests/bpf/progs/iters.c
index 62d7df9e80be..340670e89ba9 100644
--- a/tools/testing/selftests/bpf/progs/iters.c
+++ b/tools/testing/selftests/bpf/progs/iters.c
@@ -1511,7 +1511,7 @@ __naked int checkpoint_states_deletion(void)
* would get equal to one of the explored states and thus loop
* exploration would be finished (at-least for a specific path).
* Verifier evicts explored states with high miss to hit ratio
- * to to avoid comparing current state with too many explored
+ * to avoid comparing current state with too many explored
* states per instruction.
* This test is designed to "stress test" eviction policy defined using formula:
*
--
2.48.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 4/7] selftests: bpf: fix typos in comments
2026-09-04 10:57 ` [PATCH 4/7] selftests: bpf: fix typos " Hemanth Selam
@ 2026-09-04 11:49 ` bot+bpf-ci
0 siblings, 0 replies; 10+ messages in thread
From: bot+bpf-ci @ 2026-09-04 11:49 UTC (permalink / raw)
To: hemanth.selam, ast, daniel, andrii, eddyz87, memxor, martin.lau,
song, yonghong.song, jolsa, emil, ihor.solodrai, shuah
Cc: linux-kernel, bpf, linux-kselftest, ast, andrii, daniel,
martin.lau, eddyz87, yonghong.song, mason, ihor.solodrai
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
> selftests: bpf: fix typos in comments
>
> Fix typos in comments, reported by scripts/checkpatch.pl using the
> misspelling list in scripts/spelling.txt. Only touches comments, no code
> changes.
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
This isn't a bug, but would 'selftests/bpf: fix typos in comments' match
the prefix used by the rest of the commits in this directory?
---
AI reviewed your patch. Please fix the bug or email reply why it's not a bug.
See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md
CI run summary: https://github.com/kernel-patches/bpf/actions/runs/33866776554
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 6/7] tools/lib: fix typos in comments
2026-09-04 10:57 ` [PATCH 6/7] tools/lib: fix typos in comments Hemanth Selam
@ 2026-09-04 11:49 ` bot+bpf-ci
0 siblings, 0 replies; 10+ messages in thread
From: bot+bpf-ci @ 2026-09-04 11:49 UTC (permalink / raw)
To: hemanth.selam, ast, daniel, andrii, eddyz87, memxor, martin.lau,
song, yonghong.song, jolsa, emil, ihor.solodrai
Cc: linux-kernel, bpf, ast, andrii, daniel, martin.lau, eddyz87,
yonghong.song, mason, ihor.solodrai
[-- Attachment #1: Type: text/plain, Size: 2599 bytes --]
> diff --git a/tools/lib/bpf/btf.c b/tools/lib/bpf/btf.c
> index 8417de92d0282..c1745bee37c0a 100644
> --- a/tools/lib/bpf/btf.c
> +++ b/tools/lib/bpf/btf.c
> @@ -3843,7 +3843,7 @@ static int btf_dedup_remap_types(struct btf_dedup *d);
> * types, in general, can form graphs containing cycles, not just DAGs.
> *
> * While algorithm does deduplication, it also merges and resolves type
> - * information (unless disabled throught `struct btf_opts`), whenever possible.
> + * information (unless disabled through `struct btf_opts`), whenever possible.
> * E.g., in the example above with two compilation units having partial type
> * information for structs `A` and `B`, the output of algorithm will emit
> * a single copy of each BTF type that describes structs `A`, `B`, and `S`
> @@ -5644,7 +5644,7 @@ static int btf_dedup_resolve_fwds(struct btf_dedup *d)
> *
> * After we established for each type its corresponding canonical representative
> * type, we now can eliminate types that are not canonical and leave only
> - * canonical ones layed out sequentially in memory by copying them over
> + * canonical ones laid out sequentially in memory by copying them over
> * duplicates. During compaction btf_dedup->hypot_map array is reused to store
> * a map from original type ID to a new compacted type ID, which will be used
> * during next phase to "fix up" type IDs, referenced from struct/union and
> diff --git a/tools/lib/bpf/usdt.c b/tools/lib/bpf/usdt.c
> index 2e56e3ab5b6cc..c0933580930bc 100644
> --- a/tools/lib/bpf/usdt.c
> +++ b/tools/lib/bpf/usdt.c
> @@ -144,7 +144,7 @@
> * about. This state has to be maintained per-BPF object and coordinate
> * between different USDT attachments within the same BPF object.
> *
> - * Spec ID is the key in spec BPF map, value is the actual USDT spec layed out
> + * Spec ID is the key in spec BPF map, value is the actual USDT spec laid out
> * as struct usdt_spec. Each invocation of BPF program at runtime needs to
> * know its associated spec ID. It gets it either through BPF cookie, which
> * libbpf sets to spec ID during attach time, or, if kernel is too old to
This isn't a bug, but both files here are under tools/lib/bpf/, where recent
commits use the 'libbpf: Fix ...' subject form - would 'libbpf: Fix typos in
comments' fit the tree's convention better?
---
AI reviewed your patch. Please fix the bug or email reply why it's not a bug.
See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md
CI run summary: https://github.com/kernel-patches/bpf/actions/runs/33866776554
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2026-09-04 11:49 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 10:57 [PATCH 0/7] selftests: fix typos and repeated words in comments Hemanth Selam
2026-09-04 10:57 ` [PATCH 1/7] ARM: net: fix typo "arithmatic" in comment Hemanth Selam
2026-09-04 10:57 ` [PATCH 2/7] bpf: fix typos in comments Hemanth Selam
2026-09-04 10:57 ` [PATCH 3/7] powerpc: net: fix typo "upto" " Hemanth Selam
2026-09-04 10:57 ` [PATCH 4/7] selftests: bpf: fix typos " Hemanth Selam
2026-09-04 11:49 ` bot+bpf-ci
2026-09-04 10:57 ` [PATCH 5/7] sparc: net: fix typo "evalute" in comment Hemanth Selam
2026-09-04 10:57 ` [PATCH 6/7] tools/lib: fix typos in comments Hemanth Selam
2026-09-04 11:49 ` bot+bpf-ci
2026-09-04 10:57 ` [PATCH 7/7] selftests: bpf: fix repeated words " Hemanth Selam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox