[PATCH] block: fix repeated words in comments

Jilin Yuan posted 1 patch 3 years, 7 months ago
block/bio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] block: fix repeated words in comments
Posted by Jilin Yuan 3 years, 7 months ago
 Delete the redundant word 'can'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 block/bio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/bio.c b/block/bio.c
index f92d0223247b..c883f8963c14 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -567,7 +567,7 @@ EXPORT_SYMBOL(bio_alloc_bioset);
  * be reused by calling bio_uninit() before calling bio_init() again.
  *
  * Note that unlike bio_alloc() or bio_alloc_bioset() allocations from this
- * function are not backed by a mempool can can fail.  Do not use this function
+ * function are not backed by a mempool can fail.  Do not use this function
  * for allocations in the file system I/O path.
  *
  * Returns: Pointer to new bio on success, NULL on failure.
-- 
2.36.1
Re: [PATCH] block: fix repeated words in comments
Posted by Juergen Gross 3 years, 7 months ago
On 16.08.22 14:09, Jilin Yuan wrote:
>   Delete the redundant word 'can'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
>   block/bio.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/block/bio.c b/block/bio.c
> index f92d0223247b..c883f8963c14 100644
> --- a/block/bio.c
> +++ b/block/bio.c
> @@ -567,7 +567,7 @@ EXPORT_SYMBOL(bio_alloc_bioset);
>    * be reused by calling bio_uninit() before calling bio_init() again.
>    *
>    * Note that unlike bio_alloc() or bio_alloc_bioset() allocations from this
> - * function are not backed by a mempool can can fail.  Do not use this function
> + * function are not backed by a mempool can fail.  Do not use this function

This sentence is still not correct. I guess the first "can" should be replaced
with "and".


Juergen