* [PATCH] staging: rtl8723bs: rename camelCase variable
@ 2026-03-21 13:16 Bhavya Gupta
0 siblings, 0 replies; 5+ messages in thread
From: Bhavya Gupta @ 2026-03-21 13:16 UTC (permalink / raw)
To: gregkh; +Cc: linux-staging, linux-kernel
Rename the "pIE" variable to "ie" to comply with the linux kernel coding
style.
This fixes the following checkpatch.pl warnings:
CHECK: Avoid CamelCase: <pIE>
Signed-off-by: Bhavya Gupta <anim8tor.ing@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_ap.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c
index 4cdcdddf6b33..4b4012411011 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ap.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ap.c
@@ -1364,20 +1364,20 @@ static void update_bcn_erpinfo_ie(struct adapter *padapter)
&len,
(pnetwork->ie_length - _BEACON_IE_OFFSET_));
if (p && len > 0) {
- struct ndis_80211_var_ie *pIE = (struct ndis_80211_var_ie *)p;
+ struct ndis_80211_var_ie *ie = (struct ndis_80211_var_ie *)p;
if (pmlmepriv->num_sta_non_erp == 1)
- pIE->data[0] |= RTW_ERP_INFO_NON_ERP_PRESENT | RTW_ERP_INFO_USE_PROTECTION;
+ ie->data[0] |= RTW_ERP_INFO_NON_ERP_PRESENT | RTW_ERP_INFO_USE_PROTECTION;
else
- pIE->data[0] &= ~(RTW_ERP_INFO_NON_ERP_PRESENT |
+ ie->data[0] &= ~(RTW_ERP_INFO_NON_ERP_PRESENT |
RTW_ERP_INFO_USE_PROTECTION);
if (pmlmepriv->num_sta_no_short_preamble > 0)
- pIE->data[0] |= RTW_ERP_INFO_BARKER_PREAMBLE_MODE;
+ ie->data[0] |= RTW_ERP_INFO_BARKER_PREAMBLE_MODE;
else
- pIE->data[0] &= ~(RTW_ERP_INFO_BARKER_PREAMBLE_MODE);
+ ie->data[0] &= ~(RTW_ERP_INFO_BARKER_PREAMBLE_MODE);
- ERP_IE_handler(padapter, pIE);
+ ERP_IE_handler(padapter, ie);
}
}
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] staging: rtl8723bs: rename camelCase variable
@ 2026-03-29 8:07 Bhavya Gupta
2026-03-29 23:55 ` Ethan Tidmore
2026-03-31 8:38 ` Greg KH
0 siblings, 2 replies; 5+ messages in thread
From: Bhavya Gupta @ 2026-03-29 8:07 UTC (permalink / raw)
To: gregkh, ethantidmore06; +Cc: linux-staging, linux-kernel
Rename the "pIE" variable to "ie" to comply with the linux kernel coding
style.
This fixes the following checkpatch.pl warnings:
CHECK: Avoid CamelCase: <pIE>
Signed-off-by: Bhavya Gupta <anim8tor.ing@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_ap.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c
index 4cdcdddf6b33..4b4012411011 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ap.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ap.c
@@ -1364,20 +1364,20 @@ static void update_bcn_erpinfo_ie(struct adapter *padapter)
&len,
(pnetwork->ie_length - _BEACON_IE_OFFSET_));
if (p && len > 0) {
- struct ndis_80211_var_ie *pIE = (struct ndis_80211_var_ie *)p;
+ struct ndis_80211_var_ie *ie = (struct ndis_80211_var_ie *)p;
if (pmlmepriv->num_sta_non_erp == 1)
- pIE->data[0] |= RTW_ERP_INFO_NON_ERP_PRESENT | RTW_ERP_INFO_USE_PROTECTION;
+ ie->data[0] |= RTW_ERP_INFO_NON_ERP_PRESENT | RTW_ERP_INFO_USE_PROTECTION;
else
- pIE->data[0] &= ~(RTW_ERP_INFO_NON_ERP_PRESENT |
+ ie->data[0] &= ~(RTW_ERP_INFO_NON_ERP_PRESENT |
RTW_ERP_INFO_USE_PROTECTION);
if (pmlmepriv->num_sta_no_short_preamble > 0)
- pIE->data[0] |= RTW_ERP_INFO_BARKER_PREAMBLE_MODE;
+ ie->data[0] |= RTW_ERP_INFO_BARKER_PREAMBLE_MODE;
else
- pIE->data[0] &= ~(RTW_ERP_INFO_BARKER_PREAMBLE_MODE);
+ ie->data[0] &= ~(RTW_ERP_INFO_BARKER_PREAMBLE_MODE);
- ERP_IE_handler(padapter, pIE);
+ ERP_IE_handler(padapter, ie);
}
}
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] staging: rtl8723bs: rename camelCase variable
2026-03-29 8:07 [PATCH] staging: rtl8723bs: rename camelCase variable Bhavya Gupta
@ 2026-03-29 23:55 ` Ethan Tidmore
2026-03-31 8:38 ` Greg KH
1 sibling, 0 replies; 5+ messages in thread
From: Ethan Tidmore @ 2026-03-29 23:55 UTC (permalink / raw)
To: Bhavya Gupta, gregkh, ethantidmore06; +Cc: linux-staging, linux-kernel
On Sun Mar 29, 2026 at 3:07 AM CDT, Bhavya Gupta wrote:
> Rename the "pIE" variable to "ie" to comply with the linux kernel coding
> style.
>
> This fixes the following checkpatch.pl warnings:
> CHECK: Avoid CamelCase: <pIE>
>
> Signed-off-by: Bhavya Gupta <anim8tor.ing@gmail.com>
> ---
LGTM.
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Thanks,
ET
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] staging: rtl8723bs: rename camelCase variable
2026-03-29 8:07 [PATCH] staging: rtl8723bs: rename camelCase variable Bhavya Gupta
2026-03-29 23:55 ` Ethan Tidmore
@ 2026-03-31 8:38 ` Greg KH
[not found] ` <CAGRbwOPK0Y6QAuB3wzm7L6mov0tu6-KMRorGPp9SWU3Z=iy5LA@mail.gmail.com>
1 sibling, 1 reply; 5+ messages in thread
From: Greg KH @ 2026-03-31 8:38 UTC (permalink / raw)
To: Bhavya Gupta; +Cc: ethantidmore06, linux-staging, linux-kernel
On Sun, Mar 29, 2026 at 01:37:29PM +0530, Bhavya Gupta wrote:
> Rename the "pIE" variable to "ie" to comply with the linux kernel coding
> style.
>
> This fixes the following checkpatch.pl warnings:
> CHECK: Avoid CamelCase: <pIE>
>
> Signed-off-by: Bhavya Gupta <anim8tor.ing@gmail.com>
> ---
> drivers/staging/rtl8723bs/core/rtw_ap.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c
> index 4cdcdddf6b33..4b4012411011 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_ap.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_ap.c
> @@ -1364,20 +1364,20 @@ static void update_bcn_erpinfo_ie(struct adapter *padapter)
> &len,
> (pnetwork->ie_length - _BEACON_IE_OFFSET_));
> if (p && len > 0) {
> - struct ndis_80211_var_ie *pIE = (struct ndis_80211_var_ie *)p;
> + struct ndis_80211_var_ie *ie = (struct ndis_80211_var_ie *)p;
>
> if (pmlmepriv->num_sta_non_erp == 1)
> - pIE->data[0] |= RTW_ERP_INFO_NON_ERP_PRESENT | RTW_ERP_INFO_USE_PROTECTION;
> + ie->data[0] |= RTW_ERP_INFO_NON_ERP_PRESENT | RTW_ERP_INFO_USE_PROTECTION;
> else
> - pIE->data[0] &= ~(RTW_ERP_INFO_NON_ERP_PRESENT |
> + ie->data[0] &= ~(RTW_ERP_INFO_NON_ERP_PRESENT |
> RTW_ERP_INFO_USE_PROTECTION);
>
> if (pmlmepriv->num_sta_no_short_preamble > 0)
> - pIE->data[0] |= RTW_ERP_INFO_BARKER_PREAMBLE_MODE;
> + ie->data[0] |= RTW_ERP_INFO_BARKER_PREAMBLE_MODE;
> else
> - pIE->data[0] &= ~(RTW_ERP_INFO_BARKER_PREAMBLE_MODE);
> + ie->data[0] &= ~(RTW_ERP_INFO_BARKER_PREAMBLE_MODE);
>
> - ERP_IE_handler(padapter, pIE);
> + ERP_IE_handler(padapter, ie);
> }
> }
>
> --
> 2.53.0
>
>
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:
- Your patch did not apply to any known trees that Greg is in control
of. Possibly this is because you made it against Linus's tree, not
the linux-next tree, which is where all of the development for the
next version of the kernel is at. Please refresh your patch against
the linux-next tree, or even better yet, the development tree
specified in the MAINTAINERS file for the subsystem you are submitting
a patch for, and resend it.
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] 5+ messages in thread
* Re: [PATCH] staging: rtl8723bs: rename camelCase variable
[not found] ` <CAGRbwOPK0Y6QAuB3wzm7L6mov0tu6-KMRorGPp9SWU3Z=iy5LA@mail.gmail.com>
@ 2026-03-31 8:51 ` Greg KH
0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2026-03-31 8:51 UTC (permalink / raw)
To: Bhavya Gupta; +Cc: ethantidmore06, linux-staging, linux-kernel
A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
On Tue, Mar 31, 2026 at 02:14:36PM +0530, Bhavya Gupta wrote:
> Hi Ethan,
>
> Got the Reviewed-by tag, thanks!
>
> Greg, I've submitted the patch against the staging tree which is maintained
> by you. Can you please correct me if I'm wrong?
Please do not use html responses, the mailing list rejects them :(
Yes, that is correct, but please use the correct branch. Right now that
would be staging-next or staging-testing, which ever is "newer".
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-03-31 8:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-29 8:07 [PATCH] staging: rtl8723bs: rename camelCase variable Bhavya Gupta
2026-03-29 23:55 ` Ethan Tidmore
2026-03-31 8:38 ` Greg KH
[not found] ` <CAGRbwOPK0Y6QAuB3wzm7L6mov0tu6-KMRorGPp9SWU3Z=iy5LA@mail.gmail.com>
2026-03-31 8:51 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2026-03-21 13:16 Bhavya Gupta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox