Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1734722rdg; Sat, 12 Aug 2023 14:10:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEo9/xxrXEQ0IGV2oAT/j/gstnYhoF8PFewtFcbbqfMjHsIDuOIItU/5Co35TCLVgIUsUaK X-Received: by 2002:a17:902:e751:b0:1bc:9651:57c6 with SMTP id p17-20020a170902e75100b001bc965157c6mr7563145plf.57.1691874609380; Sat, 12 Aug 2023 14:10:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691874609; cv=none; d=google.com; s=arc-20160816; b=TVacDfkQpKGPnpqLH0W7+YBBtDDx9VXGz/cXB7BrDZWZ7PbO26geniG2rFHLv4NPNM NQg2D422bxHdw1Wyj7XMLzrA6/lfN3Ky6fFPNQssG4JngNPYhTWgKhe3bM54qHiy1jCR u7LeMLNRQGhun02/VjAmlT644TqouxLk/FCFAfv1bs3GLEm17ax/HC4twGfWKKqdiQE1 L2fOHn+9hU3lq0edmp0q9Eqb0HdkNcrWvjAMsjbA80ODPJTh60vjPj2nj2AgWlTD8acg XxHNHshFVoK34K4pauDzhRIWws4i543hMHXLtaO1AS/Ig29h9C4Gpj3D1P91RluR8Z0V ZE3g== 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=HSd+2sWnf2586uSibnpUuWmAy4E2r/xLUvTwmoQxJ0c=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=b9MEyvULriRxk9RIN+MjnGLOna0W9exEfLSma29diCzKWrlDawSofxJVvKcP5Yt9wQ P0foeR6ekz3S71B6vPaUuA4P76asrKQPqdpWSWTqumSXkJtLN1rZpsxAjR+TmmgZ1JpW ia+0WLtN/ycksFqGGk4yzTOxZ25zEv593VV9kogacABozVy6tsEmHIMP5Q/YgoaZFkEh HTuPHKM0NBXbcd1eXhySz6bAaysvSdwIU69ukZcfu5Bx0cWWkBwehQxmsMQjEM9oZutB kKcjxGPGPUrZe6a9Iqt8WzuWeijhHMCrYa+KF7KWhavMeKVKm0DiqoKzlkgU0WwkUI6i qSsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=Wjj3II00; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=hbNZ8aAL; 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 h17-20020a170902f7d100b001bb9375b349si5308607plw.536.2023.08.12.14.09.55; Sat, 12 Aug 2023 14:10:09 -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=Wjj3II00; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=hbNZ8aAL; 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 S231310AbjHLUPF (ORCPT + 99 others); Sat, 12 Aug 2023 16:15:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231290AbjHLUPC (ORCPT ); Sat, 12 Aug 2023 16:15:02 -0400 Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60D60CE for ; Sat, 12 Aug 2023 13:15:05 -0700 (PDT) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 162401BE8C; Sat, 12 Aug 2023 16:15:05 -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=tsra4Fxmv3t8/SlHLoKd+wfLd vgMaOz/JgsNpOzQI/A=; b=Wjj3II00bRtB6K5WB6/wvlOgetcUtJxDl+IhjVPA0 /jOviGdbS/c2/qZd/7NmItYx8wNA526wOik80G76DsFkd9RhA8orHKX9bv7sq2nx mQ1zydPxBTG1UFYngUmaCch/ZeQohei8VK+pI+MVeCr4y5oHl0AgrrSGBFf0khwX O0= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 0FCAF1BE8B; Sat, 12 Aug 2023 16:15:05 -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=86Xko29Iki6Q0QUjUJghTKR29plkaRYWnriST3Hsmsc=; b=hbNZ8aAL3T8sqTmP0OqgpqYlE8Y134Vhul3XVxSXCDu4FqU5ABCKWimC5BZ4Be8mhvUQCT0nW45cAxk9PfJuzt0bxOliu8NePMmmSdNhIYPb5HSm4Nkw9hduvw9BUK7X9tVfT6fAPsAgwZnGGdQiAetnAFkplmX0+/WHpHFouQI= 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-smtp20.pobox.com (Postfix) with ESMTPSA id 3563E1BE82; Sat, 12 Aug 2023 16:15:00 -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 02/16] Staging: rtl8192e: Rename variable pTS in function rtllib_rx_ADDBAReq() Date: Sat, 12 Aug 2023 13:16:48 -0700 Message-ID: <20230812201702.83421-3-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230812201702.83421-1-tdavies@darkphysics.net> References: <20230812201702.83421-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: EAB6A804-394C-11EE-A124-C2DA088D43B2-45285927!pb-smtp20.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,URIBL_BLOCKED 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 --- 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