From nobody Wed Sep 10 02:48:44 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED587C001DE for ; Fri, 28 Jul 2023 05:46:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233468AbjG1Fqv (ORCPT ); Fri, 28 Jul 2023 01:46:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233426AbjG1Fqi (ORCPT ); Fri, 28 Jul 2023 01:46:38 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7557C4214 for ; Thu, 27 Jul 2023 22:46:21 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 4DC201A8A11; Fri, 28 Jul 2023 01:46:20 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=iCwVO6jGOiBIBqDolYR3kWBma U32fg07fliL7o3+4Is=; b=I1qMnGst73Nb7cCb7KewYxIXivipIFBRKIW7CuN0J //7DSy/yfk8A3oKc65s8X22aOHv3TEczxQIZ4pcRVKpiwZmRYIFh6qc4Dr+Gtpbu Aczp2v9rOddIovElc0uVcvlcOcw5HRpZY4FzsvGaEeG3e7MKnubSSjqELJBtxeFs Bw= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 46AE11A8A0F; Fri, 28 Jul 2023 01:46:20 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=from:to:cc:subject:date:message-id:in-reply-to:references:mime-version:content-transfer-encoding; s=2019-09.pbsmtp; bh=24Xd1pthCGWJK6YnUgs+USJpDGry96/kEyz1494g6To=; b=ZG/8rpaJmK+lkOinsiuOjLh2V2v/q3OhuV/AvcVdestpd3RtAw/05keoGJ/2cYbEL68OoijREHruqT53RnBCmhfH76gBTPnIYtB5Evsy+XvHS6AJ2fIwBdbRequCEyUqA0K62LmxdsWh5PC5pEZIoIwsXHgExNuvxUwiLjJaEEg= Received: from basil.darkphysics (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id E76261A8A0B; Fri, 28 Jul 2023 01:46:17 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH v3 1/5] Staging: rtl8192e: Rename function ActivateBAEntry Date: Thu, 27 Jul 2023 22:47:38 -0700 Message-ID: <20230728054742.622297-2-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230728054742.622297-1-tdavies@darkphysics.net> References: <20230728054742.622297-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 13828734-2D0A-11EE-A639-C65BE52EC81B-45285927!pb-smtp1.pobox.com Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Rename function ActivateBAEntry to activate_ba_entry in order to Fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- v3: Changed patch #5, Rename global function ResetBaEntry to rtllib_reset_b= a_entry v2: Sent to mailing list via git send-email, patches are the same. =20 drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rt= l8192e/rtl819x_BAProc.c index acc19514bca6..965ffa8b78c2 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -10,7 +10,7 @@ #include "rtllib.h" #include "rtl819x_BA.h" =20 -static void ActivateBAEntry(struct ba_record *pBA, u16 Time) +static void activate_ba_entry(struct ba_record *pBA, u16 Time) { pBA->b_valid =3D true; if (Time !=3D 0) @@ -282,7 +282,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, stru= ct sk_buff *skb) else pBA->ba_param_set.field.buffer_size =3D 32; =20 - ActivateBAEntry(pBA, 0); + activate_ba_entry(pBA, 0); rtllib_send_ADDBARsp(ieee, dst, pBA, ADDBA_STATUS_SUCCESS); =20 return 0; @@ -379,7 +379,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, stru= ct sk_buff *skb) pAdmittedBA->ba_start_seq_ctrl =3D pPendingBA->ba_start_seq_ctrl; pAdmittedBA->ba_param_set =3D *pBaParamSet; DeActivateBAEntry(ieee, pAdmittedBA); - ActivateBAEntry(pAdmittedBA, *pBaTimeoutVal); + activate_ba_entry(pAdmittedBA, *pBaTimeoutVal); } else { pTS->bAddBaReqDelayed =3D true; pTS->bDisable_AddBa =3D true; @@ -479,7 +479,7 @@ void TsInitAddBA(struct rtllib_device *ieee, struct tx_= ts_record *pTS, pBA->ba_timeout_value =3D 0; pBA->ba_start_seq_ctrl.field.seq_num =3D (pTS->TxCurSeq + 3) % 4096; =20 - ActivateBAEntry(pBA, BA_SETUP_TIMEOUT); + activate_ba_entry(pBA, BA_SETUP_TIMEOUT); =20 rtllib_send_ADDBAReq(ieee, pTS->TsCommonInfo.Addr, pBA); } --=20 2.41.0