All of lore.kernel.org
 help / color / mirror / Atom feed
From: Isaac Aneek Sarker <alvasarker2004@gmail.com>
Cc: alvasarker2004@gmail.com,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Ethan Tidmore" <ethantidmore06@gmail.com>,
	"Jennifer Guo" <guojy.bj@gmail.com>,
	"Luka Gejak" <luka.gejak@linux.dev>,
	"Prithvi Tambewagh" <activprithvi@gmail.com>,
	"Moksh Panicker" <mokshpanicker.7@gmail.com>,
	"Andrei Khomenkov" <khomenkov@mailbox.org>,
	"Bera Yüzlü" <b9788213@gmail.com>,
	"Oskar Ray-Frayssinet" <rayfraytech@gmail.com>,
	"Nikolay Kulikov" <nikolayof23@gmail.com>,
	"Akiyoshi Kurita" <weibu@redadmin.org>,
	linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH] staging: rtl8723bs: rename CamelCase variables in function paramater
Date: Sat, 12 Sep 2026 11:26:44 +0600	[thread overview]
Message-ID: <20260912052648.12007-1-alvasarker2004@gmail.com> (raw)

As per the kernel style guidelines, and reported by checkpatch.pl
rename CamelCase variable naming in function parameters and also inside
the function

Signed-off-by: Isaac Aneek Sarker <alvasarker2004@gmail.com>
---
 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
index df0eaff4c841..3c3eb2790714 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
@@ -77,7 +77,7 @@ static void phy_StoreTxPowerByRateBase(struct adapter *padapter)
 }
 
 u8 PHY_GetRateSectionIndexOfTxPowerByRate(
-	struct adapter *padapter, u32 RegAddr, u32 BitMask
+	struct adapter *padapter, u32 reg_addr, u32 bit_mask
 )
 {
 	struct hal_com_data	*pHalData = GET_HAL_DATA(padapter);
@@ -85,7 +85,7 @@ u8 PHY_GetRateSectionIndexOfTxPowerByRate(
 	u8	index = 0;
 
 	if (pDM_Odm->PhyRegPgVersion == 0) {
-		switch (RegAddr) {
+		switch (reg_addr) {
 		case rTxAGC_A_Rate18_06:
 			index = 0;
 			break;
@@ -96,9 +96,9 @@ u8 PHY_GetRateSectionIndexOfTxPowerByRate(
 			index = 6;
 			break;
 		case rTxAGC_B_CCK11_A_CCK2_11:
-			if (BitMask == bMaskH3Bytes)
+			if (bit_mask == bMaskH3Bytes)
 				index = 7;
-			else if (BitMask == 0x000000ff)
+			else if (bit_mask == 0x000000ff)
 				index = 15;
 			break;
 
-- 
2.53.0


                 reply	other threads:[~2026-09-12  5:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20260912052648.12007-1-alvasarker2004@gmail.com \
    --to=alvasarker2004@gmail.com \
    --cc=activprithvi@gmail.com \
    --cc=b9788213@gmail.com \
    --cc=ethantidmore06@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=guojy.bj@gmail.com \
    --cc=khomenkov@mailbox.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=luka.gejak@linux.dev \
    --cc=mokshpanicker.7@gmail.com \
    --cc=nikolayof23@gmail.com \
    --cc=rayfraytech@gmail.com \
    --cc=weibu@redadmin.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.