Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp475238rwp; Wed, 12 Jul 2023 17:00:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlFWljuhl0XYNol7f1jnM7oMhF7j67lnDzDQlrm4brAs9DRd/b70v9vFVQAjb1aSR2v2C5fd X-Received: by 2002:a05:6402:8c5:b0:51d:9521:8084 with SMTP id d5-20020a05640208c500b0051d95218084mr264726edz.2.1689206448296; Wed, 12 Jul 2023 17:00:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689206448; cv=none; d=google.com; s=arc-20160816; b=cONjeZcG/hcRH1MzIg7ceDEkAX8upzx5BFyYKn2ln42EQ7UidLAAEcsKouu7BYpmsy X2DtujAerZvcR4w8nyUcO996JxFACWdB719AIDaZKihtp8qX2oQ0e9HSeQ4v6NYJ+EUv 0FqIJKzxMVHEGjdAeB1QflEImf7V0dXaorHIKG32kqDj504ytKUue6aXOLSFb0783auM 4vox0s9NnUm2Pnbk1xPGhiXul/t95FsFkq+n9BOVdlAbYtLvT6nBivUHQ77LcKMym9HV 2Hv0atUIZcCQumxheGavZIrrtwmKNhB16jH3eH7qHfsX9tLhgTjaymcikPXSBg6fiSBx ckgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=vMdf8h6T+Zrvo5XhMSu89XRXbQ0/OctF2zUrbNTAbrU=; fh=3jvUQscqe8rwMJMYm8BR5N83dgzqgjDCTpIcxqpBKxM=; b=uS4/ik+4cjzYbxxqqxsCkI0PYH+boqb85t6ZeeEemCEll8hxWnKGuo/Uwg2nUa+nOW XXB1X/3QQkW3+Hskr6A4qjxgG5g/h8jbbzj5Ujfq1gu8ud4MiiDAaN8KjcI7vgtE/OoF ue13jGabsJXwRx7dOg1v3ugS9BnnQglt2asoQGuJRV2NGDH6AZU8H1/LJVMZJ9i5+CYT VcMCn8WXKAfvDOmMiri032ph0uXzVNmai5eMAIEM7ShZHmK+feSFOEwyt/IBDgZKAiU/ wSUHywgnEg4c0wvrrY8b0MH31JJaWKI+H8SZSY+U+BYe/xLJptIM4jX/yjbKGZ6iSoWf DGcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b="ri/YwD49"; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=WAw5rzVr; 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 a20-20020aa7cf14000000b0051fddd077c0si3190085edy.461.2023.07.12.17.00.23; Wed, 12 Jul 2023 17:00:48 -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="ri/YwD49"; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=WAw5rzVr; 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 S232257AbjGLXZp (ORCPT + 99 others); Wed, 12 Jul 2023 19:25:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231452AbjGLXZo (ORCPT ); Wed, 12 Jul 2023 19:25:44 -0400 Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4177173F for ; Wed, 12 Jul 2023 16:25:43 -0700 (PDT) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 73C6331677; Wed, 12 Jul 2023 19:25:43 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:cc:subject:message-id:mime-version:content-type; s=sasl; bh= 6tLJhkajTVNl2k/IZqZuVGCkXb7m36AOWdtJm0fAHXU=; b=ri/YwD49sLFWshst t+Jjxices8CJppTQ3FsugfZY2PJ/eu8tBSRYQbKcwcNkCEu6/W9APnHmsOry9AUH XRZHSP2nF6sYo9SqRxc6EYFLVLzKCNFqgvJ6Q1rC0vCllCbaMBnu8YQC4QZ5iHxa LdUzwKoNWXcOH626a8Ul8N9D7VQ= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 6C02D31676; Wed, 12 Jul 2023 19:25:43 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=date:from:to:cc:subject:message-id:mime-version:content-type; s=2019-09.pbsmtp; bh=6tLJhkajTVNl2k/IZqZuVGCkXb7m36AOWdtJm0fAHXU=; b=WAw5rzVrqr7yoKzsWFkPsxMFIHOmSjd1y3IyeKapWXc42eQfjD0Rxim+UuOPjLeJMLXNvO+dLRRkeYN1GyENE5YiSqv0GaASH+YbSQy7Hm1q2weJ6CNt3EYNfjNXFLUS5uP5XVUJF7ZQu68FMk4TbM0vpJ0HUSC4y+l+KN2L+OM= Received: from basil (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id C7DBF31675; Wed, 12 Jul 2023 19:25:37 -0400 (EDT) (envelope-from tdavies@darkphysics.net) Date: Wed, 12 Jul 2023 16:26:27 -0700 From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com Cc: tdavies@darkphysics.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 02/12] Staging: rtl8192e: Rename function DeActivateBAEntry Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Pobox-Relay-ID: 68AB361C-210B-11EE-9C15-C2DA088D43B2-45285927!pb-smtp20.pobox.com 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,URIBL_BLOCKED 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 --- 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, u16 Time) mod_timer(&pBA->timer, jiffies + msecs_to_jiffies(Time)); } -static void DeActivateBAEntry(struct rtllib_device *ieee, struct ba_record *pBA) +static void deactivate_ba_entry(struct rtllib_device *ieee, struct ba_record *pBA) { pBA->b_valid = false; del_timer_sync(&pBA->timer); @@ -30,12 +30,12 @@ static u8 TxTsDeleteBA(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) u8 bSendDELBA = false; if (pPendingBa->b_valid) { - DeActivateBAEntry(ieee, pPendingBa); + deactivate_ba_entry(ieee, pPendingBa); bSendDELBA = true; } if (pAdmittedBa->b_valid) { - DeActivateBAEntry(ieee, pAdmittedBa); + deactivate_ba_entry(ieee, pAdmittedBa); bSendDELBA = true; } return bSendDELBA; @@ -47,7 +47,7 @@ static u8 RxTsDeleteBA(struct rtllib_device *ieee, struct rx_ts_record *pRxTs) u8 bSendDELBA = false; if (pBa->b_valid) { - DeActivateBAEntry(ieee, pBa); + deactivate_ba_entry(ieee, pBa); bSendDELBA = true; } @@ -270,7 +270,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_FlushRxTsPendingPkts(ieee, pTS); - DeActivateBAEntry(ieee, pBA); + deactivate_ba_entry(ieee, pBA); pBA->dialog_token = *pDialogToken; pBA->ba_param_set = *pBaParamSet; pBA->ba_timeout_value = *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); } if (*pStatusCode == ADDBA_STATUS_SUCCESS) { if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) { pTS->bAddBaReqDelayed = true; - DeActivateBAEntry(ieee, pAdmittedBA); + deactivate_ba_entry(ieee, pAdmittedBA); ReasonCode = DELBA_REASON_END_BA; goto OnADDBARsp_Reject; } @@ -378,7 +378,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) pAdmittedBA->ba_timeout_value = *pBaTimeoutVal; pAdmittedBA->ba_start_seq_ctrl = pPendingBA->ba_start_seq_ctrl; pAdmittedBA->ba_param_set = *pBaParamSet; - DeActivateBAEntry(ieee, pAdmittedBA); + deactivate_ba_entry(ieee, pAdmittedBA); activate_ba_entry(pAdmittedBA, *pBaTimeoutVal); } else { pTS->bAddBaReqDelayed = true; @@ -469,7 +469,7 @@ void TsInitAddBA(struct rtllib_device *ieee, struct tx_ts_record *pTS, if (pBA->b_valid && !bOverwritePending) return; - DeActivateBAEntry(ieee, pBA); + deactivate_ba_entry(ieee, pBA); pBA->dialog_token++; pBA->ba_param_set.field.amsdu_support = 0; -- 2.41.0