From: frankfmy <pryanishnikovartem@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev
Subject: [PATCH 4/5] staging: rtl8723bs: fix spelling errors in header files
Date: Thu, 05 Feb 2026 23:27:06 +0400 [thread overview]
Message-ID: <1770319629.4.pryanishnikovartem@gmail.com> (raw)
In-Reply-To: <1770319619.1.pryanishnikovartem@gmail.com>
Fix spelling errors found by codespell in the rtl8723bs staging
driver header files:
- rtw_cmd.h: sequcne -> sequence
- hal_com_reg.h: contrl -> control
- drv_types.h: build-in -> built-in
- wlan_bssdef.h: infor -> info
- HalPwrSeqCmd.h: dirver -> driver
Signed-off-by: frankfmy <pryanishnikovartem@gmail.com>
---
drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h | 2 +-
drivers/staging/rtl8723bs/include/drv_types.h | 2 +-
drivers/staging/rtl8723bs/include/hal_com_reg.h | 2 +-
drivers/staging/rtl8723bs/include/rtw_cmd.h | 2 +-
drivers/staging/rtl8723bs/include/wlan_bssdef.h | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h b/drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h
index b81252d37..e50842c5c 100644
--- a/drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h
+++ b/drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h
@@ -16,7 +16,7 @@
/* offset: the read register offset */
/* msk: the mask of the read value */
/* value: N/A, left by 0 */
- /* note: dirver shall implement this function by read & msk */
+ /* note: driver shall implement this function by read & msk */
#define PWR_CMD_WRITE 0x01
/* offset: the read register offset */
diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h
index f86180dc3..ce50bc084 100644
--- a/drivers/staging/rtl8723bs/include/drv_types.h
+++ b/drivers/staging/rtl8723bs/include/drv_types.h
@@ -318,7 +318,7 @@ enum {
struct adapter {
int DriverState;/* for disable driver using module, use dongle to replace module. */
int pid[3];/* process id from UI, 0:wps, 1:hostapd, 2:dhcpcd */
- int bDongle;/* build-in module or external dongle */
+ int bDongle;/* built-in module or external dongle */
struct dvobj_priv *dvobj;
struct mlme_priv mlmepriv;
diff --git a/drivers/staging/rtl8723bs/include/hal_com_reg.h b/drivers/staging/rtl8723bs/include/hal_com_reg.h
index cf5c15dc2..795fef48c 100644
--- a/drivers/staging/rtl8723bs/include/hal_com_reg.h
+++ b/drivers/staging/rtl8723bs/include/hal_com_reg.h
@@ -20,7 +20,7 @@
#define REG_RSV_CTRL 0x001C
#define REG_RF_CTRL 0x001F
#define REG_AFE_XTAL_CTRL 0x0024
-#define REG_MAC_PHY_CTRL 0x002c /* for 92d, DMDP, SMSP, DMSP contrl */
+#define REG_MAC_PHY_CTRL 0x002c /* for 92d, DMDP, SMSP, DMSP control */
#define REG_EFUSE_CTRL 0x0030
#define REG_EFUSE_TEST 0x0034
#define REG_PWR_DATA 0x0038
diff --git a/drivers/staging/rtl8723bs/include/rtw_cmd.h b/drivers/staging/rtl8723bs/include/rtw_cmd.h
index cb44119ce..c4c3edee8 100644
--- a/drivers/staging/rtl8723bs/include/rtw_cmd.h
+++ b/drivers/staging/rtl8723bs/include/rtw_cmd.h
@@ -559,7 +559,7 @@ struct RunInThread_param {
Result:
0x00: success
0x01: success, and check Response.
-0x02: cmd ignored due to duplicated sequcne number
+0x02: cmd ignored due to duplicated sequence number
0x03: cmd dropped due to invalid cmd code
0x04: reserved.
diff --git a/drivers/staging/rtl8723bs/include/wlan_bssdef.h b/drivers/staging/rtl8723bs/include/wlan_bssdef.h
index eb38594c8..53f1647b5 100644
--- a/drivers/staging/rtl8723bs/include/wlan_bssdef.h
+++ b/drivers/staging/rtl8723bs/include/wlan_bssdef.h
@@ -138,7 +138,7 @@ struct wlan_phy_info {
};
struct wlan_bcn_info {
- /* these infor get from rtw_get_encrypt_info when
+ /* these info get from rtw_get_encrypt_info when
* * translate scan to UI */
u8 encryp_protocol;/* ENCRYP_PROTOCOL_E: OPEN/WEP/WPA/WPA2/WAPI */
int group_cipher; /* WPA/WPA2 group cipher */
--
2.34.1
next prev parent reply other threads:[~2026-02-05 19:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-05 19:26 [PATCH 1/5] staging: rtl8723bs: fix spelling errors in core driver files frankfmy
2026-02-05 19:27 ` [PATCH 2/5] staging: rtl8723bs: fix spelling errors in hal " frankfmy
2026-02-05 19:27 ` [PATCH 3/5] staging: rtl8723bs: fix spelling errors in os_dep files frankfmy
2026-02-05 19:27 ` frankfmy [this message]
2026-02-05 19:27 ` [PATCH 5/5] staging: greybus: fix spelling errors frankfmy
2026-02-07 13:39 ` [PATCH 1/5] staging: rtl8723bs: fix spelling errors in core driver files Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1770319629.4.pryanishnikovartem@gmail.com \
--to=pryanishnikovartem@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-staging@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox