From nobody Fri Nov 29 16:33:46 2024 Received: from mail-40131.protonmail.ch (mail-40131.protonmail.ch [185.70.40.131]) (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 5A65E1CB324 for ; Wed, 18 Sep 2024 19:21:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.40.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726687294; cv=none; b=t2R9jR4gqefEDcdh5QcLUeI6SSgKoUySAbT72+nNgjLSJjAe1j/7Lj0BR16e62PVILJWl1us4+WqeLGYbARZk5GsaS8KXNebD0fgyPZIxP7asunAgB+LdUP6eMDue71Gs9ujuvL0TZvMzbAf96HsgblupUbex5gVFLahL3IUodg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726687294; c=relaxed/simple; bh=W+zVSXjAOcG0MACVhz4X7u9EOeuZwAb+lVR6/aAjToE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RuKPsPtV06SA99zwjof0WljxHFDSbh+ZjybRFECV2RbjXPLIOP++YjQvG+VoNu371kGUXVz11YXK5Zj2Fy7OZqO5GClNSSLK15x0jyFVUHATzAG+bp4pzeVxVhZMAUuTPGF8e/DzYkXxDmFy++4Act70L8QoVt0Rec7k5DZRnlY= 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=e4uarnh1; arc=none smtp.client-ip=185.70.40.131 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="e4uarnh1" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1726687291; x=1726946491; bh=W+zVSXjAOcG0MACVhz4X7u9EOeuZwAb+lVR6/aAjToE=; 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=e4uarnh1+gM504UIcJ2A4OoyVkMJPqdlb58OHbU4SPc8TBpWqTdJHNyrjfHRbYzhy yeO6iLv5X3BdFQeo5Q05vIepoT67NixJ14aWYzKnDeipJ2VxT48QIcs09ArFzgwbAL hwWnhJ9YFpAXAKCBUIvXskY5N0diraDXKfy8Jc77mzMpKJ1vyRL4QmQiz4khI7z88v VpxbZO2U8BardbevgnXkLMZIZS0aXcJC5i7u+maCeJ/c3zMlc6KscQssVras2hxjkV B1paWCHhYvHkhcZbBOkMZ7BKdpMi+OUdXt0S6xLGKQVUBjM9ByUTBVqMcZ1AHYdDNe 6CfGgnvZx/z/g== Date: Wed, 18 Sep 2024 19:21:26 +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 08/14] staging: vt6655: s_uGetDataDuration: Rename cbLastFragmentSize parameter Message-ID: <20240918191959.51539-9-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: d295879f42ca70281d623ebce352966a90f441fc 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 cbLastFragmentSize to last_fragment_size 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 3d7bdcba83a9..1d0b5b8f09c2 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -236,7 +236,7 @@ s_uGetDataDuration( unsigned short rate, bool need_ack, unsigned int frag_idx, - unsigned int cbLastFragmentSize, + unsigned int last_fragment_size, unsigned int uMACfragNum, unsigned char byFBOption ) @@ -248,7 +248,7 @@ s_uGetDataDuration( bLastFrag =3D true; =20 if (frag_idx =3D=3D (uMACfragNum - 2)) - len =3D cbLastFragmentSize; + len =3D last_fragment_size; else len =3D frame_length; =20 --=20 2.34.1