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(-)
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
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
You are right, and codespell is in fact where these came from - I ran it across the tree and fed the results through checkpatch. The model was used for the packaging around that, not for finding the words, which in hindsight was not a good use of it. Thanks for the extra hits. If you would like them fixed I can fold drivers/nfc/fdp/fdp.c nd ==> and drivers/nfc/fdp/i2c.c:270 inclue ==> include into a v2 of this patch, though "nd" there is part of "2nd" in at least some of those lines and needs reading before it is changed - which is the mistake I have already made elsewhere in this series. Let me know if you want the v2.
© 2016 - 2026 Red Hat, Inc.