From nobody Thu Dec 18 20:34:27 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD980C001B0 for ; Sun, 13 Aug 2023 06:48:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230145AbjHMGsn (ORCPT ); Sun, 13 Aug 2023 02:48:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230062AbjHMGsj (ORCPT ); Sun, 13 Aug 2023 02:48:39 -0400 Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADF94E54 for ; Sat, 12 Aug 2023 23:48:42 -0700 (PDT) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 16EF21A3DD9; Sun, 13 Aug 2023 02:48:42 -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=uCEB4UTOuYP665ySAfd9c1BvS Hb0rWEFjz1u7Ivb5Gk=; b=dfH5ho/xN1hBTXY+y0Ubl2cUFHn0+KNO9gVf6rmdc PFaDuw5zFr+BqGP7Dzi5+2OrRulLNMs1+ToNx7DrXTktQQbwicuuzJK7IbBhPPiU vMt1gtWtCwBbsX9U1CCBfaHeViOuqo2Y/xvVnDHFU3WTUjjMLh+jWmZvOQPYPBcL Ps= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 0F76E1A3DD8; Sun, 13 Aug 2023 02:48:42 -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=GhnUVZWmEQeXBkgxU0RKp9mDgMhU6CHVk+Jc5KMqd94=; b=ZtqKwDiEeaqK76U6Av/8ptcP3+EHDo/hhxSKeQwT7hfHyQZq/ckdmEno6TO8pD8Hj2XENN+ZWVLR10mW0B4PNlBu13z2U42AMZYpfH0NDn3xTwWHvQo4R/kDhhLfWhPxp2Nu2R8E0yiaJTWTXlU1uihOvyKHc9iBoWTakW5M0IQ= 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-smtp2.pobox.com (Postfix) with ESMTPSA id B3B291A3DD2; Sun, 13 Aug 2023 02:48:39 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH v2 1/6] Staging: rtl8192e: Rename variable pBa in function rx_ts_delete_ba() Date: Sat, 12 Aug 2023 23:50:30 -0700 Message-ID: <20230813065035.95157-2-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230813065035.95157-1-tdavies@darkphysics.net> References: <20230813065035.95157-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 704B7E1A-39A5-11EE-8A15-307A8E0A682E-45285927!pb-smtp2.pobox.com Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Rename variable pBa in function rx_ts_delete_ba() to rx_ts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2:Resending in smaller patch series drivers/staging/rtl8192e/rtl819x_BAProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rt= l8192e/rtl819x_BAProc.c index 0e3372868f97..1eff30533f47 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -41,9 +41,9 @@ static u8 tx_ts_delete_ba(struct rtllib_device *ieee, str= uct tx_ts_record *pTxTs return bSendDELBA; } =20 -static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_record = *pRxTs) +static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_record = *rx_ts) { - struct ba_record *pBa =3D &pRxTs->rx_admitted_ba_record; + struct ba_record *pBa =3D &rx_ts->rx_admitted_ba_record; u8 bSendDELBA =3D false; =20 if (pBa->b_valid) { --=20 2.41.0 From nobody Thu Dec 18 20:34:27 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70950C04A6A for ; Sun, 13 Aug 2023 06:48:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229524AbjHMGss (ORCPT ); Sun, 13 Aug 2023 02:48:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230123AbjHMGsm (ORCPT ); Sun, 13 Aug 2023 02:48:42 -0400 Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06BF7E54 for ; Sat, 12 Aug 2023 23:48:45 -0700 (PDT) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 614421A3DDC; Sun, 13 Aug 2023 02:48:44 -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=sVee+W8119kwgUAW/R4Ll71lA 937X6iLrza/lgqQ3sI=; b=VQ8Y9ZhnhMTSJtRooUdxg5/UsT57W80qGPs8HJ/N+ 1OFdDyzx9rXAfpKziYodZ3a8/zEHviMVKLmNvg9ZI7+ySTQeEYtf7A365CrKfdRr A05nsE3bfncHsra2FpqTCb6f3lfn2M6Q5rXzRHx6tIWKRWb+clJEDS+r+xqBIk6E Xk= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 598E31A3DDB; Sun, 13 Aug 2023 02:48:44 -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=4Zlyxu74DmQiQA44UrA7Mb0JkNtuyzCmhp1IS86V+sE=; b=VBcF1eNDO8rBaRKCM/PIth9fMZT3JLrJAjVYAGfWtK6Noikz2HJ3+jZ3QI1mFjECBqpg4JHObEgTsH13S5CDw/T1rVAzWG7sZRr8M2+gg/tyV5l5oDSaur1YNpnAqiNa+fU91T3pJKHI1/OmdNXBDKmaIBMOk8tHrofFGukFeMc= 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-smtp2.pobox.com (Postfix) with ESMTPSA id 0D7C61A3DD7; Sun, 13 Aug 2023 02:48:41 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH v2 2/6] Staging: rtl8192e: Rename variable pTS in function rtllib_rx_ADDBAReq() Date: Sat, 12 Aug 2023 23:50:31 -0700 Message-ID: <20230813065035.95157-3-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230813065035.95157-1-tdavies@darkphysics.net> References: <20230813065035.95157-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 71AD2B8C-39A5-11EE-A4E7-307A8E0A682E-45285927!pb-smtp2.pobox.com Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Rename variable pTS in function rtllib_rx_ADDBAReq() to rx_ts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2:Resending in smaller patch series 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/rt= l8192e/rtl819x_BAProc.c index 1eff30533f47..2748ab59545c 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -220,7 +220,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, stru= ct sk_buff *skb) union ba_param_set *pBaParamSet =3D NULL; u16 *pBaTimeoutVal =3D NULL; union sequence_control *pBaStartSeqCtrl =3D NULL; - struct rx_ts_record *pTS =3D NULL; + struct rx_ts_record *rx_ts =3D NULL; =20 if (skb->len < sizeof(struct rtllib_hdr_3addr) + 9) { netdev_warn(ieee->dev, "Invalid skb len in BAREQ(%d / %d)\n", @@ -253,13 +253,13 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, st= ruct sk_buff *skb) ieee->ht_info->bCurrentHTSupport); goto OnADDBAReq_Fail; } - if (!GetTs(ieee, (struct ts_common_info **)&pTS, dst, + if (!GetTs(ieee, (struct ts_common_info **)&rx_ts, dst, (u8)(pBaParamSet->field.tid), RX_DIR, true)) { rc =3D ADDBA_STATUS_REFUSED; netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__); goto OnADDBAReq_Fail; } - pBA =3D &pTS->rx_admitted_ba_record; + pBA =3D &rx_ts->rx_admitted_ba_record; =20 if (pBaParamSet->field.ba_policy =3D=3D BA_POLICY_DELAYED) { rc =3D ADDBA_STATUS_INVALID_PARAM; @@ -268,7 +268,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, stru= ct sk_buff *skb) goto OnADDBAReq_Fail; } =20 - rtllib_FlushRxTsPendingPkts(ieee, pTS); + rtllib_FlushRxTsPendingPkts(ieee, rx_ts); =20 deactivate_ba_entry(ieee, pBA); pBA->dialog_token =3D *pDialogToken; --=20 2.41.0 From nobody Thu Dec 18 20:34:27 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C2CAC001B0 for ; Sun, 13 Aug 2023 06:49:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229923AbjHMGsv (ORCPT ); Sun, 13 Aug 2023 02:48:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230150AbjHMGsp (ORCPT ); Sun, 13 Aug 2023 02:48:45 -0400 Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB0F8E6F for ; Sat, 12 Aug 2023 23:48:47 -0700 (PDT) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 3B8511A3DE0; Sun, 13 Aug 2023 02:48:47 -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=zBOXxFlXhrf1RjPzF6+rmLd0Z MWFJ6+65TqlcGLISxU=; b=waL98kLdHD4orieR4iZLLjI7lIY14sEMQ4GlDUpAk jM5vDrtifKmh+TdiuZcxzTnKaujaJ4WlrLf9HFGouZ8XO5dorhoFEJzflQ0E3cHl WUcB03IH5DqGFoBxbA7EcTR3k9ToUDj9oPq5/m610ERXH6TmZxKRLwIX2ghMzpH8 68= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 320C81A3DDF; Sun, 13 Aug 2023 02:48:47 -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=JVaCb9tmu+WW/Fg7eZ3B/4jnnfkvF5WISQEbg+cV2B8=; b=opywYggZRdn+j8l+qc9+dKCAJFqCvZI8YXNsIzikDvz/69kIbJUt1MIPXslw8WyMoI5IdguL9QggQ1qOMa0VJ3J1ZSSKVdT3A3F6jZ8mltlb6Ay6vWN8oiOwrjcbBFHGwjtRZ6trXFJC++OAWiEztWIOUwAbbjYv78axXXekTf4= 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-smtp2.pobox.com (Postfix) with ESMTPSA id 4C8461A3DDA; Sun, 13 Aug 2023 02:48:44 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH v2 3/6] Staging: rtl8192e: Rename variable pRxTs in function rtllib_rx_DELBA() Date: Sat, 12 Aug 2023 23:50:32 -0700 Message-ID: <20230813065035.95157-4-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230813065035.95157-1-tdavies@darkphysics.net> References: <20230813065035.95157-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 7341B2B0-39A5-11EE-ABA0-307A8E0A682E-45285927!pb-smtp2.pobox.com Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Rename variable pRxTs in function rtllib_rx_DELBA() to rx_ts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2:Resending in smaller patch series drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rt= l8192e/rtl819x_BAProc.c index 2748ab59545c..39a5da44b8eb 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -430,9 +430,9 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct = sk_buff *skb) pDelBaParamSet =3D (union delba_param_set *)&delba->payload[2]; =20 if (pDelBaParamSet->field.initiator =3D=3D 1) { - struct rx_ts_record *pRxTs; + struct rx_ts_record *rx_ts; =20 - if (!GetTs(ieee, (struct ts_common_info **)&pRxTs, dst, + if (!GetTs(ieee, (struct ts_common_info **)&rx_ts, dst, (u8)pDelBaParamSet->field.tid, RX_DIR, false)) { netdev_warn(ieee->dev, "%s(): can't get TS for RXTS. dst:%pM TID:%d\n", @@ -441,7 +441,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct = sk_buff *skb) return -1; } =20 - rx_ts_delete_ba(ieee, pRxTs); + rx_ts_delete_ba(ieee, rx_ts); } else { struct tx_ts_record *pTxTs; =20 --=20 2.41.0 From nobody Thu Dec 18 20:34:27 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CF24C04A6A for ; Sun, 13 Aug 2023 06:49:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230203AbjHMGsy (ORCPT ); Sun, 13 Aug 2023 02:48:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230152AbjHMGsr (ORCPT ); Sun, 13 Aug 2023 02:48:47 -0400 Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB3BEE54 for ; Sat, 12 Aug 2023 23:48:49 -0700 (PDT) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 48F671A3DE4; Sun, 13 Aug 2023 02:48:49 -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=eO/NOpIAtsuXdLOfyuhKn+JVw HizoSxfuLXc+Rpr+gQ=; b=Ewh8aaOVC+jyTA4oyngGCHr93m6nD8g2E5qFmz+xv YZBCaSV1P2HJuIlqbfTDqsHO28hhjTqm/UyG7XRtbpjS2aCcJIHiC8mQYD5UHQL8 bbpR7OfHFrywCI68p0qMEtHasi24gTwjcWnexYZFvKM613JexS38p1A6l5OPRb8a uc= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 405C21A3DE3; Sun, 13 Aug 2023 02:48:49 -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=zvHdIDtwCi7U1BtS4goJCQxphQHyORE9FWpNPBUkOeg=; b=sfugEIkBLLSeEWy/r2vauoh1yQPuEOVqaG824IQxTVr6Z+g/kGEKRGJ2Fo//fhx5sqPMFayh48V8C+oTujKTStwuZdXiYuk5QshF21xzYpRa6ivsReLRatyx0wZYF5Ad65ZE4SddCWWp7nfGI5X56VwKQiS5atw6W8Aev/EwIII= 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-smtp2.pobox.com (Postfix) with ESMTPSA id 27E701A3DDE; Sun, 13 Aug 2023 02:48:47 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH v2 4/6] Staging: rtl8192e: Rename variable pRxTs in function rtllib_ts_init_del_ba() Date: Sat, 12 Aug 2023 23:50:33 -0700 Message-ID: <20230813065035.95157-5-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230813065035.95157-1-tdavies@darkphysics.net> References: <20230813065035.95157-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 74BADC02-39A5-11EE-AFCA-307A8E0A682E-45285927!pb-smtp2.pobox.com Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Rename variable pRxTs in function rtllib_ts_init_del_ba() to rx_ts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2:Resending in smaller patch series drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rt= l8192e/rtl819x_BAProc.c index 39a5da44b8eb..da2e53dea8e0 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -499,11 +499,11 @@ void rtllib_ts_init_del_ba(struct rtllib_device *ieee, (&pTxTs->TxPendingBARecord), TxRxSelect, DELBA_REASON_END_BA); } else if (TxRxSelect =3D=3D RX_DIR) { - struct rx_ts_record *pRxTs =3D + struct rx_ts_record *rx_ts =3D (struct rx_ts_record *)pTsCommonInfo; - if (rx_ts_delete_ba(ieee, pRxTs)) + if (rx_ts_delete_ba(ieee, rx_ts)) rtllib_send_DELBA(ieee, pTsCommonInfo->Addr, - &pRxTs->rx_admitted_ba_record, + &rx_ts->rx_admitted_ba_record, TxRxSelect, DELBA_REASON_END_BA); } } --=20 2.41.0 From nobody Thu Dec 18 20:34:27 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FD8BC41513 for ; Sun, 13 Aug 2023 06:49:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230212AbjHMGs7 (ORCPT ); Sun, 13 Aug 2023 02:48:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230166AbjHMGst (ORCPT ); Sun, 13 Aug 2023 02:48:49 -0400 Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66F1EE54 for ; Sat, 12 Aug 2023 23:48:52 -0700 (PDT) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id CC30E1A3DE9; Sun, 13 Aug 2023 02:48:51 -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=BMC/7IaF/sjtsTG58vcmOhUis BsZGg5Sf4mHcj7JsNA=; b=qloEyjdNwRN7PA1HvEdxV8ZJbqKQKz0PRMG5yhHQr WzrUVrzvmfnySF/3mEHxQ7dVZFQ5vKQH0iEJ+4vxQDwmH1jRz9ae2EszRpkY2Tcf Sa2af+tegLcytJqd1MSpQMDzpQL8ijkfsqI+PBSBoRd7TaGqALihotFpYRegLKMF V8= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id C32C91A3DE8; Sun, 13 Aug 2023 02:48:51 -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=YQtKiC9IL+ckvaRqHHraV72+xa+y/exxqYNagOVGscc=; b=m1U9KJhV9eHYH6APom/joc+yX7DORMY5+BuCpV2RWXKEw/h5wT4YufQ9jDcKPNtzm+7iJ/reiJWCfLUTdUInSnqT8vbTfrMNtZIk1aWCgg+Lhp0dzeNrUznkoyUjy4rona1e0eqLatHbbgO8phlpxjac8uQn2JQ4Zxkk2A9rlR0= 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-smtp2.pobox.com (Postfix) with ESMTPSA id 35D721A3DE2; Sun, 13 Aug 2023 02:48:49 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH v2 5/6] Staging: rtl8192e: Rename variable pRxTs in function rtllib_rx_ba_inact_timeout() Date: Sat, 12 Aug 2023 23:50:34 -0700 Message-ID: <20230813065035.95157-6-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230813065035.95157-1-tdavies@darkphysics.net> References: <20230813065035.95157-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 75F3E974-39A5-11EE-AC99-307A8E0A682E-45285927!pb-smtp2.pobox.com Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Rename varialbe pRxTs in function rtllib_rx_ba_inact_timeout() to rx_ts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2:Resending in smaller patch series drivers/staging/rtl8192e/rtl819x_BAProc.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rt= l8192e/rtl819x_BAProc.c index da2e53dea8e0..d3f1454ba5b0 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -532,13 +532,13 @@ void rtllib_tx_ba_inact_timeout(struct timer_list *t) =20 void rtllib_rx_ba_inact_timeout(struct timer_list *t) { - struct rx_ts_record *pRxTs =3D from_timer(pRxTs, t, + struct rx_ts_record *rx_ts =3D from_timer(rx_ts, t, rx_admitted_ba_record.timer); - struct rtllib_device *ieee =3D container_of(pRxTs, struct rtllib_device, - RxTsRecord[pRxTs->num]); + struct rtllib_device *ieee =3D container_of(rx_ts, struct rtllib_device, + RxTsRecord[rx_ts->num]); =20 - rx_ts_delete_ba(ieee, pRxTs); - rtllib_send_DELBA(ieee, pRxTs->ts_common_info.Addr, - &pRxTs->rx_admitted_ba_record, RX_DIR, + rx_ts_delete_ba(ieee, rx_ts); + rtllib_send_DELBA(ieee, rx_ts->ts_common_info.Addr, + &rx_ts->rx_admitted_ba_record, RX_DIR, DELBA_REASON_TIMEOUT); } --=20 2.41.0 From nobody Thu Dec 18 20:34:27 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EBA82C001B0 for ; Sun, 13 Aug 2023 06:49:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230256AbjHMGtF (ORCPT ); Sun, 13 Aug 2023 02:49:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230209AbjHMGsz (ORCPT ); Sun, 13 Aug 2023 02:48:55 -0400 Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07191171D for ; Sat, 12 Aug 2023 23:48:54 -0700 (PDT) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 63EC21A3DEB; Sun, 13 Aug 2023 02:48:54 -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=PcLXtUljWKv/4ouQcNZrq39h6 QaqnaGY6jwx/OUHT9o=; b=fM/2ESp5FMd0PMzMhT4EYpFBH7YM3mktWYfRdSuMq ON9vaXdXv+qUKtkyZlb9CF/DFHSH/VswJtYQLSDOCtOuxfHHc+OAKKWfG9ERCf5e 1Pw7GRoxQ5ZsXWiewxT4wTRteXd8NWC0//4v87S1W81v5BBDK78Jx+dh7HC82sFU Pw= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 5B8FB1A3DEA; Sun, 13 Aug 2023 02:48:54 -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=xivH+ZMVje0qkRNh8Vy/E+f0jKARuDcnh8KGiyXJu2E=; b=idL3b1NsJBHsLIbbQHWpLN6FQ8LdCffzaKDN1YXh68mZOZNdQEQ5nqmLp5g0k1ZmRO5H3pi91h313id12apU/RIIg1+GF1CNDX+vljAJtnOZD5r/QBip/T4Fg28N0irxCDtFmiUnFNzE7Bjb/x1UREdq+XxqMmoXrP7O59k0FJE= 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-smtp2.pobox.com (Postfix) with ESMTPSA id BBDBD1A3DE6; Sun, 13 Aug 2023 02:48:51 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH v2 6/6] Staging: rtl8192e: Rename variable pRxTs in function RxPktPendingTimeout() Date: Sat, 12 Aug 2023 23:50:35 -0700 Message-ID: <20230813065035.95157-7-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230813065035.95157-1-tdavies@darkphysics.net> References: <20230813065035.95157-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: 777C790A-39A5-11EE-BC63-307A8E0A682E-45285927!pb-smtp2.pobox.com Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Rename variable pRxTs in function RxPktPendingTimeout() to rx_ts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- v2:Resending in smaller patch series drivers/staging/rtl8192e/rtl819x_TSProc.c | 32 +++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rt= l8192e/rtl819x_TSProc.c index 24a8b9fc0168..1c78134fc625 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -10,10 +10,10 @@ =20 static void RxPktPendingTimeout(struct timer_list *t) { - struct rx_ts_record *pRxTs =3D from_timer(pRxTs, t, + struct rx_ts_record *rx_ts =3D from_timer(rx_ts, t, rx_pkt_pending_timer); - struct rtllib_device *ieee =3D container_of(pRxTs, struct rtllib_device, - RxTsRecord[pRxTs->num]); + struct rtllib_device *ieee =3D container_of(rx_ts, struct rtllib_device, + RxTsRecord[rx_ts->num]); =20 struct rx_reorder_entry *pReorderEntry =3D NULL; =20 @@ -22,24 +22,24 @@ static void RxPktPendingTimeout(struct timer_list *t) bool bPktInBuf =3D false; =20 spin_lock_irqsave(&(ieee->reorder_spinlock), flags); - if (pRxTs->rx_timeout_indicate_seq !=3D 0xffff) { - while (!list_empty(&pRxTs->rx_pending_pkt_list)) { + if (rx_ts->rx_timeout_indicate_seq !=3D 0xffff) { + while (!list_empty(&rx_ts->rx_pending_pkt_list)) { pReorderEntry =3D (struct rx_reorder_entry *) - list_entry(pRxTs->rx_pending_pkt_list.prev, + list_entry(rx_ts->rx_pending_pkt_list.prev, struct rx_reorder_entry, List); if (index =3D=3D 0) - pRxTs->rx_indicate_seq =3D pReorderEntry->SeqNum; + rx_ts->rx_indicate_seq =3D pReorderEntry->SeqNum; =20 if (SN_LESS(pReorderEntry->SeqNum, - pRxTs->rx_indicate_seq) || + rx_ts->rx_indicate_seq) || SN_EQUAL(pReorderEntry->SeqNum, - pRxTs->rx_indicate_seq)) { + rx_ts->rx_indicate_seq)) { list_del_init(&pReorderEntry->List); =20 if (SN_EQUAL(pReorderEntry->SeqNum, - pRxTs->rx_indicate_seq)) - pRxTs->rx_indicate_seq =3D - (pRxTs->rx_indicate_seq + 1) % 4096; + rx_ts->rx_indicate_seq)) + rx_ts->rx_indicate_seq =3D + (rx_ts->rx_indicate_seq + 1) % 4096; =20 netdev_dbg(ieee->dev, "%s(): Indicate SeqNum: %d\n", @@ -58,7 +58,7 @@ static void RxPktPendingTimeout(struct timer_list *t) } =20 if (index > 0) { - pRxTs->rx_timeout_indicate_seq =3D 0xffff; + rx_ts->rx_timeout_indicate_seq =3D 0xffff; =20 if (index > REORDER_WIN_SIZE) { netdev_warn(ieee->dev, @@ -72,9 +72,9 @@ static void RxPktPendingTimeout(struct timer_list *t) bPktInBuf =3D false; } =20 - if (bPktInBuf && (pRxTs->rx_timeout_indicate_seq =3D=3D 0xffff)) { - pRxTs->rx_timeout_indicate_seq =3D pRxTs->rx_indicate_seq; - mod_timer(&pRxTs->rx_pkt_pending_timer, jiffies + + if (bPktInBuf && (rx_ts->rx_timeout_indicate_seq =3D=3D 0xffff)) { + rx_ts->rx_timeout_indicate_seq =3D rx_ts->rx_indicate_seq; + mod_timer(&rx_ts->rx_pkt_pending_timer, jiffies + msecs_to_jiffies(ieee->ht_info->rx_reorder_pending_time) ); } --=20 2.41.0