Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp833990rwb; Thu, 27 Jul 2023 23:57:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlE7L6ZGHo47x8pk0DL8Y3DCJ1J0j8i3KM4Lqc68/RrutCseSx8TzADoffjXdFIOhSyjbfkU X-Received: by 2002:a17:90b:3712:b0:262:e6d2:2d6 with SMTP id mg18-20020a17090b371200b00262e6d202d6mr958918pjb.47.1690527420453; Thu, 27 Jul 2023 23:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690527420; cv=none; d=google.com; s=arc-20160816; b=KPOpQWtoGuWRxWPQaABje+bW9pAryBP+5qBljoQRZgIVKdelM6RxTuSqtiATZOGo4K SRBa14bn7aUMHvFJQumV46aVTiKqAt9DYKtYcs0XP9CJxYFXa8lJcDYDS5bS2vqqXveA Thb980qFUpHYmIACYOnLjYpMC1ZHrih93cQCKRVFw+Dc95gpa4JZGy9CIJkMD68H81XB 9DebFTD8k4Qo6C6O0TOa9rfQgZ3k6o/fOiXk3kEdx5Raz3GvsYlz2uWNkLq2vaawHea1 MYFZ2TgsFU2QYVxgkyhC+XRJj+tPhnJHEJM+LlHEAvUO4AYnib8U5SYg28mu71qjAfHn SJXg== 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=ERDv9zZ6doqisqSPy7I+QHyZeImMSBGWAcuH0OyGxoY=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=clH75yZ1qi4maT4xg/sBYDLX901dxkcwddm7fdbFX5qsVzZlJ75vadAjToTmi9wVUh dbN1N6heoJEghkm/WHH+eeVpvRPPli7n8Np19tjt/tmTShkIqb2OMsPw7KFPiB78MZZP 8YdpwTV+qS0JN5kmLJaZz4ak7cdF2VofgcPDVSrCRlreYRDeTBR9RzXT1lX86/oFGg7V fSDZgECEF7edVIJN1NCd1vAvcEuMK57RJvLDQ0CY4QVhuLsTQ0Rcy/xiudh3r40e7ato Q6MNIrcZfUYzUFmdFg5h4ERcYB/U20eUW57WviPv9B6OYLLc2FMR5V3sbz2V7Dogq+2C e/OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b="r5wA3wk/"; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b="I0qIJ0//"; 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 c4-20020a17090a8d0400b0025bb9fc0fa1si2675516pjo.83.2023.07.27.23.56.47; Thu, 27 Jul 2023 23:57:00 -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="r5wA3wk/"; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b="I0qIJ0//"; 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 S233520AbjG1GTX (ORCPT + 99 others); Fri, 28 Jul 2023 02:19:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233508AbjG1GTV (ORCPT ); Fri, 28 Jul 2023 02:19:21 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 413E14227 for ; Thu, 27 Jul 2023 23:18:50 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 6E06B1A8D15; Fri, 28 Jul 2023 02:18:15 -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=OiV0njMtvH9qWAdC500rUNA/t fiOlHiTZyJUFPDpZT4=; b=r5wA3wk/UPymoUvFComw7ycJ9OwtKVjBso8lp+MM6 kvsh5Bj87ujlyFawJQyV378/iGdVXF6jRJQK63KCtSuOIOD+CMOa8j4kch17LJJ+ 6+LFuMLRWFqbBYdccOHz51o/fbFPA1COPMaCXbyTxVILhoEKb2DBz+ngus5psSru kg= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 66BFD1A8D14; Fri, 28 Jul 2023 02:18:15 -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=f9flxcSu4TBNa6nh5mI3LwHd7NstE09ghZl7BbcmNSE=; b=I0qIJ0//fmeysgWMvoIij2y/Fevl8l+LnwQ/620UiO+SqRBp4ewdJBsub+hIrWgTt1+Do5lQr7YYVlE1GRpn3L2vZPSC1sQ3JnCLhFv1f47fiQccMvaD30tOlFnqSubfLMCshqyp8HAfU+7tch2M/IDRRX9uDwSI2svgkyZhqoo= 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 E128A1A8D0E; Fri, 28 Jul 2023 02:18:12 -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 v4 3/5] Staging: rtl8192e: Rename function TxTsDeleteBA Date: Thu, 27 Jul 2023 23:19:28 -0700 Message-ID: <20230728061930.624540-4-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230728061930.624540-1-tdavies@darkphysics.net> References: <20230728061930.624540-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 88E9AEEA-2D0E-11EE-8F68-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 --- v4: Resending. git send-email failed to send patch #5. 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