[PATCH v2 1/3] staging: rtl8723bs: fix CamelCase warning for bResult
From: Bruce Ou
Date: Tue Jun 23 2026 - 08:14:10 EST
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;
u8 readbyte;
/* <20130121, Kordan> For SMIC EFUSE specificatoin. */
@@ -114,13 +114,13 @@ u8 *data)
}
if (tmpidx < 100) {
*data = rtw_read8(padapter, EFUSE_CTRL);
- bResult = true;
+ result = true;
} else {
*data = 0xff;
- bResult = false;
+ result = false;
}
- return bResult;
+ return result;
}
/*-----------------------------------------------------------------------------
--
2.43.0