* [PATCH 0/2] md: fix typos and repeated words in comments
@ 2026-09-04 12:48 Hemanth Selam
2026-09-04 12:48 ` [PATCH 1/2] md: fix typos " Hemanth Selam
2026-09-04 12:48 ` [PATCH 2/2] lib: fix repeated word 'the' in comment Hemanth Selam
0 siblings, 2 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:48 UTC (permalink / raw)
Cc: linux-kernel
This corrects 2 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 (2):
md: fix typos in comments
lib: fix repeated word 'the' in comment
drivers/md/raid1-10.c | 2 +-
drivers/md/raid10.c | 2 +-
lib/raid/raid6/algos.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] md: fix typos in comments
2026-09-04 12:48 [PATCH 0/2] md: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-04 12:48 ` Hemanth Selam
2026-09-04 12:48 ` [PATCH 2/2] lib: fix repeated word 'the' in comment Hemanth Selam
1 sibling, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:48 UTC (permalink / raw)
To: Song Liu, Yu Kuai, Li Nan, Xiao Ni; +Cc: linux-kernel, linux-raid
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>
---
drivers/md/raid1-10.c | 2 +-
drivers/md/raid10.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/md/raid1-10.c b/drivers/md/raid1-10.c
index 3b0e230692ba..852346420848 100644
--- a/drivers/md/raid1-10.c
+++ b/drivers/md/raid1-10.c
@@ -87,7 +87,7 @@ static inline struct resync_pages *get_resync_pages(struct bio *bio)
return bio->bi_private;
}
-/* generally called after bio_reset() for reseting bvec */
+/* generally called after bio_reset() for resetting bvec */
static void md_bio_reset_resync_pages(struct bio *bio, struct resync_pages *rp,
int size)
{
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index 1093c798d9dd..2ac2dadda19a 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -1921,7 +1921,7 @@ static void raid10_status(struct seq_file *seq, struct mddev *mddev)
}
/* check if there are enough drives for
- * every block to appear on atleast one.
+ * every block to appear on at least one.
* Don't consider the device numbered 'ignore'
* as we might be about to remove it.
*/
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 2/2] lib: fix repeated word 'the' in comment
2026-09-04 12:48 [PATCH 0/2] md: fix typos and repeated words in comments Hemanth Selam
2026-09-04 12:48 ` [PATCH 1/2] md: fix typos " Hemanth Selam
@ 2026-09-04 12:48 ` Hemanth Selam
1 sibling, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:48 UTC (permalink / raw)
To: Song Liu, Yu Kuai, Li Nan, Xiao Ni; +Cc: linux-kernel, linux-raid
Drop the second 'the', reported by checkpatch.pl as a possible repeated
word. Only touches a comment, no code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
lib/raid/raid6/algos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/raid/raid6/algos.c b/lib/raid/raid6/algos.c
index 011aa9d0eb3c..182ab9844ba9 100644
--- a/lib/raid/raid6/algos.c
+++ b/lib/raid/raid6/algos.c
@@ -66,7 +66,7 @@ EXPORT_SYMBOL_GPL(raid6_gen_syndrome);
* This is used to update parity in place using the following sequence:
*
* 1) call raid6_xor_syndrome(disk, start, stop, ...) for the existing data.
- * 2) update the the data in @ptrs[@start..@stop].
+ * 2) update the data in @ptrs[@start..@stop].
* 3) call raid6_xor_syndrome(disk, start, stop, ...) for the new data.
*
* Data between @start and @stop that is not changed should be filled
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-04 12:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 12:48 [PATCH 0/2] md: fix typos and repeated words in comments Hemanth Selam
2026-09-04 12:48 ` [PATCH 1/2] md: fix typos " Hemanth Selam
2026-09-04 12:48 ` [PATCH 2/2] lib: fix repeated word 'the' in comment Hemanth Selam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®