From patchwork Tue Jul 25 06:38:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 125373 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp2296515vqg; Tue, 25 Jul 2023 00:30:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlEUNbFaAT2BPOaG2K4y8vXd9MH+QD12l8KXICNOW+hgDS4cDY0OI6cLmJkugOwmSXkpz332 X-Received: by 2002:a17:906:738c:b0:991:f427:2fe7 with SMTP id f12-20020a170906738c00b00991f4272fe7mr9855332ejl.62.1690270214833; Tue, 25 Jul 2023 00:30:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690270214; cv=none; d=google.com; s=arc-20160816; b=lxje427RPxRHDaA4KN0GiIB/RaTVKbF43XrmEJEq9B5AKjSE8pSOvNpLxsVIGzi50+ ioIYP2qgoh2olsB4SueOehAQQoR67Vdu0w0FuQjfQMXmVYvS99ecJHYJ2ZZo/kE/ELyF zHXeVe/ufmDFtOfnEoGIGjReQAuWosH4JrRLjgoSyuqQ+cL9uvybqPQjUmb3WBQBQStH +uia7/jHgEx+w+k7OoF5a4ucHnOgheYrcfrsgKRVtBpW6XJCUL337iCeRafjNLFHm7a7 j6Q7wmHU0r7+ZL/Nk39aluwAXJAy4y8v+h+EryhI5lluW6ppekLu2i4wRKlZJpY5hDLr pYmA== 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=EhIkl6SziIeQ2WytJPX9EiJf9eS4cxW4dj77oQRxTKI=; fh=3jvUQscqe8rwMJMYm8BR5N83dgzqgjDCTpIcxqpBKxM=; b=GApnlviCjM4RRTmkm3vIVbdWMRJnG2Ac8Pz9GLy9GMOnTgo5/yiC40TpL1L/H2Xjvd kQsLfub3L97td26fU3WZqdK1ugZgoZHkL2TchIY/wnNHh4oitCz7aBiM77c/E/3WRuNL 8gV2zdAIaKpkOoCbHZa52yyU0cxoL3TCYWXCdgFz7z2U/XJSs/Yr64hQYtoUL4usnPHC 2q7THeMWtz1PPdJFMcHqv5P6ba8gc3/6i3dtQiPO7+b7jToIsWTFlA8z932iLy2hmxxI rUn8k+Ott+vke4s7dOTVO3g3MtqOHEbSdMTIImmpAAMwJ6jm4aXcqp2tMK8qfgVCr/R3 ShwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=rrAFVkbC; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=mk6djttU; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a7-20020a1709064a4700b0098d2f9279fcsi7216453ejv.498.2023.07.25.00.29.50; Tue, 25 Jul 2023 00:30:14 -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=rrAFVkbC; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=mk6djttU; 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 S232201AbjGYGgr (ORCPT + 99 others); Tue, 25 Jul 2023 02:36:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231381AbjGYGgp (ORCPT ); Tue, 25 Jul 2023 02:36:45 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4ADF1A3 for ; Mon, 24 Jul 2023 23:36:42 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0634A1896C1; Tue, 25 Jul 2023 02:36:42 -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= sWuZ1xA3Q1ipdadY/YTup/fAvLBuKcZgiH7KwkT64/4=; b=rrAFVkbCJUGI+KwO FT1aGRBBkK9hKn4x8m75LlUY+88/KMg17fI1hhhKRTF+O78QayX3TtRgLyAaTIS1 KcJvySaHp0B6TL9IV9j71M0W6ISFS9IcKekHE7v/Vmkv76t63R3BqmrTSvmRVABu +Yx+VaAbTs3WPYU1OpIZGdrZpKE= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id F32331896C0; Tue, 25 Jul 2023 02:36:41 -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=sWuZ1xA3Q1ipdadY/YTup/fAvLBuKcZgiH7KwkT64/4=; b=mk6djttUWXfjn2oVp3RQHSAzgTXLbCbpvS52Y/aWW6Eq5YlKYk0bL4/Lz/FIvADLoxDhvwHcYnzV2uQqZV1gNmFoQ8tTqy+9osRzsKLB2M7OF1grWFO0IureC+tKOHQ9UrwgYfNwbt6jX/CdmqYT6S0HUdeL1YY9L3z7AVtX0oM= 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-smtp1.pobox.com (Postfix) with ESMTPSA id 7F6BE1896BF; Tue, 25 Jul 2023 02:36:40 -0400 (EDT) (envelope-from tdavies@darkphysics.net) Date: Mon, 24 Jul 2023 23:38:04 -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 4/5] Staging: rtl8192e: Rename function RxTsDeleteBA Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Pobox-Relay-ID: 9D43FA9A-2AB5-11EE-93E3-C65BE52EC81B-45285927!pb-smtp1.pobox.com 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772376780950692620 X-GMAIL-MSGID: 1772376780950692620 Rename function RxTsDeleteBA to rx_ts_delete_ba in order to Fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- 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, struct tx_ts_record *pTxTs return bSendDELBA; } -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_record *pRxTs) { struct ba_record *pBa = &pRxTs->rx_admitted_ba_record; u8 bSendDELBA = false; @@ -441,7 +441,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) return -1; } - RxTsDeleteBA(ieee, pRxTs); + rx_ts_delete_ba(ieee, pRxTs); } else { struct tx_ts_record *pTxTs; @@ -501,7 +501,7 @@ void TsInitDelBA(struct rtllib_device *ieee, } else if (TxRxSelect == RX_DIR) { struct rx_ts_record *pRxTs = (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 = container_of(pRxTs, struct rtllib_device, RxTsRecord[pRxTs->num]); - 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);