Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4118719rwo; Tue, 25 Jul 2023 00:28:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlHH/qP//LHg+ij53ZNH35/bSfr2nGPoCdxaQVPQJzcLrKnztXXaNFajK0LcJrNuqwOqMF2g X-Received: by 2002:aa7:d6cb:0:b0:522:38cb:d8cb with SMTP id x11-20020aa7d6cb000000b0052238cbd8cbmr2828540edr.20.1690270097014; Tue, 25 Jul 2023 00:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690270097; cv=none; d=google.com; s=arc-20160816; b=QSyablqh5ZR10wBCCzH+h1D9knOcaEtmKLg0XGe6usmlQroJrf/Z04FRb9fpGnBYYD gf/KjmrN2xeCKoXZcmKdJ7MFLqn36JWU5m5Sq7h2OXONdB2loJrPsPiVcDmZtOlBI1vb GDV2Mt09QtDNIaQwf9ZNprNhQSueChcNji+RhmxM0SeE6nousyuFZVQjYb9uUsxBE/Yv iS2uRRLg9CTqxpfSfmTJ/L8ZfQza0h5Pg/QhxvGuXVaWYAi4TYqGFX8gRqBzHPL9OpdC 2d0IR0AosPbHYpaHpBXyJpbda/QRkce4DQP6DXBcwz4aFgClibQ2rPrkmSh4HKrugsoe 7l1g== 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=xcD5WQdeOjkm7ek2Jmico/3hMbNGVlEd/lWWMaZBmEw=; fh=3jvUQscqe8rwMJMYm8BR5N83dgzqgjDCTpIcxqpBKxM=; b=kwBjZTU/ZkHgOCE1JSxL21IstEMwxTo7OvcbrviYWH1eaG6Tm7igsdNqT/ruML5elw J8k78bDtQ1CMGHSuHff0wokvrVVkZxmD+LUrXPALdYiggYHxlw8JpZn/zuttbFu8K3uY Ux3yJygftXtJEF2ScYVFif8p5eJIYss6/VebNphKPgHMOf4OspD7MHu+lW7+VZ4cMpbO T7KdHDM2xeE4CeIheN16ikhGoEPIp9DtHsPXIE7zdVmZfjcIrLRta55VD6SpgQmgo8+v 1KqFp8JZ9KogxSZ43A6/chloc7sPNMt4eKtC32xb+vXuk/JU9lMTw62zB4ESgft8YkLG INig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=mSRqWWO5; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=BdHPNx8Z; 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 bf10-20020a0564021a4a00b00521e784bbbesi6221059edb.15.2023.07.25.00.27.51; Tue, 25 Jul 2023 00:28:16 -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=mSRqWWO5; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=BdHPNx8Z; 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 S231754AbjGYGgd (ORCPT + 99 others); Tue, 25 Jul 2023 02:36:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232191AbjGYGgb (ORCPT ); Tue, 25 Jul 2023 02:36:31 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B06B61B5 for ; Mon, 24 Jul 2023 23:36:30 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id DCF9D1896BD; Tue, 25 Jul 2023 02:36:29 -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= JTAmyjtLppvdqM2joKEvgN8jNCYYgnmj0cj7wDrhWiY=; b=mSRqWWO5lus57JnD xeBgeadwBD463rS1tnr7lXKF5Mlw1CCAMXk7g9IPoSpNOHI383qr02o3fPqc6Hd5 4DUM5VT62cBOfQYs1GMVDHmjAL/o1IigjxYy2WjiYEIguFRXRlIDfU83hDewHUMc DBSLiUdajwUvm0WwEpjzn20BsSw= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id D62C91896BB; Tue, 25 Jul 2023 02:36:29 -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=JTAmyjtLppvdqM2joKEvgN8jNCYYgnmj0cj7wDrhWiY=; b=BdHPNx8Zm7E1e2das2QcU9iKvPd5sWPM2+hqQ5Y1k05Y2dC8aUn++ZhsUIvbBLb84QEaTYOAGKMw4cqPe5PnpT4x4xOcvFP5TBHMLQoK4/60OdDg1l4wGhcPxUV5CW3Fz3TCH6hEXOlsZcXVJWlsLiBJ1VB2aFZCDFNxf6OgNEk= 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 9FD781896B9; Tue, 25 Jul 2023 02:36:28 -0400 (EDT) (envelope-from tdavies@darkphysics.net) Date: Mon, 24 Jul 2023 23:37:52 -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 3/5] Staging: rtl8192e: Rename function TxTsDeleteBA Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Pobox-Relay-ID: 9632860E-2AB5-11EE-BBFB-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 Rename function TxTsDeleteBA to tx_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 50362bbbc8dd..6538343ea44d 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -23,7 +23,7 @@ static void deactivate_ba_entry(struct rtllib_device *ieee, struct ba_record *pB del_timer_sync(&pBA->timer); } -static u8 TxTsDeleteBA(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) +static u8 tx_ts_delete_ba(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) { struct ba_record *pAdmittedBa = &pTxTs->TxAdmittedBARecord; struct ba_record *pPendingBa = &pTxTs->TxPendingBARecord; @@ -456,7 +456,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) pTxTs->bAddBaReqInProgress = false; pTxTs->bAddBaReqDelayed = false; del_timer_sync(&pTxTs->TsAddBaTimer); - TxTsDeleteBA(ieee, pTxTs); + tx_ts_delete_ba(ieee, pTxTs); } return 0; } @@ -492,7 +492,7 @@ void TsInitDelBA(struct rtllib_device *ieee, struct tx_ts_record *pTxTs = (struct tx_ts_record *)pTsCommonInfo; - if (TxTsDeleteBA(ieee, pTxTs)) + if (tx_ts_delete_ba(ieee, pTxTs)) rtllib_send_DELBA(ieee, pTsCommonInfo->Addr, (pTxTs->TxAdmittedBARecord.b_valid) ? (&pTxTs->TxAdmittedBARecord) : @@ -524,7 +524,7 @@ void TxBaInactTimeout(struct timer_list *t) TxAdmittedBARecord.timer); struct rtllib_device *ieee = container_of(pTxTs, struct rtllib_device, TxTsRecord[pTxTs->num]); - TxTsDeleteBA(ieee, pTxTs); + tx_ts_delete_ba(ieee, pTxTs); rtllib_send_DELBA(ieee, pTxTs->TsCommonInfo.Addr, &pTxTs->TxAdmittedBARecord, TX_DIR, DELBA_REASON_TIMEOUT); -- 2.41.0