Re: [PATCH v2 1/3] staging: rtl8723bs: fix CamelCase warning for bResult
From: Greg Kroah-Hartman
Date: Tue Jul 07 2026 - 06:50:36 EST
On Tue, Jun 23, 2026 at 08:08:13PM +0800, Bruce Ou wrote:
> Fix the coding style warning reported by checkpatch.pl regarding
> the CamelCase local variable bResult by renaming it to result.
>
> No functional changes are introduced.
>
> Signed-off-by: Bruce Ou <oubruce1234@xxxxxxxxx>
> ---
> Changes in v2:
> - Split from a single comprehensive patch into a standalone patch.
>
> drivers/staging/rtl8723bs/core/rtw_efuse.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_efuse.c b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> index a40d6eab7249..4bf205e078e7 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_efuse.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_efuse.c
> @@ -89,7 +89,7 @@ u16 addr,
> u8 *data)
> {
> u32 tmpidx = 0;
> - u8 bResult;
> + u8 result;
Why isn't this a boolean variable now?
thanks,
greg k-h