Re: [PATCH] bcache: fix repeated words in comments

From: Coly Li
Date: Sun Sep 18 2022 - 07:14:45 EST




> 2022年9月18日 17:45,Jilin Yuan <yuanjilin@xxxxxxxxxx> 写道:
>
> Delete the redundant word 'by'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@xxxxxxxxxx>
> ---
> drivers/md/bcache/bset.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/md/bcache/bset.c b/drivers/md/bcache/bset.c
> index 94d38e8a59b3..6a24a327dce2 100644
> --- a/drivers/md/bcache/bset.c
> +++ b/drivers/md/bcache/bset.c
> @@ -1264,7 +1264,7 @@ static void __btree_sort(struct btree_keys *b, struct btree_iter *iter,
> *
> * Don't worry event 'out' is allocated from mempool, it can
> * still be swapped here. Because state->pool is a page mempool
> - * creaated by by mempool_init_page_pool(), which allocates
> + * creaated by mempool_init_page_pool(), which allocates
> * pages by alloc_pages() indeed.
> */
>
> --
> 2.36.1
>

Oops, the applying failed because Jules already posted a similar fix, and his version is better because the typo “creaated” also fixed to “created”.

So this patch won’t go into my for-next. Just FYI.

Thanks.

Coly Li