Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4124872rwo; Tue, 25 Jul 2023 00:35:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlGKzbemaMWvH18aQL6Q+vFJ8In0Zswvv045qSrRJAEnQac8s3YaXAXBjbzP3zoOV736mPGc X-Received: by 2002:a17:907:7784:b0:982:2278:bcef with SMTP id ky4-20020a170907778400b009822278bcefmr11411905ejc.60.1690270531035; Tue, 25 Jul 2023 00:35:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690270531; cv=none; d=google.com; s=arc-20160816; b=b5Ndv+wRsm0D9BpGFFlMdIx78Uet2B82AuqhamDMMnfRAT9EST7jen5ZtohqjlNIGS 7eguHvabQFzOLNcDBH3w0eNoqgVczLtcTN+9HesxZ3v3/Al1X5kZkFpiFofwPvznXXvb eMaBqDiPOxVE1J2RmxvPTwR/37L/lng46A3FXPKxEBocSpqkvDidWd6gwRtrbGWeiCfI gt8wn7Jd7z7tJq64e1I/+PA0YrwMCg+KKyGOvttnjzM1i6MzU9Gq+8e+X+kuP5NU6DAf d46dLT4EfR7bQ65pPIF2Ap2PZC4xOXUBRrir4v782CsinJPLnq+QA9bXdOUf/kOdrQaX xR4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=/5XGs8L36wT7IxgxZ9OXSdgmQ/pWnJbHeXpJIenXTkc=; fh=3jvUQscqe8rwMJMYm8BR5N83dgzqgjDCTpIcxqpBKxM=; b=nxwSHqLzhHWGCkEdU5Qtjow0bwmrlgPbv4HSIefdmbfMmHT+jxV7Zl7Wmumat044NS CbjqI93j+g3Jj9D5dlEJX0B23tPNIekagqI9zC4msKXE5hBk6caWfC9/s/vq3k8VgfjL jr4WlPfriXsaJ0tP1hMr81tALoL9k1NxvVsbA/NBB6elRfjljkIDZc2YzxHqcyqmFlTF Zp4J4/MHWlpusVJt4FENSTnExh1doeQmpp32isG5hzIQ7CqQ368ZjgZni8AoRZ3f/SES UoujqOEVsDXAoTXcL31Og7T+A4cJpToN+Pc1R0M/HzZsRTfSrPqVUH5KsyWrdcqMAXil q3Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=EF0osaC0; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=fx7UH30d; 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 jt8-20020a170906dfc800b00993629db66csi7806911ejc.226.2023.07.25.00.35.07; Tue, 25 Jul 2023 00:35:31 -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=EF0osaC0; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=fx7UH30d; 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 S230103AbjGYGhE (ORCPT + 99 others); Tue, 25 Jul 2023 02:37:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231709AbjGYGg7 (ORCPT ); Tue, 25 Jul 2023 02:36:59 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 796691BDB for ; Mon, 24 Jul 2023 23:36:56 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id CF7241896C4; Tue, 25 Jul 2023 02:36:55 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:cc:subject:message-id:mime-version:content-type; s=sasl; bh= 4ifpopfsPEbuguZHPOneJiNiH/D5ZRPZeKyy8QviyPA=; b=EF0osaC0Cl0qhYKD 7FaWNNMuWjTU3iSIrEFnv4CPghfiMid2dHTIG3Uv4yRQpprEKbVW2Fswu/fiIMTB dDopSi5ER9HfPiQxDaVKja7Ol4dy0Tai6FRew6DqWtU/LcqvT+Q5TQUUtSb/5jzg yO8gj11GKpx/hnSb/moCbJnf9FU= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id C75A71896C3; Tue, 25 Jul 2023 02:36:55 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=date:from:to:cc:subject:message-id:mime-version:content-type; s=2019-09.pbsmtp; bh=4ifpopfsPEbuguZHPOneJiNiH/D5ZRPZeKyy8QviyPA=; b=fx7UH30dcEa+7G9DdAqslpwervs0CBRYjGOqQAaqYTLp4QWdxB5m89CdOFeBJ7hB732UvUUaK1927iddlbt5RfizoNudExs5IW2+AUMA4hDoGH82GXuFnjpkGwmldZ44lqhyS/+Tqsl1npBRhPeR/Is70SDn2A7axow97Ae44VY= Received: from basil (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 11BDC1896C2; Tue, 25 Jul 2023 02:36:53 -0400 (EDT) (envelope-from tdavies@darkphysics.net) Date: Mon, 24 Jul 2023 23:38:18 -0700 From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com Cc: tdavies@darkphysics.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] Staging: rtl8192e: Rename function ResetBaEntry Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Pobox-Relay-ID: A557BF32-2AB5-11EE-A909-C65BE52EC81B-45285927!pb-smtp1.pobox.com 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 ResetBaEntry to reset_ba_entry in order to Fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- 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, struct rx_ts_record *pRxTs return bSendDELBA; } -void ResetBaEntry(struct ba_record *pBA) +void reset_ba_entry(struct ba_record *pBA) { pBA->b_valid = false; pBA->ba_param_set.short_data = 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 = false; pTS->bUsingBa = false; pTS->bDisable_AddBa = false; - ResetBaEntry(&pTS->TxAdmittedBARecord); - ResetBaEntry(&pTS->TxPendingBARecord); + reset_ba_entry(&pTS->TxAdmittedBARecord); + reset_ba_entry(&pTS->TxPendingBARecord); } 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 = 0xffff; pTS->rx_timeout_indicate_seq = 0xffff; - ResetBaEntry(&pTS->rx_admitted_ba_record); + reset_ba_entry(&pTS->rx_admitted_ba_record); } 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); -- 2.41.0