Re: [PATCH 1/2] md: fix typos in comments

From: yu kuai

Date: Mon Sep 07 2026 - 02:40:55 EST


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@xxxxxxxxx>
> ---
> 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