* [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"
@ 2023-12-20 14:18 Colin Ian King
2023-12-22 0:19 ` Ping-Ke Shih
2024-01-10 14:51 ` Kalle Valo
0 siblings, 2 replies; 5+ messages in thread
From: Colin Ian King @ 2023-12-20 14:18 UTC (permalink / raw)
To: Ping-Ke Shih, Kalle Valo, linux-wireless; +Cc: kernel-janitors, linux-kernel
There are two spelling mistakes in rtw89_err error messages. Fix these
and also add space between [ERR] and message text.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
drivers/net/wireless/realtek/rtw89/mac_be.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/realtek/rtw89/mac_be.c b/drivers/net/wireless/realtek/rtw89/mac_be.c
index be30c9346293..4befbe06cd15 100644
--- a/drivers/net/wireless/realtek/rtw89/mac_be.c
+++ b/drivers/net/wireless/realtek/rtw89/mac_be.c
@@ -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;
}
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread* RE: [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"
2023-12-20 14:18 [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify" Colin Ian King
@ 2023-12-22 0:19 ` Ping-Ke Shih
2023-12-22 12:08 ` Colin King (gmail)
2024-01-10 14:51 ` Kalle Valo
1 sibling, 1 reply; 5+ messages in thread
From: Ping-Ke Shih @ 2023-12-22 0:19 UTC (permalink / raw)
To: Colin Ian King, Kalle Valo, linux-wireless@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
> -----Original Message-----
> From: Colin Ian King <colin.i.king@gmail.com>
> Sent: Wednesday, December 20, 2023 10:19 PM
> To: Ping-Ke Shih <pkshih@realtek.com>; Kalle Valo <kvalo@kernel.org>; linux-wireless@vger.kernel.org
> Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
> 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.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Thanks for the correctness. Could I know the tool you used to find out these
typo?
Ping-Ke
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"
2023-12-22 0:19 ` Ping-Ke Shih
@ 2023-12-22 12:08 ` Colin King (gmail)
2023-12-25 0:19 ` Ping-Ke Shih
0 siblings, 1 reply; 5+ messages in thread
From: Colin King (gmail) @ 2023-12-22 12:08 UTC (permalink / raw)
To: Ping-Ke Shih, Kalle Valo, linux-wireless@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
On 22/12/2023 00:19, Ping-Ke Shih wrote:
>
>
>> -----Original Message-----
>> From: Colin Ian King <colin.i.king@gmail.com>
>> Sent: Wednesday, December 20, 2023 10:19 PM
>> To: Ping-Ke Shih <pkshih@realtek.com>; Kalle Valo <kvalo@kernel.org>; linux-wireless@vger.kernel.org
>> Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
>> 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.
>>
>> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
>
> Acked-by: Ping-Ke Shih <pkshih@realtek.com>
>
> 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
>
> Ping-Ke
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"
2023-12-22 12:08 ` Colin King (gmail)
@ 2023-12-25 0:19 ` Ping-Ke Shih
0 siblings, 0 replies; 5+ messages in thread
From: Ping-Ke Shih @ 2023-12-25 0:19 UTC (permalink / raw)
To: Colin King (gmail), Kalle Valo, linux-wireless@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
> -----Original Message-----
> From: Colin King (gmail) <colin.i.king@gmail.com>
> Sent: Friday, December 22, 2023 8:09 PM
> To: Ping-Ke Shih <pkshih@realtek.com>; Kalle Valo <kvalo@kernel.org>; linux-wireless@vger.kernel.org
> Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"
>
> On 22/12/2023 00:19, Ping-Ke Shih wrote:
> >
> >
> >> -----Original Message-----
> >> From: Colin Ian King <colin.i.king@gmail.com>
> >> Sent: Wednesday, December 20, 2023 10:19 PM
> >> To: Ping-Ke Shih <pkshih@realtek.com>; Kalle Valo <kvalo@kernel.org>; linux-wireless@vger.kernel.org
> >> Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
> >> 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.
> >>
> >> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> >
> > Acked-by: Ping-Ke Shih <pkshih@realtek.com>
> >
> > 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
Thanks for the tool. :-)
I will try to scan my driver before sending out patches.
Ping-Ke
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"
2023-12-20 14:18 [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify" Colin Ian King
2023-12-22 0:19 ` Ping-Ke Shih
@ 2024-01-10 14:51 ` Kalle Valo
1 sibling, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2024-01-10 14:51 UTC (permalink / raw)
To: Colin Ian King
Cc: Ping-Ke Shih, linux-wireless, kernel-janitors, linux-kernel
Colin Ian King <colin.i.king@gmail.com> wrote:
> There are two spelling mistakes in rtw89_err error messages. Fix these
> and also add space between [ERR] and message text.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Patch applied to wireless-next.git, thanks.
6aeaa379291b wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify"
--
https://patchwork.kernel.org/project/linux-wireless/patch/20231220141831.10063-1-colin.i.king@gmail.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-01-10 14:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-20 14:18 [PATCH][next] wifi: rtw89: mac: Fix spelling mistakes "notfify" -> "notify" Colin Ian King
2023-12-22 0:19 ` Ping-Ke Shih
2023-12-22 12:08 ` Colin King (gmail)
2023-12-25 0:19 ` Ping-Ke Shih
2024-01-10 14:51 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox