From nobody Fri Nov 29 16:30:19 2024 Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41A401CB503 for ; Wed, 18 Sep 2024 19:21:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726687313; cv=none; b=oyoQXP66izeKHjdWAqfV248EXY7RpEurTHoQ+P3ws8WqBAnBhcBwS+VF5+aKp7hE+5cYNl6Ax0aj+AZemQReL4jAeiCywKkxqPx42SltxlVBGo09k6GxlOTjJYwUFj9bboKbDdhLvUel1fTwWcKOyEr/Kkt3p99q8zluKuytbMA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726687313; c=relaxed/simple; bh=NlYdSX0ZLHGzHMCiEyfUrhQGEJFpeAvzAIAlUdb+q6Y=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cqZg+NDTFUBozLH66EspanmdVSqhIAKmZGJGhqUi0g/neI9qWs52VvZvlHL4XHj1CtERVP08cvFADaO8n599QtQfZXRTUdc5muXyHcIPsZrC6j/5wP40wQ7I5BfAYgNp9fqzJbGbhg0gFNCUxfO9Jd3/hStXDzrUUDNWdVRL2Qs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=muxobcGo; arc=none smtp.client-ip=185.70.43.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="muxobcGo" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1726687310; x=1726946510; bh=HegoWXI8OKwexilR7FQ1pUEBHBJNMHHtpkObBeTwxDQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=muxobcGo74bAt4GU6vH6wc8Eik7F2P9a18LyYpx5NJzzpQQZSbOHWgSRfd5K7LP0l 0Gbilu7+OQYynbnVpGpWGD27414uUGFlIvNs68UangVrYCbPMgSLNyzTW/cpg8Hs14 Mkugb7+kt6iO/4rLv8ItPKIH+XhzHbo4FEJWx/d8d6wQDreTUnTizR/SlEChAhf6v1 tMGfRGv/qUdXilrW1aiGkZL36hKkbbIpZunYpwXgx8tdtUprVKn0eikcyU4fKhONWA LEQRQjuhnaxWsZ8pUnAZcoxzSDgpoBs/u8TXkzXrGEsu/aT7+ZnwVq57su8kqYg9pX r1qwRpsaLDQYQ== Date: Wed, 18 Sep 2024 19:21:44 +0000 To: philipp.g.hortmann@gmail.com, gregkh@linuxfoundation.org From: =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Subject: [PATCH 11/14] staging: vt6655: s_uGetDataDuration: Rename bLastFrag variable Message-ID: <20240918191959.51539-12-dominik.karol.piatkowski@protonmail.com> In-Reply-To: <20240918191959.51539-1-dominik.karol.piatkowski@protonmail.com> References: <20240918191959.51539-1-dominik.karol.piatkowski@protonmail.com> Feedback-ID: 117888567:user:proton X-Pm-Message-ID: ff8944be3be853cbaa6c69a38186ab4ba472b9eb Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This patch renames bLastFrag to last_frag in s_uGetDataDuration function in order to avoid using camel case. Signed-off-by: Dominik Karol Pi=C4=85tkowski --- 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 =3D false; + bool last_frag =3D false; unsigned int uAckTime =3D 0, uNextPktTime =3D 0, len; =20 if (frag_idx =3D=3D (mac_frag_num - 1)) - bLastFrag =3D true; + last_frag =3D true; =20 if (frag_idx =3D=3D (mac_frag_num - 2)) len =3D last_fragment_size; @@ -260,7 +260,7 @@ s_uGetDataDuration( priv->byTopCCKBasicRate); } /* Non Frag or Last Frag */ - if ((mac_frag_num =3D=3D 1) || bLastFrag) { + if ((mac_frag_num =3D=3D 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 =3D=3D 1) || bLastFrag) { + if ((mac_frag_num =3D=3D 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 =3D=3D 1) || bLastFrag) { + if ((mac_frag_num =3D=3D 1) || last_frag) { if (!need_ack) return 0; } else { --=20 2.34.1