* [PATCH] nfc: fix typo "occured" in comments
@ 2026-09-04 11:46 Hemanth Selam
2026-09-04 12:00 ` David Heidelberg
0 siblings, 1 reply; 2+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:46 UTC (permalink / raw)
To: David Heidelberg; +Cc: linux-kernel, oe-linux-nfc
Correct "occured" to "occurred", reported by scripts/checkpatch.pl using
the misspelling list in scripts/spelling.txt. Only touches comments, no
code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
drivers/nfc/microread/i2c.c | 2 +-
drivers/nfc/pn544/i2c.c | 2 +-
drivers/nfc/st21nfca/i2c.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/nfc/microread/i2c.c b/drivers/nfc/microread/i2c.c
index f45e883b8730..03dd11271027 100644
--- a/drivers/nfc/microread/i2c.c
+++ b/drivers/nfc/microread/i2c.c
@@ -39,7 +39,7 @@ struct microread_i2c_phy {
struct nfc_hci_dev *hdev;
int hard_fault; /*
- * < 0 if hardware error occured (e.g. i2c err)
+ * < 0 if hardware error occurred (e.g. i2c err)
* and prevents normal operation.
*/
};
diff --git a/drivers/nfc/pn544/i2c.c b/drivers/nfc/pn544/i2c.c
index 7fde3aefae70..edafa1709f95 100644
--- a/drivers/nfc/pn544/i2c.c
+++ b/drivers/nfc/pn544/i2c.c
@@ -169,7 +169,7 @@ struct pn544_i2c_phy {
int run_mode;
int hard_fault; /*
- * < 0 if hardware error occured (e.g. i2c err)
+ * < 0 if hardware error occurred (e.g. i2c err)
* and prevents normal operation.
*/
};
diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c
index a4c93ff7c5b0..e760d1813edf 100644
--- a/drivers/nfc/st21nfca/i2c.c
+++ b/drivers/nfc/st21nfca/i2c.c
@@ -66,7 +66,7 @@ struct st21nfca_i2c_phy {
int run_mode;
/*
- * < 0 if hardware error occured (e.g. i2c err)
+ * < 0 if hardware error occurred (e.g. i2c err)
* and prevents normal operation.
*/
int hard_fault;
--
2.48.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] nfc: fix typo "occured" in comments
2026-09-04 11:46 [PATCH] nfc: fix typo "occured" in comments Hemanth Selam
@ 2026-09-04 12:00 ` David Heidelberg
0 siblings, 0 replies; 2+ messages in thread
From: David Heidelberg @ 2026-09-04 12:00 UTC (permalink / raw)
To: Hemanth Selam; +Cc: linux-kernel, oe-linux-nfc
On 04/09/2026 13:46, Hemanth Selam wrote:
> Correct "occured" to "occurred", reported by scripts/checkpatch.pl using
> the misspelling list in scripts/spelling.txt. Only touches comments, no
> code changes.
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
> drivers/nfc/microread/i2c.c | 2 +-
> drivers/nfc/pn544/i2c.c | 2 +-
> drivers/nfc/st21nfca/i2c.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
Heya, you don't need Artificial Intelligence for that, you can use
$ codespell drivers/nfc/*
drivers/nfc/fdp/fdp.c:123: nd ==> and, 2nd
drivers/nfc/fdp/fdp.c:126: nd ==> and, 2nd
drivers/nfc/fdp/fdp.c:127: nd ==> and, 2nd
drivers/nfc/fdp/fdp.c:138: nd ==> and, 2nd
drivers/nfc/fdp/i2c.c:270: inclue ==> include
drivers/nfc/microread/i2c.c:42: occured ==> occurred
drivers/nfc/nfcmrvl/uart.c:180: sate ==> state
drivers/nfc/pn533/uart.c:35: propability ==> probability
drivers/nfc/pn533/uart.c:144: errornous ==> erroneous
drivers/nfc/pn533/usb.c:215: stange ==> strange, stage, stance
drivers/nfc/pn544/i2c.c:172: occured ==> occurred
drivers/nfc/port100.c:104: Theses ==> These, Thesis
drivers/nfc/st-nci/i2c.c:3: familly ==> family
drivers/nfc/st-nci/ndlc.c:111: aknowledge ==> acknowledge
drivers/nfc/st-nci/ndlc.c:172: aknowledge ==> acknowledge
drivers/nfc/st-nci/spi.c:215: functionnalities ==> functionalities
drivers/nfc/st21nfca/core.c:468: respone ==> response, respond
drivers/nfc/st21nfca/i2c.c:28: mecanism ==> mechanism
drivers/nfc/st21nfca/i2c.c:69: occured ==> occurred
drivers/nfc/st21nfca/i2c.c:365: mecanism ==> mechanism
drivers/nfc/st21nfca/i2c.c:385: corrupeted ==> corrupted
drivers/nfc/st95hf/core.c:455: milisecond ==> millisecond
drivers/nfc/st95hf/core.c:487: milisecond ==> millisecond
drivers/nfc/st95hf/core.c:493: milisecond ==> millisecond
drivers/nfc/st95hf/core.c:524: milisecond ==> millisecond
drivers/nfc/st95hf/core.c:634: cofigure ==> configure
drivers/nfc/st95hf/core.c:787: cant ==> can't
Feel free to check validity and fix everything relevant (sometimes it report
false-positive).
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-04 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 11:46 [PATCH] nfc: fix typo "occured" in comments Hemanth Selam
2026-09-04 12:00 ` David Heidelberg
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®