* [PATCH v2] staging: rtl8723bs: fix CamelCase variable name
@ 2026-02-25 14:22 Rivka Bukchin
2026-02-25 15:07 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Rivka Bukchin @ 2026-02-25 14:22 UTC (permalink / raw)
To: gregkh; +Cc: linux-staging, linux-kernel, Rivka Bukchin
Rename pHT_info_ie to ht_info_ie to address checkpatch warning.
Signed-off-by: Rivka Bukchin <rivkab300@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 67197c7d4..9ab2219cd 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ap.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ap.c
@@ -802,7 +802,7 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
int ret = _SUCCESS;
u8 *p;
u8 *pHT_caps_ie = NULL;
- u8 *pHT_info_ie = NULL;
+ u8 *ht_info_ie = NULL;
struct sta_info *psta = NULL;
u16 cap, ht_cap = false;
uint ie_len = 0;
@@ -1060,7 +1060,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;
+ ht_info_ie = p;
switch (network_type) {
case WIRELESS_11B:
@@ -1097,7 +1097,7 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
HT_caps_handler(padapter, (struct ndis_80211_var_ie *)pHT_caps_ie);
- HT_info_handler(padapter, (struct ndis_80211_var_ie *)pHT_info_ie);
+ HT_info_handler(padapter, (struct ndis_80211_var_ie *)ht_info_ie);
}
pbss_network->length =
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] staging: rtl8723bs: fix CamelCase variable name
2026-02-25 14:22 Rivka Bukchin
@ 2026-02-25 15:07 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2026-02-25 15:07 UTC (permalink / raw)
To: Rivka Bukchin; +Cc: linux-staging, linux-kernel
On Wed, Feb 25, 2026 at 04:22:10PM +0200, Rivka Bukchin wrote:
> Rename pHT_info_ie to ht_info_ie to address checkpatch warning.
>
> Signed-off-by: Rivka Bukchin <rivkab300@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 67197c7d4..9ab2219cd 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_ap.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_ap.c
> @@ -802,7 +802,7 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
> int ret = _SUCCESS;
> u8 *p;
> u8 *pHT_caps_ie = NULL;
> - u8 *pHT_info_ie = NULL;
> + u8 *ht_info_ie = NULL;
> struct sta_info *psta = NULL;
> u16 cap, ht_cap = false;
> uint ie_len = 0;
> @@ -1060,7 +1060,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;
> + ht_info_ie = p;
>
> switch (network_type) {
> case WIRELESS_11B:
> @@ -1097,7 +1097,7 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
>
> HT_caps_handler(padapter, (struct ndis_80211_var_ie *)pHT_caps_ie);
>
> - HT_info_handler(padapter, (struct ndis_80211_var_ie *)pHT_info_ie);
> + HT_info_handler(padapter, (struct ndis_80211_var_ie *)ht_info_ie);
> }
>
> pbss_network->length =
> --
> 2.34.1
>
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] staging: rtl8723bs: fix CamelCase variable name
@ 2026-02-26 8:43 Rivka Bukchin
2026-02-27 1:48 ` Ethan Tidmore
0 siblings, 1 reply; 4+ messages in thread
From: Rivka Bukchin @ 2026-02-26 8:43 UTC (permalink / raw)
To: gregkh; +Cc: linux-staging, linux-kernel, Rivka Bukchin
Rename pHT_info_ie to ht_info_ie to address checkpatch warning.
Signed-off-by: Rivka Bukchin <rivkab300@gmail.com>
---
v2:
- Use full real name in Signed-off-by and From fields
---
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 67197c7d4..9ab2219cd 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ap.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ap.c
@@ -802,7 +802,7 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
int ret = _SUCCESS;
u8 *p;
u8 *pHT_caps_ie = NULL;
- u8 *pHT_info_ie = NULL;
+ u8 *ht_info_ie = NULL;
struct sta_info *psta = NULL;
u16 cap, ht_cap = false;
uint ie_len = 0;
@@ -1060,7 +1060,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;
+ ht_info_ie = p;
switch (network_type) {
case WIRELESS_11B:
@@ -1097,7 +1097,7 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
HT_caps_handler(padapter, (struct ndis_80211_var_ie *)pHT_caps_ie);
- HT_info_handler(padapter, (struct ndis_80211_var_ie *)pHT_info_ie);
+ HT_info_handler(padapter, (struct ndis_80211_var_ie *)ht_info_ie);
}
pbss_network->length =
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] staging: rtl8723bs: fix CamelCase variable name
2026-02-26 8:43 [PATCH v2] staging: rtl8723bs: fix CamelCase variable name Rivka Bukchin
@ 2026-02-27 1:48 ` Ethan Tidmore
0 siblings, 0 replies; 4+ messages in thread
From: Ethan Tidmore @ 2026-02-27 1:48 UTC (permalink / raw)
To: Rivka Bukchin, gregkh; +Cc: linux-staging, linux-kernel
On Thu Feb 26, 2026 at 2:43 AM CST, Rivka Bukchin wrote:
> Rename pHT_info_ie to ht_info_ie to address checkpatch warning.
>
> Signed-off-by: Rivka Bukchin <rivkab300@gmail.com>
>
> ---
> v2:
> - Use full real name in Signed-off-by and From fields
> ---
> drivers/staging/rtl8723bs/core/rtw_ap.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
You have a few issues with your commit body, please view this on how to
send a v2:
https://staticthinking.wordpress.com/2022/07/27/how-to-send-a-v2-patch/
> int ret = _SUCCESS;
> u8 *p;
> u8 *pHT_caps_ie = NULL;
It'd be nice if you changed this to snake_case too.
Thanks,
ET
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-02-27 1:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-26 8:43 [PATCH v2] staging: rtl8723bs: fix CamelCase variable name Rivka Bukchin
2026-02-27 1:48 ` Ethan Tidmore
-- strict thread matches above, loose matches on Subject: below --
2026-02-25 14:22 Rivka Bukchin
2026-02-25 15:07 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox