Skip to contentSkip to conversation

wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"

PATCH In review Colin Ian King 3 participants 5 messages Dec 20, 2023 – Jan 10, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"

There are two spelling mistakes in rtw89_err error messages. Fix these and also add space between [ERR] and message text.

---
 drivers/net/wireless/realtek/rtw89/mac_be.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/realtek/rtw89/mac_be.c +2 -2
index be30c9346293..4befbe06cd15 100644
@@ -1616,7 +1616,7 @@ static int dbcc_enable_be(struct rtw89_dev *rtwdev, bool enable)
 		if (test_bit(RTW89_FLAG_FW_RDY, rtwdev->flags)) {
 			ret = rtw89_fw_h2c_notify_dbcc(rtwdev, true);
 			if (ret) {
-				rtw89_err(rtwdev, "%s:[ERR]notfify dbcc1 fail %d\n",
+				rtw89_err(rtwdev, "%s:[ERR] notify dbcc1 fail %d\n",
 					  __func__, ret);
 				return ret;
 			}
@@ -1625,7 +1625,7 @@ static int dbcc_enable_be(struct rtw89_dev *rtwdev, bool enable)
 		if (test_bit(RTW89_FLAG_FW_RDY, rtwdev->flags)) {
 			ret = rtw89_fw_h2c_notify_dbcc(rtwdev, false);
 			if (ret) {
-				rtw89_err(rtwdev, "%s:[ERR]notfify dbcc1 fail %d\n",
+				rtw89_err(rtwdev, "%s:[ERR] notify dbcc1 fail %d\n",
 					  __func__, ret);
 				return ret;
 			}
Signature · 1 line
2.39.2
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: Colin Ian King <[email protected]>
Sent: Wednesday, December 20, 2023 10:19 PM
To: Ping-Ke Shih <[email protected]>; Kalle Valo <[email protected]>; [email protected]
Cc: [email protected]; [email protected]
Subject: [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"

Quoted 4 lines

There are two spelling mistakes in rtw89_err error messages. Fix these and also add space between [ERR] and message text.

Thanks for the correctness. Could I know the tool you used to find out these typo?

Ping-Ke

#2 lore raw
Quoted 12 lines · Ping-Ke Shih
Quoted 12 lines

-----Original Message-----
From: Colin Ian King <[email protected]>
Sent: Wednesday, December 20, 2023 10:19 PM
To: Ping-Ke Shih <[email protected]>; Kalle Valo <[email protected]>; [email protected]
Cc: [email protected]; [email protected]
Subject: [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"

There are two spelling mistakes in rtw89_err error messages. Fix these and also add space between [ERR] and message text.

Quoted 6 lines
Quoted 1 line

Thanks for the correctness. Could I know the tool you used to find out these typo?

Sure,

https://github.com/ColinIanKing/kernelscan

It needs the american dictionary, installed in /usr/share/dict e.g. apt-get install wamerican

and then spellcheck with:

./kernelscan -k path-to-code-you-want-to-scan

I run kernelscan on the entire linux-next source daily and diff the days's results with the previous day using the meld diff tool.

Colin

Quoted 4 lines

Ping-Ke

maintainer
#3 lore raw
Quoted 31 lines

-----Original Message-----
From: Colin King (gmail) <[email protected]>
Sent: Friday, December 22, 2023 8:09 PM
To: Ping-Ke Shih <[email protected]>; Kalle Valo <[email protected]>; [email protected]
Cc: [email protected]; [email protected]
Subject: Re: [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"

Quoted 12 lines · Ping-Ke Shih
Quoted 12 lines

-----Original Message-----
From: Colin Ian King <[email protected]>
Sent: Wednesday, December 20, 2023 10:19 PM
To: Ping-Ke Shih <[email protected]>; Kalle Valo <[email protected]>; [email protected]
Cc: [email protected]; [email protected]
Subject: [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"

There are two spelling mistakes in rtw89_err error messages. Fix these and also add space between [ERR] and message text.

Quoted 6 lines
Quoted 1 line

Thanks for the correctness. Could I know the tool you used to find out these typo?

Sure,

Quoted 8 lines

https://github.com/ColinIanKing/kernelscan

It needs the american dictionary, installed in /usr/share/dict e.g. apt-get install wamerican

and then spellcheck with:

./kernelscan -k path-to-code-you-want-to-scan

Thanks for the tool. :-)
I will try to scan my driver before sending out patches.

Ping-Ke

#4 lore raw
In reply to Colin Ian King
Quoted 5 lines · Colin Ian King

There are two spelling mistakes in rtw89_err error messages. Fix these and also add space between [ERR] and message text.

Patch applied to wireless-next.git, thanks.

6aeaa379291b wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches