Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp818149rwb; Thu, 27 Jul 2023 23:35:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlGUzRphqGdQsoRd6XVYGro/qtUhP9u9Ys4UfiAD72tAD3tp7pef6drkNcokOCYrkEWiqqoL X-Received: by 2002:a05:6808:140b:b0:3a3:f237:61db with SMTP id w11-20020a056808140b00b003a3f23761dbmr2171662oiv.11.1690526145214; Thu, 27 Jul 2023 23:35:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690526145; cv=none; d=google.com; s=arc-20160816; b=eELkXcQ0lkZ10SXeneuvt5Ei1LSIPZdKNFjDB7Z2uFwCrtzhK2M1KXfc79gadT77kx hiOusZaMLl7pfEDTAeb2TxzloiQKj+8Miy65eyJYLpflZq+VgygJShbcaoJXHCf32kX3 M1TkYZ1gVxXo/GuAzmxLls1JkmqKq/WfU/VpjM1PG1Mz6imO+7O/GxL8n/DqPHc52f7p vkG6oYPANmxrHMjb5yTytSEYlozSakRS/2eb25yoJiqgRxsUdXAqa4iTbKkTIaZGqAtG GJMXooZbb1LsuTEkljh2QKQHVcFfQZAKi4DclY4IQLoBMm3uCoDBdPRNwcKkOeZ75eSv ppZg== 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=X+EWFAn88hjr0yyXie8uRUuluAGT0Pv9xljt1HAotOg=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=yX2BShaJqQgLXMZRzuBozZxiCI1Nk7ySoxiRCi14nb1WTDB4hKMJ+4WvaLW1Th1/Ft Q1uTnFM77lPcy9apFEqYu8ZXho3/qaXBBXpOZ0Q7NIMdczIUk4OMvCH6y6yR0nVvLWFf 19iDjkcfqozdkOXA9gB/ePJql/2SmcOAR0eR/Ab41oyRJwPfbMdgAw+/gAsYNLf04fqL tRkLajv/IdpGp4J6etvF9R/BEDH8m/syMtYzjJJlFypDL+BriYo1Vw6wGNGd1FeDejRn kS+R3lJ3iUT/npzrGL7/YWvaRC7835i15sRpnktPh8w2AAUEIKBEionqT3tFC3lDd9Ck Kkrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=fZGBPBux; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=F25RS3gb; 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 j5-20020a17090a694500b002635643286fsi4118611pjm.133.2023.07.27.23.35.33; Thu, 27 Jul 2023 23:35:45 -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=fZGBPBux; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=F25RS3gb; 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 S232532AbjG1FrL (ORCPT + 99 others); Fri, 28 Jul 2023 01:47:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233456AbjG1Fqs (ORCPT ); Fri, 28 Jul 2023 01:46:48 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCAA63A96 for ; Thu, 27 Jul 2023 22:46:27 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 1A22E1A8A1B; Fri, 28 Jul 2023 01:46:27 -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=EcRi2wbRNFJnE2zKy6iOeN2R0 2xtFKxUKxuvoQUs84Q=; b=fZGBPBux0n3E95X2KDz4pJ57aFihbFOOsqt+8ziMB V5eLnjyoRKr7NHf1GOsqcl8C6IfnBpxv3yyRcz1iXmvtRxm2ZUhp0IAIBJnkuRAI XAc1P6a2CusAXcCKLlhIuTf/BCRyR7IAKA7bPoSeobjk25/ZnXRS8TQEML0ZEW4d WU= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 11C971A8A1A; Fri, 28 Jul 2023 01:46:27 -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=9T29Lvp0prLCwwsQJisEgoAvnGRNoCbCVIXQxoBStNc=; b=F25RS3gbPD6PKKlHXCVP6KHLVrl4se9hm0ZGrfaBrefYoacKO0crm9LkFvCJurIfPP6+jwMr+dhv64hyw5OtJjr9tiMdj/EKY3DsM+ksxoRhNtVTXsrP9aooNA9V5gYlTCj98fsGn/BpxshlBYi+/hEA6c2fWDXmZdpD2RAofLM= 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 B5D771A8A15; Fri, 28 Jul 2023 01:46:24 -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 4/5] Staging: rtl8192e: Rename function RxTsDeleteBA Date: Thu, 27 Jul 2023 22:47:41 -0700 Message-ID: <20230728054742.622297-5-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: 178F38B8-2D0A-11EE-91A5-C65BE52EC81B-45285927!pb-smtp1.pobox.com Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 RxTsDeleteBA to rx_ts_delete_ba in order to Fix checkpatc= h warning: Avoid CamelCase Signed-off-by: Tree Davies --- v3: Changed patch #5, Rename global function ResetBaEntry to rtllib_reset= _ba_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/= rtl8192e/rtl819x_BAProc.c index 6538343ea44d..9662d75257ce 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -41,7 +41,7 @@ static u8 tx_ts_delete_ba(struct rtllib_device *ieee, s= truct tx_ts_record *pTxTs return bSendDELBA; } =20 -static u8 RxTsDeleteBA(struct rtllib_device *ieee, struct rx_ts_record *= pRxTs) +static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_recor= d *pRxTs) { struct ba_record *pBa =3D &pRxTs->rx_admitted_ba_record; u8 bSendDELBA =3D false; @@ -441,7 +441,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struc= t sk_buff *skb) return -1; } =20 - RxTsDeleteBA(ieee, pRxTs); + rx_ts_delete_ba(ieee, pRxTs); } else { struct tx_ts_record *pTxTs; =20 @@ -501,7 +501,7 @@ void TsInitDelBA(struct rtllib_device *ieee, } else if (TxRxSelect =3D=3D RX_DIR) { struct rx_ts_record *pRxTs =3D (struct rx_ts_record *)pTsCommonInfo; - if (RxTsDeleteBA(ieee, pRxTs)) + if (rx_ts_delete_ba(ieee, pRxTs)) rtllib_send_DELBA(ieee, pTsCommonInfo->Addr, &pRxTs->rx_admitted_ba_record, TxRxSelect, DELBA_REASON_END_BA); @@ -537,7 +537,7 @@ void RxBaInactTimeout(struct timer_list *t) struct rtllib_device *ieee =3D container_of(pRxTs, struct rtllib_device= , RxTsRecord[pRxTs->num]); =20 - RxTsDeleteBA(ieee, pRxTs); + rx_ts_delete_ba(ieee, pRxTs); rtllib_send_DELBA(ieee, pRxTs->ts_common_info.Addr, &pRxTs->rx_admitted_ba_record, RX_DIR, DELBA_REASON_TIMEOUT); --=20 2.41.0