2022-06-21 10:06:52

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] ubi: remove unexpected word "the"

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 <[email protected]>
---
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


2022-06-23 14:11:46

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH] ubi: remove unexpected word "the"

Hi Jiang,

[email protected] 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 <[email protected]>
> ---
> 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