lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240908192633.94144-7-tdavies@darkphysics.net>
Date: Sun,  8 Sep 2024 12:26:23 -0700
From: Tree Davies <tdavies@...kphysics.net>
To: gregkh@...uxfoundation.org,
	philipp.g.hortmann@...il.com,
	anjan@...i.ca
Cc: linux-staging@...ts.linux.dev,
	linux-kernel@...r.kernel.org,
	Tree Davies <tdavies@...kphysics.net>
Subject: [PATCH 06/16] Staging: rtl8192e: Rename variable Para1

Rename variable Para1 to para1
to fix checkpatch warning Avoid CamelCase.

Signed-off-by: Tree Davies <tdavies@...kphysics.net>
---
 drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 12 ++++++------
 drivers/staging/rtl8192e/rtllib.h              |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
index 059b1f478a6c..797ae6896d62 100644
--- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
+++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
@@ -510,7 +510,7 @@ static u8 _rtl92e_phy_set_sw_chnl_cmd_array(struct net_device *dev,
 					    struct sw_chnl_cmd *CmdTable,
 					    u32 CmdTableIdx, u32 CmdTableSz,
 					    enum sw_chnl_cmd_id cmd_id,
-					    u32 Para1, u32 Para2, u32 ms_delay)
+					    u32 para1, u32 Para2, u32 ms_delay)
 {
 	struct sw_chnl_cmd *pCmd;
 
@@ -525,7 +525,7 @@ static u8 _rtl92e_phy_set_sw_chnl_cmd_array(struct net_device *dev,
 
 	pCmd = CmdTable + CmdTableIdx;
 	pCmd->cmd_id = cmd_id;
-	pCmd->Para1 = Para1;
+	pCmd->para1 = para1;
 	pCmd->Para2 = Para2;
 	pCmd->ms_delay = ms_delay;
 
@@ -618,15 +618,15 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel,
 								   channel);
 				break;
 			case cmd_id_write_port_ulong:
-				rtl92e_writel(dev, CurrentCmd->Para1,
+				rtl92e_writel(dev, CurrentCmd->para1,
 					      CurrentCmd->Para2);
 				break;
 			case cmd_id_write_port_ushort:
-				rtl92e_writew(dev, CurrentCmd->Para1,
+				rtl92e_writew(dev, CurrentCmd->para1,
 					      CurrentCmd->Para2);
 				break;
 			case cmd_id_write_port_uchar:
-				rtl92e_writeb(dev, CurrentCmd->Para1,
+				rtl92e_writeb(dev, CurrentCmd->para1,
 					      CurrentCmd->Para2);
 				break;
 			case cmd_id_rf_write_reg:
@@ -634,7 +634,7 @@ static u8 _rtl92e_phy_switch_channel_step(struct net_device *dev, u8 channel,
 				     priv->num_total_rf_path; eRFPath++)
 					rtl92e_set_rf_reg(dev,
 						 (enum rf90_radio_path)eRFPath,
-						 CurrentCmd->Para1, bMask12Bits,
+						 CurrentCmd->para1, bMask12Bits,
 						 CurrentCmd->Para2 << 7);
 				break;
 			default:
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index f444e85a6264..1e119192ad38 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -164,7 +164,7 @@ enum sw_chnl_cmd_id {
 
 struct sw_chnl_cmd {
 	enum sw_chnl_cmd_id cmd_id;
-	u32			Para1;
+	u32			para1;
 	u32			Para2;
 	u32			ms_delay;
 };
-- 
2.30.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ