Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp810445rwb; Thu, 27 Jul 2023 23:26:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlEQiL67kC4pPMA36D/+qq4+JYHO4LX3TW9avr8sw+Ums9CunpTroyGe/tH8ZzGZ0q3Kd+MF X-Received: by 2002:a05:6870:7023:b0:1b3:54b5:ac6e with SMTP id u35-20020a056870702300b001b354b5ac6emr2197730oae.50.1690525564577; Thu, 27 Jul 2023 23:26:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690525564; cv=none; d=google.com; s=arc-20160816; b=ANNcr61FAFGVdQUFl0rqMrRST2ADuTPPPoFJhymvjLjZZFmdl7cmbGFTyyAD1RyKLu bynuaNmwejMzD/PQEMOphaJL5mA2Hc9wGbvT+aB3/weHuTpU5RtP8p1VF7yTaHoTbwB9 E0Bp79JP+M0Tb0G2ehg2Qp3pvQRKUoPquOzJUwMpahwtx0yxjXI2CNTNwd5zXAdV7b42 5BluXAZxtYGG1ttvBb7EDRjJhU/pqRiBysJI7de9tApQe6LJCewjkRXofzeGcTMSrX0D FB+xrVA+ixTM/0lqG12mOZM5nTyUmEhNH3EgFAquRA4dvNY5dLtix6qJt3XU2OlfSO40 RyfQ== 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=xv7uRXnr1Q4cFOq6gFdG3W6b4AAynBh9zM2OTfJTS6I=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=Ykr+35hKWgtm9ubuxiWIoI9AfJ++AQEeiBZyW/OMfrFPwg7dN+zQqndCmetNM9oRMK peryWHjm0PLOm+99ZEOxNS0HGvDMEOQoPQPqeWAz8jFiA15IhVdQD8+z9tYzPPxlc+aU 11aqhMBo6/XlFcOIts6Dx5l5Xr6cucw3Uv783w+qBlnOfHapVDg02cz/eZd6zF8AoQD1 WlWKYT9LDhR1Qlf7AAgkC24f9ZVXfJgQoxJqHFv0gxiQZ1QNid/GhvPW0bL4imLWOeaO wjGiaxO666MWQ1rxRvc0WA5J8FW9bH0jEMVb2F2i4P3JrmT8icy+0DhH9sHaweC4pjG/ jvlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=MROTE7Qa; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=BvVvo8Uh; 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 ef6-20020a056a002c8600b006765f19e479si2659536pfb.132.2023.07.27.23.25.51; Thu, 27 Jul 2023 23:26:04 -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=MROTE7Qa; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=BvVvo8Uh; 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 S233509AbjG1FrI (ORCPT + 99 others); Fri, 28 Jul 2023 01:47:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233422AbjG1Fqr (ORCPT ); Fri, 28 Jul 2023 01:46:47 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FE6735BC for ; Thu, 27 Jul 2023 22:46:25 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id C59211A8A18; Fri, 28 Jul 2023 01:46:24 -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=vuC+4twD3q5HakwgwCCXlBp17 7Y5dq6cOm17Ks5zucA=; b=MROTE7Qao+/nAHEubaCmQz4BWVckdD35PWYTyrj1N nis6RJKMDgGite8An9s7DVD58qQ5umvapkh2sAbMfBZ+TMvGukZcHN+P5lqnG+Xs 1AqWqbyGfMzh4oVOWzl+d9sYlam9ceJs5zqW8/okAIKJJ9oOuJ70dPoVCLawjFhE bY= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id BEEAF1A8A17; Fri, 28 Jul 2023 01:46:24 -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=kUiQhzWGu8tDVz0ciDkAb8X23tdlX5LrBDYAXPzU9oQ=; b=BvVvo8Uh+lZLTgMyuLILadE3m+Rs+KXEQIbG+dPGRG7ULLuQvuV6ouM93kZbqvnyJkPJ/6Uc+/+SfsYzh7yXk2P6jmkyOoaksxboiirk2AQAkjGdwcoNA4rKtKRtsuGHVrYjsKuOkpEqtmQGHJgZtEB8/Uj64CzOs38EAon8kYQ= 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 62C931A8A12; Fri, 28 Jul 2023 01:46:22 -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 3/5] Staging: rtl8192e: Rename function TxTsDeleteBA Date: Thu, 27 Jul 2023 22:47:40 -0700 Message-ID: <20230728054742.622297-4-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: 162A1FD8-2D0A-11EE-9DC1-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 TxTsDeleteBA to tx_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 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 *i= eee, struct ba_record *pB del_timer_sync(&pBA->timer); } =20 -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_recor= d *pTxTs) { struct ba_record *pAdmittedBa =3D &pTxTs->TxAdmittedBARecord; struct ba_record *pPendingBa =3D &pTxTs->TxPendingBARecord; @@ -456,7 +456,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struc= t sk_buff *skb) pTxTs->bAddBaReqInProgress =3D false; pTxTs->bAddBaReqDelayed =3D 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 =3D (struct tx_ts_record *)pTsCommonInfo; =20 - 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 =3D 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); --=20 2.41.0