Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2010955rwb; Thu, 27 Jul 2023 00:08:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlGOHLmGcP4MVZA9kJoqBFvxvEz7wjL15oJfyLd1kgDEHGc2Mg72O21wQBOFBsIPN//Y/eUq X-Received: by 2002:a17:906:8466:b0:99b:d599:5086 with SMTP id hx6-20020a170906846600b0099bd5995086mr1245323ejc.75.1690441689136; Thu, 27 Jul 2023 00:08:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690441689; cv=none; d=google.com; s=arc-20160816; b=cFWfIslhfOgsUpb7kewuHsJ2zVjLRr5L8PMGsBsuxW+l91NdZ9kzD142J5wZaAa5Xu KIzoD52fjVnnaYz132KfVfDnRh2WI3ZOe8aOuivp8v3imh9RKqaZNvkoU3Kk+spBrNb/ VA6rWxcSO+4W6QJKdrdW5Iu9WkSWPv69nlOBF0kI/xVYYhkjGHWfBHvP9tbbcz8MUfSl 0z2d+p0JKJn1l1W/8DHptURi7mjeRVwqnfZHh0AxytC9jTJyJ+C692/eI3WwWUYhglEj EfGCCJiSmS3jd02Rb6oAzwh/nfJ85nwtZQqUTNPD45bEXhZus4+P7SfJooc/0/NJYeGR Fvhw== 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=CQ6Ob5RqSVjHdXjRh+JhpjgnTWDQ4PkTFMHMW0WhJts=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=f3ZsOtf4UouGnYV8yhBAIeySiSVEDRx1mAwfxG1rP3Y2Lr9tZ8H20yf8kXKtKVyUOz XML9Rc0IMjqUQ7AW4LNeAV4iqLl5DbY99kDBr0zZAqH/uZw6FKFIcHdO/Yx28apxwc5V UvJZxtYwm0vvLpsKei3H3zxAtOOGoNXR9x2Op6OBkCdDhgrqN+OYHw4yNgSXAXhZd+qW iSQZrcr1ychAlWS0r+HDmNrF6L7YJGmwFW47MdJp/TlU5YJgL4/Tve397lgddEqN7a3K XiJOzwH43m2plX+A1M22VXe/z4ahn0vNtUVWgCRYciAEhg2HuHIEje1XwcTBGgeijpzh w8KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=uWKlvcki; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=tgyH7eAx; 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 a2-20020a1709065f8200b00991f9f3b83bsi595481eju.228.2023.07.27.00.07.44; Thu, 27 Jul 2023 00:08:09 -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=uWKlvcki; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=tgyH7eAx; 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 S232761AbjG0GTC (ORCPT + 99 others); Thu, 27 Jul 2023 02:19:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232796AbjG0GS4 (ORCPT ); Thu, 27 Jul 2023 02:18:56 -0400 Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B35F26A4 for ; Wed, 26 Jul 2023 23:18:53 -0700 (PDT) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id B98162B791; Thu, 27 Jul 2023 02:18:52 -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=tOyyhkPnH5cG5/zI7R728hV/k IfXWRQqdfhJ+bAnmjM=; b=uWKlvckig6wJIvZLTGdEEMdlciZK8VpYMBRlMDjse 8BoGBw+zSYwTxE3tkM/ARfo6i6FlD/w8r7jNYpZEUtZGVon7nV9X9eFtG23Uj2Lu uw7YOd34vaKh56fIvMDFUbnqVtyCySdou8A3RQpfCZyuvjqujJm0f9yyqdCPdxnK 5s= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id B0DD92B790; Thu, 27 Jul 2023 02:18:52 -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=Fv4x/SzXu8s71D0ldmujCVmzDHwbAuZyPBt8Gw5BYHE=; b=tgyH7eAxyfad10N2q+CfJfhreKvEuUoD3Zf6nEYh99uWXVUE10lNf3KJw+DgKQycM2OXDEhxk8AFB/zAxOUh+wT2s2TXZSGQGa/1ZN8V7Av2nFJzltg+jT7Le+KbHVlwD4TkTrJwkTX0CZ7+e5wkpN1BqOQe88NAJwzQVEZlwMU= 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-smtp21.pobox.com (Postfix) with ESMTPSA id 232432B78C; Thu, 27 Jul 2023 02:18:48 -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 v2 4/5] Staging: rtl8192e: Rename function RxTsDeleteBA Date: Wed, 26 Jul 2023 23:19:47 -0700 Message-ID: <20230727061948.579480-5-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230727061948.579480-1-tdavies@darkphysics.net> References: <20230727061948.579480-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 733A3F2A-2C45-11EE-A8B8-B31D44D1D7AA-45285927!pb-smtp21.pobox.com Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 --- v2: Sent with git send-email 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