From nobody Fri Nov 29 16:34:21 2024 Received: from mail-40134.protonmail.ch (mail-40134.protonmail.ch [185.70.40.134]) (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 43F641CA68D for ; Wed, 18 Sep 2024 19:21:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.40.134 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726687273; cv=none; b=Wm21Cs2CrhNjoKNcd44TBj41HfgRHz+6oayDf6CBEmLF/enkG9b+Ii+xYuNq6hoKHi14I0X82jpb73KeWCAUFcqL+50dcqiJwNT2sd0uzRY/97Lk2VlZKupc5vu2vECX5kQM52g3nG0Iv8WbgRwSqgVS3eOv5R4Zu0GlBELK0b0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726687273; c=relaxed/simple; bh=z2nMJzqE5n8kJ6yIantqQNYJkLrl44runy54J+tkJQ8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eLjqYak4MGeaOwwMITFoJHZPZEjHl3lv6QZTIUyr73Fu1SE1LRWv8eAb8IZBMZJP6VR0BZW0L0dXdstjAHRMyX+r+Cz9y16d4xWr2cn8EYOdcyu5E5ekDNoulEYoVVSfoOT61yH/l4cIbtrOsK9tO1ABmQEAhzMXI2em3a260mw= 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=S86dD7FZ; arc=none smtp.client-ip=185.70.40.134 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="S86dD7FZ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1726687270; x=1726946470; bh=qeQbKG2HPh5rehTIUsbVkhaR6dz2tTgrlQZp1wx8Whc=; 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=S86dD7FZUvnkshQ6rviQxyO1+/fx/J3PxDs2oK7roGVz7SozdN3fPrGdkehfpXFf6 qIaQu7ADdPkXBpx1kFyTdV77YtIWfMtywEL0CpN5a9yQUhNxB6D3lk27FlK2k+Vp3k 8jcwb5pCDSg9ZihjWi2ncKkWkvYXt1sT+8TJlPKMefXBFDfHwqNS73DBtEYGW3mUV4 aw5EdV46X92lHfkgXemQkpWq8WFseK1jOFAoXMLMQIjcSFIsBQobZ7tIBNTngBxXgv mqWBMO89AznX8Y0QBQJLqhx5uxoRWf2MfNd2a5WfiOiA450OOKPhMGj6mdERjqYYj2 kDWi35jpaBpTw== Date: Wed, 18 Sep 2024 19:21:07 +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 04/14] staging: vt6655: s_uGetDataDuration: Rename byPktType parameter Message-ID: <20240918191959.51539-5-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: 514c58b49714911802dbe44763e24b85257227e8 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 byPktType to pkt_type in s_uGetDataDuration function in order to avoid using camel case. Signed-off-by: Dominik Karol Pi=C4=85tkowski --- drivers/staging/vt6655/rxtx.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 1747018e747a..dd228962dd77 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -232,7 +232,7 @@ s_uGetDataDuration( struct vnt_private *priv, unsigned char dur_type, unsigned int frame_length, - unsigned char byPktType, + unsigned char pkt_type, unsigned short wRate, bool bNeedAck, unsigned int uFragIdx, @@ -256,7 +256,7 @@ s_uGetDataDuration( case DATADUR_B: /* DATADUR_B */ if (bNeedAck) { uAckTime =3D bb_get_frame_time(priv->preamble_type, - byPktType, 14, + pkt_type, 14, priv->byTopCCKBasicRate); } /* Non Frag or Last Frag */ @@ -265,7 +265,7 @@ s_uGetDataDuration( return 0; } else { /* First Frag or Mid Frag */ - uNextPktTime =3D s_uGetTxRsvTime(priv, byPktType, + uNextPktTime =3D s_uGetTxRsvTime(priv, pkt_type, len, wRate, bNeedAck); } =20 @@ -274,7 +274,7 @@ s_uGetDataDuration( case DATADUR_A: /* DATADUR_A */ if (bNeedAck) { uAckTime =3D bb_get_frame_time(priv->preamble_type, - byPktType, 14, + pkt_type, 14, priv->byTopOFDMBasicRate); } /* Non Frag or Last Frag */ @@ -283,7 +283,7 @@ s_uGetDataDuration( return 0; } else { /* First Frag or Mid Frag */ - uNextPktTime =3D s_uGetTxRsvTime(priv, byPktType, + uNextPktTime =3D s_uGetTxRsvTime(priv, pkt_type, len, wRate, bNeedAck); } =20 @@ -293,7 +293,7 @@ s_uGetDataDuration( case DATADUR_A_F1: /* DATADUR_A_F1 */ if (bNeedAck) { uAckTime =3D bb_get_frame_time(priv->preamble_type, - byPktType, 14, + pkt_type, 14, priv->byTopOFDMBasicRate); } /* Non Frag or Last Frag */ @@ -314,7 +314,7 @@ s_uGetDataDuration( else wRate =3D fb_opt1[FB_RATE0][wRate]; =20 - uNextPktTime =3D s_uGetTxRsvTime(priv, byPktType, + uNextPktTime =3D s_uGetTxRsvTime(priv, pkt_type, len, wRate, bNeedAck); } =20 --=20 2.34.1