Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp846068rwb; Fri, 28 Jul 2023 00:09:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlGcHSHnWZbuJwU1lYrcWb58jgWJi8lULqFnBcnHwgvK237Qrwh08lMJ9D9Sj7LwpCNvQmW4 X-Received: by 2002:a17:906:3f0c:b0:99b:44aa:fae0 with SMTP id c12-20020a1709063f0c00b0099b44aafae0mr1110201ejj.21.1690528162394; Fri, 28 Jul 2023 00:09:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690528162; cv=none; d=google.com; s=arc-20160816; b=c70hZ87pYceMfpJrXtbOnnsDh64aqrW74GuYqwZusiLqCp9enP+Ua8z7DCpth9yCp+ G5gJsjFt95Jdmqz0ickTgexfDujdyub1QST3ZRr+8HQLwzZnS2B/mtFh3SzZm8g+kZRH TM9ZEelPA/pvLsJNqdKydRRg0BbGgs8ejM5VPURdz3b/KHScKKRunjIXsSpoYISjZp5A QiMjbksdDmy7DqDbDChtE8QBOsOwpnqhULIgxjslFO9yICH2zSJT+F9kLkRJI3CKUVqu 6hOBT5Jy2YG6z6oQIABwahetu0AdvyGvXG0zjhF+P1+MNiWZd5Ptg+idIDrUKn0WDDPA +3pQ== 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=WvQZZRcKrY9s9Lxyt2h80HK3bt+pUGZkezks5DeVgB4=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=aAKX1JI4R+7nI6A+3FZtvd11dsHyzUfaXevE5LucyPBa0sB/tP58tr+/EAZmKeNcLg pEiAO05g+ofWCk0LXx2zydHIqu0xuu32HgfyOjDot12U1nNU88N6+4uCTWCGZ8KqlsX7 tGpkMRN8xrYoa8vYHaZ3SouFEnCUuQpgZLr2CgNSXGDgQ8/Jasjl2jDd6UCa+CHen4a3 cdXsqy41L1/t/y/1A8VTvwGoOIasulJ5Si7tOy+n/r3ggxtZvf/Moxfe3ak6trL0E7ke 9hlNkR8NpIlqyJCd2NBSow77zJPR0vtw3kNJxCRWF41IvXGKBQ6BUww8laCbyWia+lBZ xACw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=nqJ7r5iG; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=kzBcCHGK; 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 rl19-20020a170907217300b0098718777182si2197384ejb.685.2023.07.28.00.08.57; Fri, 28 Jul 2023 00:09:22 -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=nqJ7r5iG; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=kzBcCHGK; 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 S233353AbjG1GTO (ORCPT + 99 others); Fri, 28 Jul 2023 02:19:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233497AbjG1GTK (ORCPT ); Fri, 28 Jul 2023 02:19:10 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E543B3ABD for ; Thu, 27 Jul 2023 23:18:41 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id C7D0B1A8D0D; Fri, 28 Jul 2023 02:18:10 -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=6DozYcWGpai+70tN92/WhExeB h8ebB3Bn6oBjVQK1T4=; b=nqJ7r5iGgh1f+ScCotRcI2AYfEH1lDOqAtOR5bvr8 RcFtuVIOd8HhG7hC8GvvOXO2sNK382xruF9HzxuIcwQkx+nLj7LMg3Uv8+bn2P/4 L/8MFdm23+eHd3UZewOCHYz5exSWwoytsWivmSXyjsr8QEyok5+TSylm+tqheJbw 4g= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id C0FD21A8D0C; Fri, 28 Jul 2023 02:18:10 -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=gLP+8ekI4uyWYNGCTV5ZuJN04h5oF4Jz1y/73M9N2t4=; b=kzBcCHGK4YMq9dSe3LQ5S2KLPvfpB4WIqKnv5MC+iUlXwoVky5Rb5pwQzF63OCDFrA4zlDCQdCh4FAlpji5qhWpsig3h6ZQwMvHQ0Z9bgChr4r87eqTTd6mMU+TI7sfQSmJI8T3Og+hge18l8C0qegqWY0q9o16sNTC/41TGi3Y= 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 273111A8D08; Fri, 28 Jul 2023 02:18:08 -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 1/5] Staging: rtl8192e: Rename function ActivateBAEntry Date: Thu, 27 Jul 2023 23:19:26 -0700 Message-ID: <20230728061930.624540-2-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: 8624FAD4-2D0E-11EE-90E5-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 --- 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 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