Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp816344rwb; Thu, 27 Jul 2023 23:33:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlHKBalIChW3sQDDRNJ8Zy0PKJis+avL+9txqpSoD0Tm+1eY8JaaSkw6N/0fQ13okrRUS2Z8 X-Received: by 2002:a17:902:d382:b0:1bb:aa83:f848 with SMTP id e2-20020a170902d38200b001bbaa83f848mr865517pld.43.1690526014523; Thu, 27 Jul 2023 23:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690526014; cv=none; d=google.com; s=arc-20160816; b=acvSXBJGdoMeZ0r8oW2VegVG+R70kePXPjK07JbPI1Tn+HY9mNaiK3YF6kjXvtJVHq SelLeNoKWZN+w3wHHlL5/oAowbabUVErn8BSdeHw0z6Q6EDnY4nO9ueQjcQOql7XpgGF f2d+DykxJGA/ckRySWwtEAoJDgMe9Xdw44X/Q2Ah3BWGDDjth3X9du7uPaydK5ht8CRK velcPUGVD1L1AIIMLnsW53qNp+Mq3hyJRMQris8WP1i+qlmCwUzAdjKiR6W0cGEzc952 CY78SKoleE3175HekYpecizuDDJSQAq86tCP5cKpPiWtRt2GgF9rC2s0OX/jEbqVqAFE ZJQA== 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=FLHr7JE7eR2hVCL8qK/7V7hV83YEsYhzkb9UVWZuRVo=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=uB6+o16P435eB6Mt1Fb0DW49PUVjYfjzaibQ39cNg8vAHnaZ6rxDXcllkYbVgRMoL9 W5q+BqvVe8qcxRLyjhM3AK3zGCeT79I+ReShxyV8G1D4U03GQ9BggVPuJ0goRZAmpOyb NgLmhzSYSALGW+1lpiQcEnQi3JHW3tHJiRV0Q9LUDCgiku/cWNKGmt/6XbbZtLupPx2C s3KUmklsSPjIBYOcJzMqokLqzTmk4ILyRdNYvSd7zyYBn92Npx794Rd2/S6yV12hFvhU na9khT9HyRqLJsd7fpjMM+EDvy9wpRWzE7virBnzU1cFqzGScSOi5ro/guNJflM2Mn3P n/OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=I1qMnGst; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b="ZG/8rpaJ"; 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 d7-20020a170902cec700b001b89bd6fd59si2783762plg.215.2023.07.27.23.33.20; Thu, 27 Jul 2023 23:33:34 -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=I1qMnGst; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b="ZG/8rpaJ"; 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 S233443AbjG1Fqu (ORCPT + 99 others); Fri, 28 Jul 2023 01:46:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233426AbjG1Fqi (ORCPT ); Fri, 28 Jul 2023 01:46:38 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7557C4214 for ; Thu, 27 Jul 2023 22:46:21 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 4DC201A8A11; Fri, 28 Jul 2023 01:46:20 -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=iCwVO6jGOiBIBqDolYR3kWBma U32fg07fliL7o3+4Is=; b=I1qMnGst73Nb7cCb7KewYxIXivipIFBRKIW7CuN0J //7DSy/yfk8A3oKc65s8X22aOHv3TEczxQIZ4pcRVKpiwZmRYIFh6qc4Dr+Gtpbu Aczp2v9rOddIovElc0uVcvlcOcw5HRpZY4FzsvGaEeG3e7MKnubSSjqELJBtxeFs Bw= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 46AE11A8A0F; Fri, 28 Jul 2023 01:46:20 -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=24Xd1pthCGWJK6YnUgs+USJpDGry96/kEyz1494g6To=; b=ZG/8rpaJmK+lkOinsiuOjLh2V2v/q3OhuV/AvcVdestpd3RtAw/05keoGJ/2cYbEL68OoijREHruqT53RnBCmhfH76gBTPnIYtB5Evsy+XvHS6AJ2fIwBdbRequCEyUqA0K62LmxdsWh5PC5pEZIoIwsXHgExNuvxUwiLjJaEEg= 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 E76261A8A0B; Fri, 28 Jul 2023 01:46:17 -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 v3 1/5] Staging: rtl8192e: Rename function ActivateBAEntry Date: Thu, 27 Jul 2023 22:47:38 -0700 Message-ID: <20230728054742.622297-2-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230728054742.622297-1-tdavies@darkphysics.net> References: <20230728054742.622297-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 13828734-2D0A-11EE-A639-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 ActivateBAEntry to activate_ba_entry in order to Fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- 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 acc19514bca6..965ffa8b78c2 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -10,7 +10,7 @@ #include "rtllib.h" #include "rtl819x_BA.h" =20 -static void ActivateBAEntry(struct ba_record *pBA, u16 Time) +static void activate_ba_entry(struct ba_record *pBA, u16 Time) { pBA->b_valid =3D true; if (Time !=3D 0) @@ -282,7 +282,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, st= ruct sk_buff *skb) else pBA->ba_param_set.field.buffer_size =3D 32; =20 - ActivateBAEntry(pBA, 0); + activate_ba_entry(pBA, 0); rtllib_send_ADDBARsp(ieee, dst, pBA, ADDBA_STATUS_SUCCESS); =20 return 0; @@ -379,7 +379,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, st= ruct sk_buff *skb) pAdmittedBA->ba_start_seq_ctrl =3D pPendingBA->ba_start_seq_ctrl; pAdmittedBA->ba_param_set =3D *pBaParamSet; DeActivateBAEntry(ieee, pAdmittedBA); - ActivateBAEntry(pAdmittedBA, *pBaTimeoutVal); + activate_ba_entry(pAdmittedBA, *pBaTimeoutVal); } else { pTS->bAddBaReqDelayed =3D true; pTS->bDisable_AddBa =3D true; @@ -479,7 +479,7 @@ void TsInitAddBA(struct rtllib_device *ieee, struct t= x_ts_record *pTS, pBA->ba_timeout_value =3D 0; pBA->ba_start_seq_ctrl.field.seq_num =3D (pTS->TxCurSeq + 3) % 4096; =20 - ActivateBAEntry(pBA, BA_SETUP_TIMEOUT); + activate_ba_entry(pBA, BA_SETUP_TIMEOUT); =20 rtllib_send_ADDBAReq(ieee, pTS->TsCommonInfo.Addr, pBA); } --=20 2.41.0