[PATCH] ubi: remove unexpected word "the"

Jiang Jian posted 1 patch 3 years, 10 months ago
drivers/mtd/ubi/ubi.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] ubi: remove unexpected word "the"
Posted by Jiang Jian 3 years, 10 months ago
there is an unexpected word "the" in the comments that need to be removed

* @dev: device object to make use of the the Linux device model
* @dev: UBI device object to use the the Linux device model

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
 drivers/mtd/ubi/ubi.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index 078112e23dfd..d9039e7f6703 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -281,7 +281,7 @@ struct ubi_eba_leb_desc {
 
 /**
  * struct ubi_volume - UBI volume description data structure.
- * @dev: device object to make use of the the Linux device model
+ * @dev: device object to make use of the Linux device model
  * @cdev: character device object to create character device
  * @ubi: reference to the UBI device description object
  * @vol_id: volume ID
@@ -439,7 +439,7 @@ struct ubi_debug_info {
 
 /**
  * struct ubi_device - UBI device description structure
- * @dev: UBI device object to use the the Linux device model
+ * @dev: UBI device object to use the Linux device model
  * @cdev: character device object to create character device
  * @ubi_num: UBI device number
  * @ubi_name: UBI device name
-- 
2.17.1
Re: [PATCH] ubi: remove unexpected word "the"
Posted by Miquel Raynal 3 years, 10 months ago
Hi Jiang,

jiangjian@cdjrlc.com wrote on Tue, 21 Jun 2022 17:36:56 +0800:

> there is an unexpected word "the" in the comments that need to be removed
> 
> * @dev: device object to make use of the the Linux device model
> * @dev: UBI device object to use the the Linux device model
> 
> Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
> ---
>  drivers/mtd/ubi/ubi.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
> index 078112e23dfd..d9039e7f6703 100644
> --- a/drivers/mtd/ubi/ubi.h
> +++ b/drivers/mtd/ubi/ubi.h
> @@ -281,7 +281,7 @@ struct ubi_eba_leb_desc {
>  
>  /**
>   * struct ubi_volume - UBI volume description data structure.
> - * @dev: device object to make use of the the Linux device model
> + * @dev: device object to make use of the Linux device model
>   * @cdev: character device object to create character device
>   * @ubi: reference to the UBI device description object
>   * @vol_id: volume ID
> @@ -439,7 +439,7 @@ struct ubi_debug_info {
>  
>  /**
>   * struct ubi_device - UBI device description structure
> - * @dev: UBI device object to use the the Linux device model
> + * @dev: UBI device object to use the Linux device model

For this kind of trivial change I suggest that you gather changes in a
given subsystem and group them in a very limited number of patches sent
as a single series.

>   * @cdev: character device object to create character device
>   * @ubi_num: UBI device number
>   * @ubi_name: UBI device name


Thanks,
Miquèl