From nobody Fri Nov 29 17:39:01 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 232FB1CB31C for ; Wed, 18 Sep 2024 19:21:03 +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=1726687265; cv=none; b=QxlOpR9sl5sh3S/CC/pI1kRkZZknXfPGjeBogGMZJU3Ih/1d+Pytqvqm4WvmkISmPwwfq5o/d4iNXXHMNWKcTxiK8Ig9qKuExgzl4EtIjfG/ykv4tO4s2t4WevjGDH651ae7dm8Zx9KgtMEwKjyoOIZhwp3zuO4vWp9mAQQc/L8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726687265; c=relaxed/simple; bh=ig4J89f6O+menLvrJQ8LdWtnp02W64E8zxAYsKrjQ6Y=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SyCgreX8Qf/rQI21JZA4JKcQQKDsqAbawZzzuvbXuUbk1FFqbdSxr30tfzkAnWaoaESceHc6xrTOdzUHR060qahcCmJbjxKW25LktI1SRi1x9it3h99XX44nR7Mtm5+ZbzDMpsrpJPYreRAlpYLfB3/GMCEosZkLxLfa/RkfgP0= 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=IXSFTcjk; 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="IXSFTcjk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1726687262; x=1726946462; bh=E1c8su5psVVJ96LYrQRPVdjK8oOLuE4e2mk0Bqp8mCI=; 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=IXSFTcjkvySwh8CEqPt1Cs9ume5rAzEMWq1mvICD/GkFrbMcIaOyx/724u68KLUYv uv1EX32b3XOleLDSByvkU3/sjzhjpRBSMs8vNUYibMmroHiAijsh0th1aIKNbLrGeF h7tlUWyJzWzIaHeQzRyFdH41PcG8h0QAqFsVXbwH7LgJff8wsc8P2LlkhKlOYVxpdT 71//++TfVvmNMfi4TA1n8/tQARvgCa1+fePzGSHePJk0Zz3UeTgtgFWps4LqKqdatO mWxXvtInTZzpKWMos4vq7h4ihnKCuIavflrK49DEb3FiOFFlRWaQBvOB44jUHzZcuI nQZWOgSPNJzRg== Date: Wed, 18 Sep 2024 19:20:57 +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 02/14] staging: vt6655: s_uGetDataDuration: Rename byDurType parameter Message-ID: <20240918191959.51539-3-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: e7c451ec80058e33b81e8ec1d0f4fa13a5393551 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 byDurType to dur_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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index a1dadc3e8cb5..239fa4a1af66 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -230,7 +230,7 @@ static unsigned int s_uGetDataDuration( struct vnt_private *priv, - unsigned char byDurType, + unsigned char dur_type, unsigned int cbFrameLength, unsigned char byPktType, unsigned short wRate, @@ -252,7 +252,7 @@ s_uGetDataDuration( else len =3D cbFrameLength; =20 - switch (byDurType) { + switch (dur_type) { case DATADUR_B: /* DATADUR_B */ if (bNeedAck) { uAckTime =3D bb_get_frame_time(priv->preamble_type, --=20 2.34.1