[PATCH] ubi: ubi-media.h: Fix comment typo

Jason Wang posted 1 patch 3 years, 8 months ago
drivers/mtd/ubi/ubi-media.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ubi: ubi-media.h: Fix comment typo
Posted by Jason Wang 3 years, 8 months ago
The double `the' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 drivers/mtd/ubi/ubi-media.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/ubi/ubi-media.h b/drivers/mtd/ubi/ubi-media.h
index 386db0598e95..2c9cd3b6434f 100644
--- a/drivers/mtd/ubi/ubi-media.h
+++ b/drivers/mtd/ubi/ubi-media.h
@@ -131,7 +131,7 @@ enum {
  * is changed radically. This field is duplicated in the volume identifier
  * header.
  *
- * The @vid_hdr_offset and @data_offset fields contain the offset of the the
+ * The @vid_hdr_offset and @data_offset fields contain the offset of the
  * volume identifier header and user data, relative to the beginning of the
  * physical eraseblock. These values have to be the same for all physical
  * eraseblocks.
-- 
2.36.1
Re: [PATCH] ubi: ubi-media.h: Fix comment typo
Posted by Zhihao Cheng 3 years, 7 months ago
在 2022/8/11 21:57, Jason Wang 写道:
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>

> The double `the' is duplicated in the comment, remove one.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
>   drivers/mtd/ubi/ubi-media.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/ubi/ubi-media.h b/drivers/mtd/ubi/ubi-media.h
> index 386db0598e95..2c9cd3b6434f 100644
> --- a/drivers/mtd/ubi/ubi-media.h
> +++ b/drivers/mtd/ubi/ubi-media.h
> @@ -131,7 +131,7 @@ enum {
>    * is changed radically. This field is duplicated in the volume identifier
>    * header.
>    *
> - * The @vid_hdr_offset and @data_offset fields contain the offset of the the
> + * The @vid_hdr_offset and @data_offset fields contain the offset of the
>    * volume identifier header and user data, relative to the beginning of the
>    * physical eraseblock. These values have to be the same for all physical
>    * eraseblocks.
>