* [PATCH v2] staging: rtl8723bs: Fix spelling mistakes in comments
@ 2026-05-03 14:53 Aidan Russell
2026-05-03 15:42 ` Nikolay Kulikov
0 siblings, 1 reply; 2+ messages in thread
From: Aidan Russell @ 2026-05-03 14:53 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Nikolay Kulikov, linux-staging, linux-kernel, Aidan Russell
Fix several spelling mistakes in comments in the rtl8723bs staging
driver.
No functional changes.
Signed-off-by: Aidan Russell <aidanlrussell@gmail.com>
---
Changes in v2:
* Limit patch to spelling-only comment edits.
* Drop unrelated comment formatting
drivers/staging/rtl8723bs/core/rtw_cmd.c | 2 +-
drivers/staging/rtl8723bs/core/rtw_mlme.c | 2 +-
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 2 +-
drivers/staging/rtl8723bs/core/rtw_xmit.c | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c
index 72d5905a48e9..eca1a5bc79be 100644
--- a/drivers/staging/rtl8723bs/core/rtw_cmd.c
+++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c
@@ -1650,7 +1650,7 @@ u8 rtw_c2h_packet_wk_cmd(struct adapter *padapter, u8 *pbuf, u16 length)
return res;
}
-/* dont call R/W in this function, beucase SDIO interrupt have claim host */
+/* dont call R/W in this function, because SDIO interrupt have claim host */
/* or deadlock will happen and cause special-systemserver-died in android */
u8 rtw_c2h_wk_cmd(struct adapter *padapter, u8 *c2h_evt)
{
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c
index 3ecf4f979c03..7a6bd87c8d08 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c
@@ -1378,7 +1378,7 @@ void rtw_stadel_event_callback(struct adapter *adapter, u8 *pbuf)
u16 media_status;
media_status = (mac_id << 8) | 0; /* MACID|OPMODE:0 means disconnect */
- /* for STA, AP, ADHOC mode, report disconnect stauts to FW */
+ /* for STA, AP, ADHOC mode, report disconnect status to FW */
rtw_hal_set_hwreg(adapter, HW_VAR_H2C_MEDIA_STATUS_RPT, (u8 *)&media_status);
}
diff --git a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
index f074ea6e0f38..ca1cb58fc801 100644
--- a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
+++ b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
@@ -576,7 +576,7 @@ void LPS_Leave_check(struct adapter *padapter)
*
* This will be called when CPWM interrupt is up.
*
- * using to update cpwn of drv; and drv willl make a decision to up or down pwr level
+ * using to update cpwn of drv; and drv will make a decision to up or down pwr level
*/
void cpwm_int_hdl(struct adapter *padapter, struct reportpwrstate_parm *preportpwrstate)
{
diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c
index dba146b696e0..a21aa2964a6b 100644
--- a/drivers/staging/rtl8723bs/core/rtw_xmit.c
+++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c
@@ -726,7 +726,7 @@ static s32 update_attrib(struct adapter *padapter, struct sk_buff *pkt, struct p
}
}
- /* for parsing ICMP pakcets */
+ /* for parsing ICMP packets */
{
struct iphdr *piphdr = (struct iphdr *)tmp;
@@ -1358,7 +1358,7 @@ s32 rtw_mgmt_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, s
/* set final tx command size */
pattrib->last_txcmdsz = pattrib->pktlen;
- /* set protected bit must be beofre SW encrypt */
+ /* set protected bit must be before SW encrypt */
SetPrivacy(mem_start);
/* software encrypt */
xmitframe_swencrypt(padapter, pxmitframe);
--
2.54.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH v2] staging: rtl8723bs: Fix spelling mistakes in comments
2026-05-03 14:53 [PATCH v2] staging: rtl8723bs: Fix spelling mistakes in comments Aidan Russell
@ 2026-05-03 15:42 ` Nikolay Kulikov
0 siblings, 0 replies; 2+ messages in thread
From: Nikolay Kulikov @ 2026-05-03 15:42 UTC (permalink / raw)
To: Aidan Russell; +Cc: Greg Kroah-Hartman, linux-staging, linux-kernel
On Sun, May 03, 2026 at 07:53:46AM -0700, Aidan Russell wrote:
> Fix several spelling mistakes in comments in the rtl8723bs staging
> driver.
>
> No functional changes.
>
> Signed-off-by: Aidan Russell <aidanlrussell@gmail.com>
...
> diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c
> index 72d5905a48e9..eca1a5bc79be 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_cmd.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c
> @@ -1650,7 +1650,7 @@ u8 rtw_c2h_packet_wk_cmd(struct adapter *padapter, u8 *pbuf, u16 length)
> return res;
> }
>
> -/* dont call R/W in this function, beucase SDIO interrupt have claim host */
> +/* dont call R/W in this function, because SDIO interrupt have claim host */
^^^^
"dont" is also misspelled - could you change it to "don't" or "do not"
since you are here?
Otherwise, it looks good.
Thanks,
Nikolay
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-03 15:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-03 14:53 [PATCH v2] staging: rtl8723bs: Fix spelling mistakes in comments Aidan Russell
2026-05-03 15:42 ` Nikolay Kulikov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox