Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1753648rdb; Wed, 20 Sep 2023 20:25:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHl85QBH9nTTQRViVtCCzVoIvWlWAE32P+RWeWODIU0AZjaG7RXHMKEIUCG+UW1CqlP08QY X-Received: by 2002:a05:6a20:8e09:b0:136:faec:a7dc with SMTP id y9-20020a056a208e0900b00136faeca7dcmr4848542pzj.11.1695266723362; Wed, 20 Sep 2023 20:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695266723; cv=none; d=google.com; s=arc-20160816; b=cfT8+HH8Ez5MdM/YDg7NiHX1P8ciTMnFxECUGFoGZXfO3pLH51PhGrZUqyv3FP0EAC 84YKviV1G7raIMx2VMvsoxX5ElHv0ylYlDJ+cT5EDD11DGXsgMac1XJni+EjJWy34N5P pMFg+aCI5hPySnAZw5ya+gKgygVM5oBQsZmALPyP2uBKMSuFsW9q7/8YocGOIylxUunR QLe39CK3qZ0ilEdWoeGVHvvZgWgRiRuGR4Q6l7FY6X+EaFT3pdpVV92Ek8RakxwwfM5m 3VU2/l81auC1v3aflwAr1y8aOEdsUlS51poEBt449fhHi6OIExk0IUZfbimuXP68dLvr LoJw== 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; bh=BdTofcyZS0AKt9ZBJvnueeLkRS3GUhVVwU6EDW/iNno=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=aUr6ECJM4zaa/1eTAehvH049mym2bhhlQ1RMg7rZAe/Qc3NuuaR+I8K+vp/RmpmDUC qdUCJo/1Zdl3CJSJJm+y3AHByJ2HPcBgTASh6tfuUKa5X/wOynoISLPNB3YrM+4gC/y2 0BU2xRWrN1s0BFFXczueZVzJkWJ4Cgwk5J7tumiU5NMe3k85jA4T5WdTyCkUb2PuuWRH ReZ8ZlT55WvRdtCzdvY2A5kAY35x4xsbl832R8yE33IM0d5GNy7aQ8+beGJi0WoAO2XC AYCJ9+LF/4dVskWBuly5jF4bTMYnT0eHQ1AXPBGH/XcZ3nYamvKqOGIVyyCChFv4VPFx 4ozg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=hQVwxXvO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id br3-20020a056a00440300b0068fe0f46f27si527174pfb.171.2023.09.20.20.25.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 20:25:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=hQVwxXvO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 424938027884; Wed, 20 Sep 2023 20:22:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229633AbjIUDWE (ORCPT + 99 others); Wed, 20 Sep 2023 23:22:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229556AbjIUDVj (ORCPT ); Wed, 20 Sep 2023 23:21:39 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F6C4F4 for ; Wed, 20 Sep 2023 20:21:33 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-3adba522a5dso327946b6e.2 for ; Wed, 20 Sep 2023 20:21:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1695266493; x=1695871293; darn=vger.kernel.org; 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=BdTofcyZS0AKt9ZBJvnueeLkRS3GUhVVwU6EDW/iNno=; b=hQVwxXvOczekdy6uYEEk04Gqe26fpZnooOvR5ytEdMyZlFSDPgKO5GNAG+MBr1lmWu ghAjiCft7mLnFIxNnPieTsxKOV/rsyqfHQgtgM2EosJML2SNo/jSjgplT+UKSRlRU+Bs oLrjkUYRw059b/29MWUN0WfZSgDMAxGKwi+f/ly6htMSO4Y0N0z6Yxm/96Fm0QyIV1zG IcyASbreol0pIZMOFZKeV2wPjY+FuxsXFOQ4Nz5Tw0Rpb7Y3pgfNrU41rSxkkc2avDxk VLr+j07UOHM4lraPdhAKl0I02Hd31H85XsA7301g1PKKgu8GAC2N3bxUSKUP9fF8H4HK 1heg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695266493; x=1695871293; 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=BdTofcyZS0AKt9ZBJvnueeLkRS3GUhVVwU6EDW/iNno=; b=dj9ElmRgO87eHRR9WUfKdKgfwX6w35Ta4ajvQJZK8ZGNn3tBVuQhyfsvVCvbCfERAw t38XDdrCwWxkeCxlr/6QzvdMBG5NffWTELpzIFqX5r65ATk0jKj7kYo7hyvKxaPohrvf o0+qEF+w/2e/Yk/pWfYh/GPxsLdbPGvuBBYo6mnsSKyR6StdUBrb8gq5SQuosSioatJ7 OOHtm/vPcSsYMkH4m59Heh7gb+HHxCXBr2JQo4vgDH/DXkxvy99DU1a3onCXynyXR4f6 XiHeCFB2KqHsVW+YfLM/N6rqIchxh5IdFMjdO6M/wpIgcGmFzM233fNjMyAQKNqf3WUY Ruww== X-Gm-Message-State: AOJu0YwAE5dCtfs9JujxC5KkNU4nCpyehhjLhseeVOru7CGCRbwqAhzr 1+qrDV3F6ylcVFajcOxQ6I2t1g== X-Received: by 2002:a05:6808:158c:b0:3a7:a548:d92a with SMTP id t12-20020a056808158c00b003a7a548d92amr4929603oiw.5.1695266492786; Wed, 20 Sep 2023 20:21:32 -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 p14-20020a62ab0e000000b0068e49cb1692sm237324pff.1.2023.09.20.20.21.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 20:21:32 -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 07/11] Staging: rtl8192e: Rename variable pStatusCode Date: Wed, 20 Sep 2023 20:25:11 -0700 Message-ID: <20230921032515.96152-8-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230921032515.96152-1-tdavies@darkphysics.net> References: <20230921032515.96152-1-tdavies@darkphysics.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 20 Sep 2023 20:22:20 -0700 (PDT) Rename variable pStatusCode to status_code 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 3468bdcea7fc..a5676f01855b 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -306,7 +306,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) struct ba_record *pending_ba, *pAdmittedBA; struct tx_ts_record *pTS = NULL; u8 *dst = NULL, *pDialogToken = NULL, *tag = NULL; - u16 *pStatusCode = NULL, *pBaTimeoutVal = NULL; + u16 *status_code = NULL, *pBaTimeoutVal = NULL; union ba_param_set *pBaParamSet = NULL; u16 ReasonCode; @@ -321,7 +321,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) dst = (u8 *)(&rsp->addr2[0]); tag += sizeof(struct ieee80211_hdr_3addr); pDialogToken = tag + 2; - pStatusCode = (u16 *)(tag + 3); + status_code = (u16 *)(tag + 3); pBaParamSet = (union ba_param_set *)(tag + 5); pBaTimeoutVal = (u16 *)(tag + 7); @@ -362,11 +362,11 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) } else { netdev_dbg(ieee->dev, "%s(): Recv ADDBA Rsp. BA is admitted! Status code:%X\n", - __func__, *pStatusCode); + __func__, *status_code); deactivate_ba_entry(ieee, pending_ba); } - if (*pStatusCode == ADDBA_STATUS_SUCCESS) { + if (*status_code == ADDBA_STATUS_SUCCESS) { if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) { pTS->bAddBaReqDelayed = true; deactivate_ba_entry(ieee, pAdmittedBA); -- 2.39.2