pcmcia: fix typos and repeated words in comments
cover pcmcia: fix typos and repeated words in comments
This corrects 3 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 (3):
pcmcia: fix typo "specifiy" in comment
pcmcia: fix repeated word 'both' in comment
pcmcia: fix repeated word in log message
drivers/pcmcia/pd6729.c | 2 +- drivers/pcmcia/ti113x.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.48.1
PATCH 1/3 pcmcia: fix typo "specifiy" in comment
Correct "specifiy" to "specify", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- drivers/pcmcia/ti113x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pcmcia/ti113x.h +1 -1
@@ -735,7 +735,7 @@ static int ti12xx_2nd_slot_empty(struct yenta_socket *socket) }/* -* TI specifiy parts for the power hook. +* TI specify parts for the power hook. * * some TI's with some CB's produces interrupt storm on power on. it has been * seen with atheros wlan cards on TI1225 and TI1410. solution is simply to
Signature · 1 line
2.48.1
PATCH 2/3 pcmcia: fix repeated word 'both' in comment
In reply to Hemanth SelamDrop the second 'both', reported by checkpatch.pl as a possible repeated word. Only touches a comment, no code changes.
--- drivers/pcmcia/ti113x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pcmcia/ti113x.h +1 -1
@@ -758,7 +758,7 @@ static int ti12xx_power_hook(struct pcmcia_socket *sock, int operation)/* * all serial/tied: only disable when modparm set. always doing it * would mean a regression for working setups 'cos it disables the -* interrupts for both both slots on 2-slot controllers +* interrupts for both slots on 2-slot controllers * (and users of single slot controllers where it's save have to * live with setting the modparm, most don't have to anyway) */
Signature · 1 line
2.48.1
PATCH 3/3 pcmcia: fix repeated word in log message
In reply to Hemanth SelamDrop the word written twice, reported by checkpatch.pl as a possible repeated word.
Only the message text changes, no code changes.
--- drivers/pcmcia/pd6729.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pcmcia/pd6729.c +1 -1
@@ -479,7 +479,7 @@ static int pd6729_set_mem_map(struct pcmcia_socket *sock, }if ((mem->res->start > mem->res->end) || (mem->speed >1000 )) { -dev_warn (&sock->dev,"invalid invalid address / speed\n" ); +dev_warn (&sock->dev,"invalid address / speed\n" );return -EINVAL ; }
Signature · 1 line
2.48.1