2022-08-30 09:04:18

by Shaomin Deng

[permalink] [raw]
Subject: [PATCH] ata: libata-sff: Fix double word in comments

Remove the repeated word "Transfer" in comments.

Signed-off-by: Shaomin Deng <[email protected]>
---
drivers/ata/libata-sff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index b1666adc1c3a..7916e369e15e 100644
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -776,7 +776,7 @@ static void atapi_send_cdb(struct ata_port *ap, struct ata_queued_cmd *qc)
* @qc: Command on going
* @bytes: number of bytes
*
- * Transfer Transfer data from/to the ATAPI device.
+ * Transfer data from/to the ATAPI device.
*
* LOCKING:
* Inherited from caller.
--
2.35.1


2022-09-16 14:28:17

by Damien Le Moal

[permalink] [raw]
Subject: Re: [PATCH] ata: libata-sff: Fix double word in comments

On 2022/08/30 8:50, Shaomin Deng wrote:
> Remove the repeated word "Transfer" in comments.
>
> Signed-off-by: Shaomin Deng <[email protected]>
> ---
> drivers/ata/libata-sff.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
> index b1666adc1c3a..7916e369e15e 100644
> --- a/drivers/ata/libata-sff.c
> +++ b/drivers/ata/libata-sff.c
> @@ -776,7 +776,7 @@ static void atapi_send_cdb(struct ata_port *ap, struct ata_queued_cmd *qc)
> * @qc: Command on going
> * @bytes: number of bytes
> *
> - * Transfer Transfer data from/to the ATAPI device.
> + * Transfer data from/to the ATAPI device.
> *
> * LOCKING:
> * Inherited from caller.

Applied to for-6.1. Thanks.

--
Damien Le Moal
Western Digital Research