Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2803398rdh; Sun, 26 Nov 2023 21:37:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IHiWZ7brDJzMDeXccUmbLb7gfe56LTWOJwMVBW/I7P69u34sytsMaSkd+7ekGiDCGhWrqTU X-Received: by 2002:a05:6358:281a:b0:16d:e966:c36d with SMTP id k26-20020a056358281a00b0016de966c36dmr12560551rwb.7.1701063439290; Sun, 26 Nov 2023 21:37:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701063439; cv=none; d=google.com; s=arc-20160816; b=Qomt9k09Voeh2nDZf0fCPyXCbzjHHN/t4YSwR4A6uoZpsGMAEJO8L97pVTSXHkdLrg maKjDAGCdiF28mLqq4kVSQaG4Utbh2oVHLiUUxUaWg+cD5oQeHzOFKewSqKCyS4prCvk ULGWNNjAK66ftxgGUK/ytxn836MaFrqn42eAQGCCSDx4KsX95sOAMnJy1mFjRkWCDBva 9kXNvyoIu9jeE+QE9a8LLSubWrjrKNaRcv2O02R2jlhNXoqbWqCgD7sBBnPSuHWqyHPc e7q8G4jd7CcfCMd3iYpFc3bXKBiNRhKylm2XoVqd+f6CHPi10Yyp8GF/mHQCSa1vc3Mu TUsw== 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=WoeWuGVtTlW2JdoiNx27SMyvvU67YTUEiN2AiR6Cm+c=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=rr9iKQZF3iaBj283YQObbUbbxELCO/vRxiO8FsLso22mHI4JA4lWe+Zk6zyUJ4lCVB lfQO3JgDbMGBEQ6/S0ehhR+4SgSte5aBwKsCV1yOxzTdTg9XDSV4g+XBUMkNgXX85ZaG slhHkKXa/r39Df8u04HmWcYg73+VSDhs5YH5uaws7MjGyac+XNlyO9uvWhjfbJzXQIsr ElgvO2CWdoJWy8wNL3IVWQjY1aPahZa2DIV8lxQmJsSom6TjiBCr1iHreuS7x7zqT5jz RiQNYie4ZTJrn7Yjx6W4hJq/43dXHvBekuE3wAxcRUYi4ASSh2zdvWYiFSkG6f0mldKG VmEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b="mT/57NiK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id p14-20020a63e64e000000b005be109a793csi8894886pgj.444.2023.11.26.21.37.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 21:37:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b="mT/57NiK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 50D448069D9D; Sun, 26 Nov 2023 21:37:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231443AbjK0FgU (ORCPT + 99 others); Mon, 27 Nov 2023 00:36:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbjK0FgN (ORCPT ); Mon, 27 Nov 2023 00:36:13 -0500 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67386B5 for ; Sun, 26 Nov 2023 21:36:20 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1cfc2d03b3aso4393405ad.1 for ; Sun, 26 Nov 2023 21:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1701063380; x=1701668180; 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=WoeWuGVtTlW2JdoiNx27SMyvvU67YTUEiN2AiR6Cm+c=; b=mT/57NiKZ6mss7wDOlx/z3fRgY7l9MCP4aY/QpRHbsNO5bAzaEoQ1y6QO/0xacazlB R1zR341TN43slsu1INErUSQB6r/aeyHvtLm0V09FBD5J3xbsYd9PUL7MBTPyfuoyv2me F4pC8i+xyKiMYLkvWGDB1UOJZMuJOdmocJ2WqEmCfHyn6BWHG7KRPOy4Y/Jsyt6ztjBK zAPw+/+bes2rzhntzitsci5ZEeLte1SkqFgqEZAc/NbKcLatx/HGu3rfvTVkTy01eLiy qGMdbycSFZaxhzH7A4IF+tBrspNZwoztmhAD9uU0U60UwUEmCjBgmvI8j6yQJwB3OCyR LPGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701063380; x=1701668180; 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=WoeWuGVtTlW2JdoiNx27SMyvvU67YTUEiN2AiR6Cm+c=; b=UYbGDfqvV1LwybhU1qBMQwU61ZlreIzKo6Zb6R6JSnMryHYGIlD1JsqFcfPIL8yhhe BkYJeN9xyKkDKRJONZPuBMkWrHrv38+tvnO6FamXu53V4d1yQgZJhfz8qejnIiDMEroM l5YhpbG/mL4nCao9bwjZv0hFhbIUADijbaNw7FORbLSEK23FynqVtT8B89LRcAXmkwnF yPZgLJgsSbDlsMhDLZFEAIrm1k2STCV5Q9fTHmRx/NVwiObBPyKV7kZBnC3aVrsNoCCz x0U/in74mtodLMOyXRFjYlKlUMf6Vv91vU+NHiUA8n87puznL/+n2txPdZXgM6KOF6Ub XWPQ== X-Gm-Message-State: AOJu0Yx8lhAR9e9wRm85zEL9OeqYrrDZOwDjQnWHtE9fBmqra2xPxPf3 GKH701yZDIajkADRsNuzvX2kgjNHL4ZelnbQ0Xo= X-Received: by 2002:a17:903:2292:b0:1cf:ba9d:abc0 with SMTP id b18-20020a170903229200b001cfba9dabc0mr5472868plh.67.1701063379679; Sun, 26 Nov 2023 21:36:19 -0800 (PST) Received: from basil.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id b6-20020a170902ed0600b001cc3875e658sm7300465pld.303.2023.11.26.21.36.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 21:36:19 -0800 (PST) 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 03/15] Staging: rtl8192e: Rename variable Delba Date: Sun, 26 Nov 2023 21:42:53 -0800 Message-ID: <20231127054305.148276-4-tdavies@darkphysics.net> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231127054305.148276-1-tdavies@darkphysics.net> References: <20231127054305.148276-1-tdavies@darkphysics.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Sun, 26 Nov 2023 21:37:12 -0800 (PST) Rename variable Delba to del_ba to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- 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/rtl8192e/rtl819x_BAProc.c index f6ba922dc82e..06aaae68aa6a 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -129,7 +129,7 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, { union delba_param_set DelbaParamSet; struct sk_buff *skb = NULL; - struct ieee80211_hdr_3addr *Delba = NULL; + struct ieee80211_hdr_3addr *del_ba = NULL; u8 *tag = NULL; u16 len = 6 + ieee->tx_headroom; @@ -148,12 +148,12 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, skb_reserve(skb, ieee->tx_headroom); - Delba = skb_put(skb, sizeof(struct ieee80211_hdr_3addr)); + del_ba = skb_put(skb, sizeof(struct ieee80211_hdr_3addr)); - ether_addr_copy(Delba->addr1, dst); - ether_addr_copy(Delba->addr2, ieee->dev->dev_addr); - ether_addr_copy(Delba->addr3, ieee->current_network.bssid); - Delba->frame_control = cpu_to_le16(IEEE80211_STYPE_ACTION); + ether_addr_copy(del_ba->addr1, dst); + ether_addr_copy(del_ba->addr2, ieee->dev->dev_addr); + ether_addr_copy(del_ba->addr3, ieee->current_network.bssid); + del_ba->frame_control = cpu_to_le16(IEEE80211_STYPE_ACTION); tag = skb_put(skb, 6); -- 2.39.2