Skip to content

selftests: fix typos and repeated words in comments

Hemanth Selam bpf linux-arm-kernel linux-kselftest linuxppc-dev lkml sparclinux 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ARM: net: fix typo "arithmatic" in commentarch/arm/net/bpf_jit_32.c+1 -10 replies
2/7bpf: fix typos in commentsinclude/linux/filter.h kernel/bpf/reuseport_array.c kernel/bpf/stream.c+4 -40 replies
3/7powerpc: net: fix typo "upto" in commentsarch/powerpc/net/bpf_jit_comp32.c arch/powerpc/net/bpf_jit_comp64.c+3 -30 replies
4/7selftests: bpf: fix typos in commentstools/testing/selftests/bpf/prog_tests/lwt_seg6local.c tools/testing/selftests/bpf/prog_tests/task_local_data.h tools/testing/selftests/bpf/progs/freplace_unreliable_prog.c +1 more+4 -40 replies
5/7sparc: net: fix typo "evalute" in commentarch/sparc/net/bpf_jit_asm_32.S+1 -10 replies
6/7tools/lib: fix typos in commentstools/lib/bpf/btf.c tools/lib/bpf/usdt.c+3 -30 replies
7/7selftests: bpf: fix repeated words in commentstools/testing/selftests/bpf/libarena/src/asan.bpf.c tools/testing/selftests/bpf/progs/iters.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] selftests: fix typos and repeated words in comments

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(-)
Signature · 1 line
2.48.1