Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1984882rwb; Wed, 26 Jul 2023 23:40:28 -0700 (PDT) X-Google-Smtp-Source: APBJJlG/tPjwYKLdeJqNaN5lYM97YJfiDyXx1O5s2Q4HSjmf1EcX2+2aTNPJu5jQkIrpehHa+4DH X-Received: by 2002:a17:906:304f:b0:993:d7c4:1a78 with SMTP id d15-20020a170906304f00b00993d7c41a78mr1094694ejd.10.1690440028036; Wed, 26 Jul 2023 23:40:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690440028; cv=none; d=google.com; s=arc-20160816; b=bqjfGKM8SToKH2z1/qrkeETCXhDifaz+fZhpBacUgzA12eocLx7x6p0eF1G0ZY8tkW Uvpz2szD/jbuCZ9yipwSn3JrKsIRwYc6A7kLby7iSQ09fnUU/86T49PTQjQiMW1WhEgR Rvwi8KStiDyBS6BYnHlRF3Op0nnuWmpY7+KCoEzIh1EJKGXEHLd4LKfTu8xnT5l+5UXF 5apTW2IvWO3zXTsR3cfynQLurNliRUn9Ced0oUY6FMSZ0RWufCPUe+aC5JAp/Zcvmpsx mJqp85yujjOeM7EEwwpwZENOtpsVslVXYu+ZyDWqLwg08sG0/NbemRK9rD0KZFRRarJJ m0Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=GCK206rxmRk8X9Ht7QXuyqdPQH09ILG/o/K1GADjRno=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=k0SPlcjKewt96kgcIdt6SbTCbOqdpOMLBbYBGMYgUWSHoVJBD4zWq3ybsURVqFruJd eKkzIfsF+yMulFJJrg3GB6HwUqnzzlDR5PzEMSzabO6r+v59dCli4P35bHHRB2h2b9Bi aBh1L4EpUz3C4q6IPtrkEZSahthVK2/vNIKCLMbfeL2QcfPjtdcbuPESnTkfsen9Fok5 bczlC/pboFgfTc72UMlcqw70LI7zN7jG4sN9CzPnxnoLyRyrGKVvcoaak5kDsauggPJQ AnfZ+e2HtGkD4IriiJ8k/n+JHDgGBwnew9B50HUWqVayuvU+kLM+62hH5H7KO/IvDvj6 n+tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=IzNx7yNd; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=N2cegFqc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gl23-20020a170906e0d700b0099bc038eb2esi559084ejb.201.2023.07.26.23.40.03; Wed, 26 Jul 2023 23:40:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=IzNx7yNd; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=N2cegFqc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232749AbjG0GSt (ORCPT + 99 others); Thu, 27 Jul 2023 02:18:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232733AbjG0GSq (ORCPT ); Thu, 27 Jul 2023 02:18:46 -0400 Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C6BE1990 for ; Wed, 26 Jul 2023 23:18:45 -0700 (PDT) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 3B3A72B78B; Thu, 27 Jul 2023 02:18:45 -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=anF2Q/E3YliC1TJLo8573SGmv SXnXLFplvRBwi1kuZQ=; b=IzNx7yNdHpmu9IGROV8LXsHjgAsPmnfsEaNb2JAm/ 4QvOpZ4UurqqsWVEM9uinT1MsdIHCrBSNYXcFDBmls9sKg1sIXOBO665t7kJFl1a ayIma5NezUHwrcjFGBjRzRkIpp0nHwfzuYO+JSRp568GqqwV4YBO1H9cmBibbq7r /o= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 33DE82B78A; Thu, 27 Jul 2023 02:18:45 -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=OYbg2N402MZIOZTWV80ogeQ3GrQ1F3pvilpeh4bbDy8=; b=N2cegFqcjaPW3lWRE7RywAJ4LwCQithMlx3yolAdl85W/Yb+RP5ofESPmSDEwS7SIKUe8K9py86HGLZCj2dYfDRhn+wr8jikgAR415PfepGkia/yKWMhNl0PMR925TiKM3wAo75r0tF4FU+YHgmFhNyBuvUjRMGZAOXsh8WjM6A= 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-smtp21.pobox.com (Postfix) with ESMTPSA id 60A852B785; Thu, 27 Jul 2023 02:18:40 -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 v2 2/5] Staging: rtl8192e: Rename function DeActivateBAEntry Date: Wed, 26 Jul 2023 23:19:45 -0700 Message-ID: <20230727061948.579480-3-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230727061948.579480-1-tdavies@darkphysics.net> References: <20230727061948.579480-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 6E97C26C-2C45-11EE-B009-B31D44D1D7AA-45285927!pb-smtp21.pobox.com Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename function DeActivateBAEntry to deactivate_ba_entry in order to Fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- v2: Sent with git send-email drivers/staging/rtl8192e/rtl819x_BAProc.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/= rtl8192e/rtl819x_BAProc.c index 965ffa8b78c2..50362bbbc8dd 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -17,7 +17,7 @@ static void activate_ba_entry(struct ba_record *pBA, u1= 6 Time) mod_timer(&pBA->timer, jiffies + msecs_to_jiffies(Time)); } =20 -static void DeActivateBAEntry(struct rtllib_device *ieee, struct ba_reco= rd *pBA) +static void deactivate_ba_entry(struct rtllib_device *ieee, struct ba_re= cord *pBA) { pBA->b_valid =3D false; del_timer_sync(&pBA->timer); @@ -30,12 +30,12 @@ static u8 TxTsDeleteBA(struct rtllib_device *ieee, st= ruct tx_ts_record *pTxTs) u8 bSendDELBA =3D false; =20 if (pPendingBa->b_valid) { - DeActivateBAEntry(ieee, pPendingBa); + deactivate_ba_entry(ieee, pPendingBa); bSendDELBA =3D true; } =20 if (pAdmittedBa->b_valid) { - DeActivateBAEntry(ieee, pAdmittedBa); + deactivate_ba_entry(ieee, pAdmittedBa); bSendDELBA =3D true; } return bSendDELBA; @@ -47,7 +47,7 @@ static u8 RxTsDeleteBA(struct rtllib_device *ieee, stru= ct rx_ts_record *pRxTs) u8 bSendDELBA =3D false; =20 if (pBa->b_valid) { - DeActivateBAEntry(ieee, pBa); + deactivate_ba_entry(ieee, pBa); bSendDELBA =3D true; } =20 @@ -270,7 +270,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, st= ruct sk_buff *skb) =20 rtllib_FlushRxTsPendingPkts(ieee, pTS); =20 - DeActivateBAEntry(ieee, pBA); + deactivate_ba_entry(ieee, pBA); pBA->dialog_token =3D *pDialogToken; pBA->ba_param_set =3D *pBaParamSet; pBA->ba_timeout_value =3D *pBaTimeoutVal; @@ -363,13 +363,13 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, = struct sk_buff *skb) netdev_dbg(ieee->dev, "%s(): Recv ADDBA Rsp. BA is admitted! Status code:%X\n", __func__, *pStatusCode); - DeActivateBAEntry(ieee, pPendingBA); + deactivate_ba_entry(ieee, pPendingBA); } =20 if (*pStatusCode =3D=3D ADDBA_STATUS_SUCCESS) { if (pBaParamSet->field.ba_policy =3D=3D BA_POLICY_DELAYED) { pTS->bAddBaReqDelayed =3D true; - DeActivateBAEntry(ieee, pAdmittedBA); + deactivate_ba_entry(ieee, pAdmittedBA); ReasonCode =3D DELBA_REASON_END_BA; goto OnADDBARsp_Reject; } @@ -378,7 +378,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, st= ruct sk_buff *skb) pAdmittedBA->ba_timeout_value =3D *pBaTimeoutVal; pAdmittedBA->ba_start_seq_ctrl =3D pPendingBA->ba_start_seq_ctrl; pAdmittedBA->ba_param_set =3D *pBaParamSet; - DeActivateBAEntry(ieee, pAdmittedBA); + deactivate_ba_entry(ieee, pAdmittedBA); activate_ba_entry(pAdmittedBA, *pBaTimeoutVal); } else { pTS->bAddBaReqDelayed =3D true; @@ -469,7 +469,7 @@ void TsInitAddBA(struct rtllib_device *ieee, struct t= x_ts_record *pTS, if (pBA->b_valid && !bOverwritePending) return; =20 - DeActivateBAEntry(ieee, pBA); + deactivate_ba_entry(ieee, pBA); =20 pBA->dialog_token++; pBA->ba_param_set.field.amsdu_support =3D 0; --=20 2.41.0