Re: [PATCH] staging: rtl8723bs: Fix CamelCase variable name pHT_info_ie

From: Dan Carpenter

Date: Mon Apr 27 2026 - 05:54:11 EST


On Mon, Apr 27, 2026 at 06:18:33PM +0900, Seonbin Yoon wrote:
> 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@xxxxxxxxx>
> ---
> 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;

p_ stands for pointer. Get rid of that. Just call it "ht_info_ie".

regards,
dan carpenter