2022-08-11 14:28:37

by Jason Wang

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

The double `the' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <[email protected]>
---
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


2022-08-17 06:42:09

by Zhihao Cheng

[permalink] [raw]
Subject: Re: [PATCH] ubi: ubi-media.h: Fix comment typo

?? 2022/8/11 21:57, Jason Wang ะด??:
Reviewed-by: Zhihao Cheng <[email protected]>

> The double `the' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> 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.
>