Linux RAID subsystem development
 help / color / mirror / Atom feed
* [PATCH 1/2] md: fix typos in comments
       [not found] <20260904124824.9585-1-hemanth.selam@gmail.com>
@ 2026-09-04 12:48 ` Hemanth Selam
  2026-09-07  6:32   ` yu kuai
  2026-09-04 12:48 ` [PATCH 2/2] lib: fix repeated word 'the' in comment Hemanth Selam
  1 sibling, 1 reply; 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 related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] lib: fix repeated word 'the' in comment
       [not found] <20260904124824.9585-1-hemanth.selam@gmail.com>
  2026-09-04 12:48 ` [PATCH 1/2] md: fix typos in comments 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 related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] md: fix typos in comments
  2026-09-04 12:48 ` [PATCH 1/2] md: fix typos in comments Hemanth Selam
@ 2026-09-07  6:32   ` yu kuai
  0 siblings, 0 replies; 3+ messages in thread
From: yu kuai @ 2026-09-07  6:32 UTC (permalink / raw)
  To: Hemanth Selam, Song Liu, Li Nan, Xiao Ni, yu kuai
  Cc: linux-kernel, linux-raid

Hi,

在 2026/9/4 20:48, Hemanth Selam 写道:
> 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(-)

I'll not accept typo fixed like this, because it will introduce conflicts for
stable backport. However, it's still welcome to fix typos together with other
cleanup or bugfix.

>
> 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.
>    */

-- 
Thanks,
Kuai

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-07  6:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260904124824.9585-1-hemanth.selam@gmail.com>
2026-09-04 12:48 ` [PATCH 1/2] md: fix typos in comments Hemanth Selam
2026-09-07  6:32   ` yu kuai
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