Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1984533rwb; Wed, 26 Jul 2023 23:40:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlE9y+futvIpeW5+Twb9OQ1MU4dQJuS33BTaQJF7BDHWp3CqI5ci+N32/2LSoASyGDRWTESz X-Received: by 2002:aa7:d7c3:0:b0:522:2a3c:6eb with SMTP id e3-20020aa7d7c3000000b005222a3c06ebmr714251eds.39.1690440002164; Wed, 26 Jul 2023 23:40:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690440002; cv=none; d=google.com; s=arc-20160816; b=m+Xm3hzTvMwmFOizLp3CDlk6Gd3h9azv/dfmruqQG+TxsjBjX0ib3jNUsJaprWo/VY 1JFU4LL6htdk3+JoDZp0LyRxspUGGWLqpbj3Hu+OiWg+zPU/QhqCGK6JNeHCTdxFK4YX 3m+2hHfK8h8qUe3C+QFJqUHxkDHgoNwqK7DhSy5D5s+pQUZQZK62zVcPFRxdUU/3vES+ mTOAFChMc1UrvlnTK/D2ulaZ1mMNKZgzTfaVjGfTJFipdqouoT4n6KtAPCLrdb6atUId C6CchFCUG0sTzEs8KY76XAuqcB4cBX7ddKbn85pyclljONuI4nI3xAWZJFkUjrlEaIIa YuaA== 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=6hMsGqaNBMf9RKZt6coPIr82r2MCXdb3UqNX0Nk7J18=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=nt4YZUr+Z9MrPosvdcNaG/ZgDlkPqXBfxC1/APojKydyKlKcHAhFakh2hp+aRtKQ7C sCD+YAp12DWFlhyA6gHp+lmMYesu/vZOOqyVWp1iXdq2dou6EFFxY0Q7PRCA1snzNZMU rWB49zf+Scwx3N0ngsTsNl6PoRqI9KdwFK157imY0gHzmSCivSBzMEGPG9AXfQQXbNun COeSryVmiqvSXKG1fkBi3PNT4WM7UpjvmB2smQ3vq+wNT/aXn1rQc5Mg0RLK3Ss/UxEr xbbcQtd9XUedN9LLQW6LAf9L/RT0RprIRoBh6DyFYU8znyexbBaXjtmitwPLtfzpagWa 7YFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=BKybc7cv; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=HB9FsdwU; 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 q22-20020a056402033600b005224fe1a24asi468077edw.545.2023.07.26.23.39.37; Wed, 26 Jul 2023 23:40:02 -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=BKybc7cv; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=HB9FsdwU; 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 S232793AbjG0GTG (ORCPT + 99 others); Thu, 27 Jul 2023 02:19:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232790AbjG0GTC (ORCPT ); Thu, 27 Jul 2023 02:19:02 -0400 Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CD2C1BF4 for ; Wed, 26 Jul 2023 23:18:57 -0700 (PDT) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 7913F2B793; Thu, 27 Jul 2023 02:18:56 -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=IU8A8PZ9W+A0JO3G16mxqG6cS ypU2mpJz2SkBXof0YY=; b=BKybc7cvhy9d1fH/5vPwJfBOO/LfdjeDQEH6M8Tgk pvvYAB1bhDEcWaGbI4x6GwVGgMOt+bMycsPl8Y+tr16LMlaa7t7/RIiUt8gVusE5 1j830fa1to5oMjoZ9QDBpmT9RTnoO5hvPGLcl77/mHp+oi7e2mhmW6Xna7DkB/2A qg= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 72BC82B792; Thu, 27 Jul 2023 02:18:56 -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=FwbRkTmD760tFABw6uBxFVmbVS/mye61TkAt1MYiwFo=; b=HB9FsdwUowv5zuoMVe5GUhlOn1ele4ZTBkiwcj6DZgxW7o3hXZ9KqJBPrPEjwRx/vAy6Wo031hTK7GSXDPDtc2waHaR06322nM5NqaTg81BkznKk4pkgYeGvITErD7uZQExcAZ23yBREpui7oed53nDcSQUWwgckwQrfN62R3q0= 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 805F32B78F; Thu, 27 Jul 2023 02:18:51 -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 5/5] Staging: rtl8192e: Rename function ResetBaEntry Date: Wed, 26 Jul 2023 23:19:48 -0700 Message-ID: <20230727061948.579480-6-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: 753A2560-2C45-11EE-8C62-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 ResetBaEntry to reset_ba_entry in order to Fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- v2: Sent with git send-email drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 6 +++--- drivers/staging/rtl8192e/rtllib.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/= rtl8192e/rtl819x_BAProc.c index 9662d75257ce..cb6450206763 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -54,7 +54,7 @@ static u8 rx_ts_delete_ba(struct rtllib_device *ieee, s= truct rx_ts_record *pRxTs return bSendDELBA; } =20 -void ResetBaEntry(struct ba_record *pBA) +void reset_ba_entry(struct ba_record *pBA) { pBA->b_valid =3D false; pBA->ba_param_set.short_data =3D 0; diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/= rtl8192e/rtl819x_TSProc.c index c61fdf73c572..21ffbb6b231f 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -117,8 +117,8 @@ static void ResetTxTsEntry(struct tx_ts_record *pTS) pTS->bAddBaReqDelayed =3D false; pTS->bUsingBa =3D false; pTS->bDisable_AddBa =3D false; - ResetBaEntry(&pTS->TxAdmittedBARecord); - ResetBaEntry(&pTS->TxPendingBARecord); + reset_ba_entry(&pTS->TxAdmittedBARecord); + reset_ba_entry(&pTS->TxPendingBARecord); } =20 static void ResetRxTsEntry(struct rx_ts_record *pTS) @@ -126,7 +126,7 @@ static void ResetRxTsEntry(struct rx_ts_record *pTS) ResetTsCommonInfo(&pTS->ts_common_info); pTS->rx_indicate_seq =3D 0xffff; pTS->rx_timeout_indicate_seq =3D 0xffff; - ResetBaEntry(&pTS->rx_admitted_ba_record); + reset_ba_entry(&pTS->rx_admitted_ba_record); } =20 void TSInitialize(struct rtllib_device *ieee) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e= /rtllib.h index e3ce4431d460..ccc9e7bbbcbb 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -2016,7 +2016,7 @@ void TsInitDelBA(struct rtllib_device *ieee, void BaSetupTimeOut(struct timer_list *t); void TxBaInactTimeout(struct timer_list *t); void RxBaInactTimeout(struct timer_list *t); -void ResetBaEntry(struct ba_record *pBA); +void reset_ba_entry(struct ba_record *pBA); bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 = *Addr, u8 TID, enum tr_select TxRxSelect, bool bAddNewTs); void TSInitialize(struct rtllib_device *ieee); --=20 2.41.0