Linux kernel staging patches
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Luca Hernandez <lucay202@gmail.com>
Cc: linux-staging@lists.linux.dev
Subject: Re: [PATCH] staging: rtl8723bs: remove CamelCase variable pbDriverStopped
Date: Sat, 3 Oct 2026 14:35:39 +0200	[thread overview]
Message-ID: <2026100306-bluff-eggbeater-2c89@gregkh> (raw)
In-Reply-To: <20261003115819.23641-1-lucay202@gmail.com>

On Sat, Oct 03, 2026 at 12:58:19PM +0100, Luca Hernandez wrote:
> Rename the pointer variable pbDriverStopped to driver_stopped to eliminate
> the use of CamelCase and Hungarian notation prefixes. This aligns the
> driver's HAL code with standard Linux kernel coding style guidelines and
> resolves checkpatch.pl audit warnings.
> 
> Signed-off-by: Luca Hernandez <lucay202@gmail.com>
> ---
>  drivers/staging/rtl8723bs/hal/odm.c | 2 +-
>  drivers/staging/rtl8723bs/hal/odm.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/rtl8723bs/hal/odm.c b/drivers/staging/rtl8723bs/hal/odm.c
> index f3989fa33d9f..505c21bd1847 100644
> --- a/drivers/staging/rtl8723bs/hal/odm.c
> +++ b/drivers/staging/rtl8723bs/hal/odm.c
> @@ -773,7 +773,7 @@ void ODM_CmnInfoHook(struct dm_odm_t *pDM_Odm, enum odm_cmninfo_e CmnInfo, void
>  		break;
>  
>  	case ODM_CMNINFO_DRV_STOP:
> -		pDM_Odm->pbDriverStopped =  pValue;
> +		pDM_Odm->driver_stopped =  pValue;

So this is only set but never done anything with at all?  Why is this
needed?  Why not just remove this field entirely?

thanks,

greg k-h

      reply	other threads:[~2026-10-03 12:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-03 11:58 [PATCH] staging: rtl8723bs: remove CamelCase variable pbDriverStopped Luca Hernandez
2026-10-03 12:35 ` Greg KH [this message]

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=2026100306-bluff-eggbeater-2c89@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=lucay202@gmail.com \
    /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