Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp829154rwb; Thu, 27 Jul 2023 23:49:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlFZ7zDSfNkqZokiezMCfIYhAGDCWmbv6W7RjERLNSP0MSxEh1ktRfSdalvFNhKMMNxvTaVN X-Received: by 2002:a05:6808:304:b0:398:34da:daad with SMTP id i4-20020a056808030400b0039834dadaadmr2136163oie.51.1690526998007; Thu, 27 Jul 2023 23:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690526997; cv=none; d=google.com; s=arc-20160816; b=bijg0UC1YoGxPYVcgZq0HUyx+8o5IXXUqnWXzartg0gRGzessq76jK/Sf12eSOwGom o+dfQDQcmgl+pJzcigQ98ZVT1jM9lwRdACc+OngDpWIHbMHGraP7q39Cu0ewvZaqB1sy xEvDafrAaLfFSw28oYo6OOtZLYjjlj85drRrZHZFqk3yH+sLyvHlyzmXKLZ7PsuGNoAz MXOY6C09/0I4LwiRLajU5lapjXznoLYQb2lMAE5iFJLv2IOfRevnbIQ1SWtj1GzbLrb6 I4EzXbgGFi5VSJSeagdy8/7Mz34C5qY/WaO6N6Qv6t5Fc0RtuM2XCI2cSIVKIVkUFdsa RbLQ== 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=LJgoJcsYGim7LTkI77pzmFtkjI+VCA85pPdZixqKz+s=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=pnlhq6WwAeo1mvVtG/fhqHgzGBj/dltHhn6t0zJXWH85FShLq0wnGWVKnOZAiSqzra p5yfcQOSs5Kh/0b8iEtkNizKpMB6MlGxEKNS6d9xQ1Y0ASrUMcsUGySDgnY4C16pxEtu NiobYGpsBIQgx+5zzCv/AiE4eXonG8PIf3LZus+RusySzO/PLjn6vFqwLtRQO0DCx5Mm W+WFo4Qc5D8zsK8aTnuyv/6Qfv7daEUvjHBQw2q06gJyJAugLO0gmxY66KlgBHlUhp6h 8xIGrhY1o1ziS85m5qFqHR6Uk1cZ9rlyqw5Pu9Sc4ULKj/yx08F1jRzvjpgisjcf4HNQ Kepg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=G8Z+ZVVi; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=tLmYe7Q8; 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 g8-20020a17090a640800b0025e81e3e0c1si1742570pjj.187.2023.07.27.23.49.45; Thu, 27 Jul 2023 23:49:57 -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=G8Z+ZVVi; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=tLmYe7Q8; 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 S233548AbjG1GT0 (ORCPT + 99 others); Fri, 28 Jul 2023 02:19:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233523AbjG1GTW (ORCPT ); Fri, 28 Jul 2023 02:19:22 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13861422A for ; Thu, 27 Jul 2023 23:18:51 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 958371A8D1C; Fri, 28 Jul 2023 02:18:17 -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=6wbE+b3eVTEl5JFy1TZ+bCkBE 90FAdLDnnQfs6Ey7sY=; b=G8Z+ZVVij1M3XZ0rIMkK8ocol0o91QC9ML6Z2DLsW XJmQbnZnDb9Tpi6dM2ozGQdbuk8IObeu1F/M2LhUPJifPDSjrtsxLHzwNGZVZBzk a8DRkDLSUcdTKbHHM27cse7RfqSNv3IcGS+lptyu+2anNqBeKg4agQZ4Z+QZJTzt KY= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 8E8B51A8D1A; Fri, 28 Jul 2023 02:18:17 -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=KFf1g/fvlcjp5JfdzMMLkzLtnS8FfEMWtEw5UKL5ZrI=; b=tLmYe7Q80PjDg1EUPtwYw/vCj7vUVqbtezwG+ai0jTxZGY8bZZedeNLVwKkHnpY1nvlGQPRBQMvyLqCxa09CO31D8AyJlDJWfWVV8RHp6zncJrOrD3knpomPQhWardEY9NlAos95Q//TiAJFOmE3VF+3/E2j3thVsfDSneCPkDE= 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 593231A8D13; Fri, 28 Jul 2023 02:18:15 -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 4/5] Staging: rtl8192e: Rename function RxTsDeleteBA Date: Thu, 27 Jul 2023 23:19:29 -0700 Message-ID: <20230728061930.624540-5-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: 8A62E264-2D0E-11EE-9A06-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 RxTsDeleteBA to rx_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 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