From nobody Wed Dec 17 16:08:09 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 5F188C79F62 for ; Fri, 25 Aug 2023 14:08:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343633AbjHYOHf (ORCPT ); Fri, 25 Aug 2023 10:07:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343511AbjHYOG5 (ORCPT ); Fri, 25 Aug 2023 10:06:57 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FB8E269E for ; Fri, 25 Aug 2023 07:06:32 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-68a3ced3ec6so820715b3a.1 for ; Fri, 25 Aug 2023 07:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1692972378; x=1693577178; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FjYzdVLvE2mBXqluKBhvaZb65T+FBQkKGDwfPiHVKB0=; b=WkDCH1SOSXwUGtkPwdqo3SkIUKUnH6cEeY86N+yjCVsgVz47uMOya+YAcw9JoOv6+1 z5WzyvJWgPTpRcCjXTNZscAx1UvJcHayDO+yFojMwgnIldlehzqpc5YfXqJEBkYfalyV a7uUCi92Aja+pCRgNU7WIsbu7NudtptdGgDjzU/oFOBfzpOG7ft55FbLF+/U3Tj2fqU5 IW0peGSaByHxgUMvF+W34zkAbECNIJA1Bj2qRuwH0yBdWHAEYmq1/ThEed/TILrITSEj I8XHlIY7NJWTN5c4OGGveeYPYSnqhuTsECSFOhMejHlNWVDz5H9BFu7XbOUlLjmNIqN0 fUqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692972378; x=1693577178; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FjYzdVLvE2mBXqluKBhvaZb65T+FBQkKGDwfPiHVKB0=; b=i/HURwfnWKvDsD70VQ19V7KnZrbbGoW8HOYEHBw53waNIpqitxngbh6sEB1/1TMs+M VvmJAd7IENu8kcpQigGOgXPSGUX71owXGmD1PULxpuql+TbExXSQy5QNngtmyDiEdIYo jTtgzw1Yiha8Hj3KTe4s+1FOFxgm+kGDMzHNjZrIx5xE1TA+Hwu8A93WhfI9FqLiQ6sA YUBlbyQbN7uA8EH2kViZ9/oToIZrRdRR/k3xHYy32kjQY0URpO7FOCXa1tpQDDWOHOw7 LDNWURLU3Bon7xL9k8QVi1nUdTxIAYdUbg9r2g3surXGuzD1yEPBsQevxD0Xx6wIU1Fi lstw== X-Gm-Message-State: AOJu0YwVZWLTkOZywKrNIBzKSy37+X++VN0d+py3S9sRrCn7YL7omqLK wU9AEh7tT1SeezhKwvDxgHPD/Q== X-Google-Smtp-Source: AGHT+IHRe9MGZncFusl59k0P+AniLXaJil8um4Amt9WTvPd3mzMDsySsYYFEmHzpaxFDALDhb9Os6g== X-Received: by 2002:a05:6a21:8187:b0:135:4858:683 with SMTP id pd7-20020a056a21818700b0013548580683mr18727399pzb.48.1692972378192; Fri, 25 Aug 2023 07:06:18 -0700 (PDT) Received: from basil.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id v23-20020a62a517000000b006870721fcc5sm1628232pfm.175.2023.08.25.07.06.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Aug 2023 07:06:17 -0700 (PDT) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH v4 02/16] Staging: rtl8192e: Rename variable pTS in function rtllib_rx_ADDBAReq() Date: Fri, 25 Aug 2023 07:08:33 -0700 Message-ID: <20230825140847.501113-3-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230825140847.501113-1-tdavies@darkphysics.net> References: <20230825140847.501113-1-tdavies@darkphysics.net> MIME-Version: 1.0 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 ts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies Tested-by: Philipp Hortmann --- v4:Resending as v4 v3:Resend as 16 patch series - no longer throttled by email provider 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 da29163f3022..03d76765e85f 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 *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 **)&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 &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, ts); =20 deactivate_ba_entry(ieee, pBA); pBA->dialog_token =3D *pDialogToken; --=20 2.41.0