* [PATCH 0/2] ata: fix typos and repeated words in comments
@ 2026-09-04 12:31 Hemanth Selam
2026-09-04 12:31 ` [PATCH 2/2] ata: fix " Hemanth Selam
0 siblings, 1 reply; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:31 UTC (permalink / raw)
Cc: linux-kernel
This corrects 2 misspellings and repeated words in comments. Each is a
separate patch so that any one of them can be dropped without touching
the rest.
Nothing outside comments changes. Every touched C file was checked by
dropping its comments, replacing each string literal with a placeholder
and collapsing whitespace; what remained was identical before and after,
so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in
scripts/spelling.txt. The scanning, the edits and the changelogs were
produced with Cursor running the claude-opus-5 model, from a request to
find and fix spelling mistakes across the tree, and every correction was
then re-checked by the comparison described above. Words that name an
identifier were left alone deliberately, even when they read as typos,
because correcting the prose would make the comment disagree with the
code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which
is clean. Nothing else was built, so any patch touching code that
x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (2):
ata: fix typos in comments
ata: fix repeated words in comments
drivers/ata/libata-eh.c | 2 +-
drivers/ata/pata_amd.c | 2 +-
drivers/ata/sata_dwc_460ex.c | 2 +-
drivers/ata/sata_fsl.c | 4 ++--
drivers/ata/sata_sil24.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] ata: fix repeated words in comments
2026-09-04 12:31 [PATCH 0/2] ata: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-04 12:31 ` Hemanth Selam
2026-09-05 0:41 ` Damien Le Moal
0 siblings, 1 reply; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:31 UTC (permalink / raw)
To: Damien Le Moal, Niklas Cassel; +Cc: linux-kernel, linux-ide
Drop words accidentally written twice, reported by checkpatch.pl as a
possible repeated word. Only touches comments, no code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
drivers/ata/libata-eh.c | 2 +-
drivers/ata/sata_dwc_460ex.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index c93c24b22d9c..630e6d44190b 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -923,7 +923,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/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 8e3fc713891a..b0c069a02cc2 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -1071,7 +1071,7 @@ static const 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.48.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] ata: fix repeated words in comments
2026-09-04 12:31 ` [PATCH 2/2] ata: fix " Hemanth Selam
@ 2026-09-05 0:41 ` Damien Le Moal
0 siblings, 0 replies; 3+ messages in thread
From: Damien Le Moal @ 2026-09-05 0:41 UTC (permalink / raw)
To: Hemanth Selam, Niklas Cassel; +Cc: linux-kernel, linux-ide
On 9/4/26 21:31, Hemanth Selam wrote:
> Drop words accidentally written twice, reported by checkpatch.pl as a
> possible repeated word. Only touches comments, no code changes.
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
> drivers/ata/libata-eh.c | 2 +-
> drivers/ata/sata_dwc_460ex.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
> index c93c24b22d9c..630e6d44190b 100644
> --- a/drivers/ata/libata-eh.c
> +++ b/drivers/ata/libata-eh.c
> @@ -923,7 +923,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.
Sashiko is correct here. This is the wrong fix. This should read:
"that EH kicks in in a timely manner."
In any case, this is all very minor and I prefer that we do not apply this patch
to avoid churn and backport issues and rather get these typos fixed when the
code around them changes.
> *
> * LOCKING:
> * spin_lock_irqsave(host lock)
> diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
> index 8e3fc713891a..b0c069a02cc2 100644
> --- a/drivers/ata/sata_dwc_460ex.c
> +++ b/drivers/ata/sata_dwc_460ex.c
> @@ -1071,7 +1071,7 @@ static const 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, */
--
Damien Le Moal
Western Digital Research
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-05 0:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 12:31 [PATCH 0/2] ata: fix typos and repeated words in comments Hemanth Selam
2026-09-04 12:31 ` [PATCH 2/2] ata: fix " Hemanth Selam
2026-09-05 0:41 ` Damien Le Moal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®