elf: fix typos in comments
Subsystems (5)
cover elf: fix typos in comments
This corrects 3 misspellings 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 (3):
elf: fix typo "accomodate" in comment
seccomp: fix typo "overriden" in comment
kernel: fix typo "overriden" in comment
include/uapi/linux/elf.h | 2 +- include/uapi/linux/seccomp.h | 2 +- kernel/fork.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.48.1
PATCH 1/3 elf: fix typo "accomodate" in comment
Correct "accomodate" to "accommodate", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- include/uapi/linux/elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/elf.h +1 -1
@@ -408,7 +408,7 @@ typedef struct elf64_shdr {#define NT_AUXV 6/* * Note to userspace developers: size of NT_SIGINFO note may increase -* in the future to accomodate more fields, don't assume it is fixed! +* in the future to accommodate more fields, don't assume it is fixed! */ #define NN_SIGINFO "CORE"#define NT_SIGINFO 0x53494749
Signature · 1 line
2.48.1
PATCH 2/3 seccomp: fix typo "overriden" in comment
In reply to Hemanth SelamCorrect "overriden" to "overridden", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- include/uapi/linux/seccomp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/seccomp.h +1 -1
@@ -104,7 +104,7 @@ struct seccomp_notif {* SECCOMP_IOCTL_NOTIF_SEND from earlier filters, essentially allowing all * such filtered syscalls to be executed by sending the response * SECCOMP_USER_NOTIF_FLAG_CONTINUE. Note that SECCOMP_RET_TRACE can equally -* be overriden by SECCOMP_USER_NOTIF_FLAG_CONTINUE. +* be overridden by SECCOMP_USER_NOTIF_FLAG_CONTINUE. */ #define SECCOMP_USER_NOTIF_FLAG_CONTINUE (1UL << 0)
Signature · 1 line
2.48.1
PATCH 3/3 kernel: fix typo "overriden" in comment
In reply to Hemanth SelamCorrect "overriden" to "overridden", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- kernel/fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/fork.c +1 -1
@@ -3266,7 +3266,7 @@ int ksys_unshare(unsigned long unshare_flags)if (unshare_flags &CLONE_NEWNS ) unshare_flags |=CLONE_FS ; -/* No unsharing with overriden fs state */ +/* No unsharing with overridden fs state */ VFS_WARN_ON_ONCE (unshare_flags & (CLONE_NEWNS |CLONE_FS ) && current->fs != current->real_fs);
Signature · 1 line
2.48.1
Lorenzo Stoakes (ARM)
reviewerRe: [PATCH 3/3] kernel: fix typo "overriden" in comment
Another orphaned email, please always cc everybody on everything.
I can't review stuff like this esp. not for purposes of typo fixes thanks :)
Quoted 24 lines · Hemanth Selam
Correct "overriden" to "overridden", reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>--- kernel/fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kernel/fork.c +1
-2@@ -3266,7 +3266,7 @@ int ksys_unshare(unsigned long unshare_flags)if (unshare_flags &CLONE_NEWNS ) unshare_flags |=CLONE_FS ; -/* No unsharing with overriden fs state */ +/* No unsharing with overridden fs state */ VFS_WARN_ON_ONCE (unshare_flags & (CLONE_NEWNS |CLONE_FS ) && current->fs != current->real_fs); --
Quoted 2 lines
2.48.1
--
Cheers, Lorenzo