From: Seonbin Yoon <seonbin.yoon0@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Seonbin Yoon <seonbin.yoon0@gmail.com>
Subject: [PATCH] staging: rtl8723bs: Fix CamelCase variable name pHT_info_ie
Date: Mon, 27 Apr 2026 18:18:33 +0900 [thread overview]
Message-ID: <20260427091833.30839-1-seonbin.yoon0@gmail.com> (raw)
Rename variable pHT_info_ie to p_ht_info_ie to comply with
kernel coding style (snake_case).
Fixes the following checkpatch warning:
CHECK: Avoid CamelCase: <pHT_info_ie>
Signed-off-by: Seonbin Yoon <seonbin.yoon0@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_ap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c
index 4b4012411011..2116649bab6d 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ap.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ap.c
@@ -798,7 +798,7 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
int ret = _SUCCESS;
u8 *p;
u8 *ht_caps_ie = NULL;
- u8 *pHT_info_ie = NULL;
+ u8 *p_ht_info_ie = NULL;
struct sta_info *psta = NULL;
u16 cap, ht_cap = false;
uint ie_len = 0;
@@ -1054,7 +1054,7 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
&ie_len,
(pbss_network->ie_length - _BEACON_IE_OFFSET_));
if (p && ie_len > 0)
- pHT_info_ie = p;
+ p_ht_info_ie = p;
switch (network_type) {
case WIRELESS_11B:
@@ -1091,7 +1091,7 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
HT_caps_handler(padapter, (struct ndis_80211_var_ie *)ht_caps_ie);
- HT_info_handler(padapter, (struct ndis_80211_var_ie *)pHT_info_ie);
+ HT_info_handler(padapter, (struct ndis_80211_var_ie *)p_ht_info_ie);
}
pbss_network->length =
--
2.53.0
next reply other threads:[~2026-04-27 9:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-27 9:18 Seonbin Yoon [this message]
2026-04-27 9:52 ` [PATCH] staging: rtl8723bs: Fix CamelCase variable name pHT_info_ie Dan Carpenter
2026-04-27 11:10 ` [PATCH v2] " Seonbin Yoon
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=20260427091833.30839-1-seonbin.yoon0@gmail.com \
--to=seonbin.yoon0@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.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