drivers/ata/libata-eh.c | 2 +- drivers/ata/libata-transport.c | 2 +- drivers/ata/pata_macio.c | 2 +- drivers/ata/sata_dwc_460ex.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
Delete the redundant word 'in'.
Delete the redundant word 'to'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
drivers/ata/libata-eh.c | 2 +-
drivers/ata/libata-transport.c | 2 +-
drivers/ata/pata_macio.c | 2 +-
drivers/ata/sata_dwc_460ex.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 3307ed45fe4d..f2ac8340e769 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -863,7 +863,7 @@ void ata_eh_fastdrain_timerfn(struct timer_list *t)
*
* Set ATA_PFLAG_EH_PENDING and activate fast drain if @fastdrain
* is non-zero and EH wasn't pending before. Fast drain ensures
- * that EH kicks in in timely manner.
+ * that EH kicks in timely manner.
*
* LOCKING:
* spin_lock_irqsave(host lock)
diff --git a/drivers/ata/libata-transport.c b/drivers/ata/libata-transport.c
index ca129854a88c..3a71107169ae 100644
--- a/drivers/ata/libata-transport.c
+++ b/drivers/ata/libata-transport.c
@@ -9,7 +9,7 @@
* and various sysfs attributes to expose these topologies and management
* interfaces to user-space.
*
- * There are 3 objects defined in in this class:
+ * There are 3 objects defined in this class:
* - ata_port
* - ata_link
* - ata_device
diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata_macio.c
index 42798402cf63..e7b03e8a9357 100644
--- a/drivers/ata/pata_macio.c
+++ b/drivers/ata/pata_macio.c
@@ -666,7 +666,7 @@ static u8 pata_macio_bmdma_status(struct ata_port *ap)
* a multi-block transfer.
*
* - The dbdma fifo hasn't yet finished flushing to
- * to system memory when the disk interrupt occurs.
+ * system memory when the disk interrupt occurs.
*
*/
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index e3263e961045..a4c83a6e5631 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -1087,7 +1087,7 @@ static struct scsi_host_template sata_dwc_sht = {
/*
* test-only: Currently this driver doesn't handle NCQ
* correctly. We enable NCQ but set the queue depth to a
- * max of 1. This will get fixed in in a future release.
+ * max of 1. This will get fixed in a future release.
*/
.sg_tablesize = LIBATA_MAX_PRD,
/* .can_queue = ATA_MAX_QUEUE, */
--
2.36.1
On Sun, 2022-07-10 at 13:22 +0800, Jilin Yuan wrote: > diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c > index 3307ed45fe4d..f2ac8340e769 100644 > --- a/drivers/ata/libata-eh.c > +++ b/drivers/ata/libata-eh.c > @@ -863,7 +863,7 @@ void ata_eh_fastdrain_timerfn(struct timer_list > *t) > * > * Set ATA_PFLAG_EH_PENDING and activate fast drain if @fastdrain > * is non-zero and EH wasn't pending before. Fast drain ensures > - * that EH kicks in in timely manner. > + * that EH kicks in timely manner. The original is correct and the update doesn't make sense. Of course adding an article would make the original read better ... James
On 7/10/22 23:21, James Bottomley wrote: > On Sun, 2022-07-10 at 13:22 +0800, Jilin Yuan wrote: >> diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c >> index 3307ed45fe4d..f2ac8340e769 100644 >> --- a/drivers/ata/libata-eh.c >> +++ b/drivers/ata/libata-eh.c >> @@ -863,7 +863,7 @@ void ata_eh_fastdrain_timerfn(struct timer_list >> *t) >> * >> * Set ATA_PFLAG_EH_PENDING and activate fast drain if @fastdrain >> * is non-zero and EH wasn't pending before. Fast drain ensures >> - * that EH kicks in in timely manner. >> + * that EH kicks in timely manner. > > The original is correct and the update doesn't make sense. Of course > adding an article would make the original read better ... yep: ...that EH kicks in in a timely manner. > > James > > -- Damien Le Moal Western Digital Research
© 2016 - 2026 Red Hat, Inc.