Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1902435rdg; Sun, 13 Aug 2023 00:30:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHV0Tre88kfHkpG03AN7m1vm8cLlrqjSbdB29vvc5bT0Fs4A5hqnddckb4bJVy0PBDbIAPd X-Received: by 2002:a17:906:51:b0:99c:a6c9:38b8 with SMTP id 17-20020a170906005100b0099ca6c938b8mr5455572ejg.23.1691911805593; Sun, 13 Aug 2023 00:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691911805; cv=none; d=google.com; s=arc-20160816; b=QQZVfnf4XN6+teo/eCPlEvvH1bYi5X2Azp1Wu3UnsmsqfbczY5mTJytNupv357uRJO ftn5pxVemxu5PkMmOFu5F+g3AtAyBzCdhdnRu7EKM3A5cAQnqUmlgrr7XHQqgU/3BGvX j8DT2/gfrjcFImoFqIX0f5qy5lvqY5ksoFbJef0q3OaaKbOzy4F3p1ovSBtlVCau+5qm rDwNqIB6bJKCjxKXU41aXLeFtP2BC01j9uLc1I3bFKFIwIl6YJyA4HejVgyK0xGmclHl EVQVe/GsnDvG41j5S1ALfkyKyKO8Y19T++6ekybjLqGRoDahrUaDmMRymeckeFFRqFcQ qVkA== 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=hIBzcX051SvCa1+I0lkHGUycHx/eOeQNjCD1GbsVyfk=; fh=aYxbkv1sF29S2sQIrDHAVMARXGob+x4JAj7v+jCexxc=; b=jPIb4+wVRnHjgFbrJfc0c3h7Nc2DDtZ7mitQp0x35FDOUKSI410+dxBDSzOcjnjhnb P2vopyZc06vGOuR9LIUolF5aKOFhSS/H7bp/zOOI4Ush0I16opub1khtcAEaz9iS420d 7s1fUnTFwLD1vAgHlKott4GL8ZDptKQKp4bUg9zkiO3bPBtQzICYh0c1l0gp7lZsupnQ VAE5313W00O7Qf0PDnwDZ5B57UdRIS6k26HKRAyRYXEDvoIhC4Wk9PdCJY7zK0rjQJ3B sp9P7oWg4vDpzi2N1fMTu6pjSSSxxZnzxizoOUESPz3jC02bl2c6aiCdhx8Xn97yGqoG hpyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=VQ8Y9Zhn; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=VBcF1eND; 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 pw22-20020a17090720b600b00977ab47b334si6319540ejb.435.2023.08.13.00.29.41; Sun, 13 Aug 2023 00:30:05 -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=VQ8Y9Zhn; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=VBcF1eND; 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 S230151AbjHMGsp (ORCPT + 99 others); Sun, 13 Aug 2023 02:48:45 -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 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 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 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/= rtl8192e/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, st= ruct 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, = struct 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, st= ruct 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