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: <20240918191959.51539-12-dominik.karol.piatkowski@protonmail.com>
Date: Wed, 18 Sep 2024 19:21:44 +0000
From: Dominik Karol Piątkowski <dominik.karol.piatkowski@...tonmail.com>
To: philipp.g.hortmann@...il.com, gregkh@...uxfoundation.org
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org, Dominik Karol Piątkowski <dominik.karol.piatkowski@...tonmail.com>
Subject: [PATCH 11/14] staging: vt6655: s_uGetDataDuration: Rename bLastFrag variable

This patch renames bLastFrag to last_frag in s_uGetDataDuration function
in order to avoid using camel case.

Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@...tonmail.com>
---
 drivers/staging/vt6655/rxtx.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c
index 58446eba82cc..4b0a768cf77b 100644
--- a/drivers/staging/vt6655/rxtx.c
+++ b/drivers/staging/vt6655/rxtx.c
@@ -241,11 +241,11 @@ s_uGetDataDuration(
 	unsigned char fb_option
 )
 {
-	bool bLastFrag = false;
+	bool last_frag = false;
 	unsigned int uAckTime = 0, uNextPktTime = 0, len;
 
 	if (frag_idx == (mac_frag_num - 1))
-		bLastFrag = true;
+		last_frag = true;
 
 	if (frag_idx == (mac_frag_num - 2))
 		len = last_fragment_size;
@@ -260,7 +260,7 @@ s_uGetDataDuration(
 						     priv->byTopCCKBasicRate);
 		}
 		/* Non Frag or Last Frag */
-		if ((mac_frag_num == 1) || bLastFrag) {
+		if ((mac_frag_num == 1) || last_frag) {
 			if (!need_ack)
 				return 0;
 		} else {
@@ -278,7 +278,7 @@ s_uGetDataDuration(
 						     priv->byTopOFDMBasicRate);
 		}
 		/* Non Frag or Last Frag */
-		if ((mac_frag_num == 1) || bLastFrag) {
+		if ((mac_frag_num == 1) || last_frag) {
 			if (!need_ack)
 				return 0;
 		} else {
@@ -297,7 +297,7 @@ s_uGetDataDuration(
 						     priv->byTopOFDMBasicRate);
 		}
 		/* Non Frag or Last Frag */
-		if ((mac_frag_num == 1) || bLastFrag) {
+		if ((mac_frag_num == 1) || last_frag) {
 			if (!need_ack)
 				return 0;
 		} else {
-- 
2.34.1



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ