Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2803211rdh; Sun, 26 Nov 2023 21:36:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFV9EKghRFOcPJ4u5lxf+qoDxSe8Emq3NI7qxVm7juvuO6qNIyjrYxap7Md4OmdlKbFAcP X-Received: by 2002:a05:6358:560a:b0:168:e737:6b25 with SMTP id b10-20020a056358560a00b00168e7376b25mr11117418rwf.20.1701063398846; Sun, 26 Nov 2023 21:36:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701063398; cv=none; d=google.com; s=arc-20160816; b=bHTG9IX7OphTbdI4J8Gyy+/EjGxZgXW9JmaAIACsKAWsN4VDekx3hLMvJuPx/13iB7 tQCoZR6lUr7jkCu5hlzKJagWygfn7fskkkDuAAMjMjO6UsjOHMiqpyLIHDzB5SDznu07 yMO5nxufHLLuMzdZ2y0JOvR6E2gkdXfjjMqOejhlwljL3KanvKyJpagx/e3fw26UWbzd Bn9Tk/Y011fQ6tsicf52zQq08aciuz9RG9VMq7FfsAYZWwwHIkkjk4k3BvgVPXz3nSiM CicblUHPSi/ozWpzGhp58FkxEFt8t5EPpOWC0tR1pMrXZ6AVNNJKPo4BOPs0aYvIORH4 U2cw== 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=9mhtCZ2FPHkfJMzES7tFYFByhVEv5qF9kyJcqPMGxvU=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=roxFUTQAW1b20TJInYqUELpMzmuULBVUAFic91lw2fFkjUzjwdtyqvhUBU2bxXrWYN 7TuTFLEu2DPAMX2PsGBrIRMNMnpIQdvVCoS6GjuSVtudlHxzzBx1CgOtEbJQE74GL6/r K1w8Cdd8IGR6sb75EB/RrtqXgracQXllNW9Kwn2gtVmHfTK/0ObgPNAqA9djd/SX59JS JdsMbFB2AeYJ7f1FRX+G3pQXx0/lSSVUfzXW+9vbaMo1E/n/BZ2ukWl3szlis3PKtqpJ pA//nAR0Rp0nF++fwFLuQZfe3ZoOJtyIxAWKVTsI8e3G+6S/aoQ1g+IHkMA8RBid+Yp/ a8ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=kHuT7HnF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id q3-20020a631f43000000b0057942bfab4dsi8762588pgm.395.2023.11.26.21.36.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 21:36:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=kHuT7HnF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 483B0803BEDF; Sun, 26 Nov 2023 21:36:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229854AbjK0FgP (ORCPT + 99 others); Mon, 27 Nov 2023 00:36:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbjK0FgM (ORCPT ); Mon, 27 Nov 2023 00:36:12 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABC86B5 for ; Sun, 26 Nov 2023 21:36:18 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1cf89df1eecso23597935ad.3 for ; Sun, 26 Nov 2023 21:36:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1701063378; x=1701668178; 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=9mhtCZ2FPHkfJMzES7tFYFByhVEv5qF9kyJcqPMGxvU=; b=kHuT7HnFfwKsMB18g0ZE8pdVwAVSKBwB0+cA+hVUh3r0TXJlhfQgYTtmcctL71PuCG boHIiSVFfCNU6umEZ4Fwm3QywpU7oXNV9ZgPyZlq73CE+FEnYjcR4QD4s6dJW20e8xt7 BcpQ0hGKUasyrxKrLbU0vNHXP2Zuw83TosMKX6f/HLVPHFbdxZ0xcIxhT31OVn/1QRgU l02gjddsiWylPRp+IkMfeUD7GAHivpCFmQjPkAXZWXu7fuv/JrvJf3Wq7LlyOq6r3fGs Pod7zHXZX7p0c6wSiSdpMcOuVBhsoFVLuL66AXDXJJxXeHrucicLMQhVWNUSI3+zsau3 LVVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701063378; x=1701668178; 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=9mhtCZ2FPHkfJMzES7tFYFByhVEv5qF9kyJcqPMGxvU=; b=jkuteKlQwQFcBMoFU/5OxocTKJD0mDZx5UhwC0eV6UhYQ/BHa+InWglmpBhod1CwQF 2fBfXwSttI4wFzY/LaTnjrTPb7dDAiNmE4khU74r6Q1OFxB8BJ649VKgDJYj2BML+Vx3 d86uskiSqcqnqVUIBl2ngzK8369jUtpSvWOI7/VYCX1pGeXj1LC5CnhdBr++/SJ4IwTV bvONLwkLgjhoWQ04jRj9dk/l9o/t+1+112COfOsAPR4Dy+X11UtHY2mvNWec+nuAQpJg cwoonjVzX4/9/V4qb97OHEIYhf/mHlhJYSHH3IqTKca/5nhYt4qHwD9fG7nDaBWboCWS Y8hg== X-Gm-Message-State: AOJu0YyUOpfxNPwfXlJ5rT2+JryUZQpINj1Wm8CoHrejsXlaVmv2PPUZ wSkIixr6rBJdBN+ixuiYus0ipw== X-Received: by 2002:a17:902:dac4:b0:1cf:d7e2:5e73 with SMTP id q4-20020a170902dac400b001cfd7e25e73mr470783plx.49.1701063378238; Sun, 26 Nov 2023 21:36:18 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 21:36:17 -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 02/15] Staging: rtl8192e: Rename variable BAReq Date: Sun, 26 Nov 2023 21:42:52 -0800 Message-ID: <20231127054305.148276-3-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 morse.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 (morse.vger.email [0.0.0.0]); Sun, 26 Nov 2023 21:36:36 -0800 (PST) Rename variable BAReq to ba_req 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 497791a980ba..f6ba922dc82e 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -68,7 +68,7 @@ static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *dst, u16 status_code, u8 type) { struct sk_buff *skb = NULL; - struct ieee80211_hdr_3addr *BAReq = NULL; + struct ieee80211_hdr_3addr *ba_req = NULL; u8 *tag = NULL; u16 len = ieee->tx_headroom + 9; @@ -87,13 +87,13 @@ static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *dst, skb_reserve(skb, ieee->tx_headroom); - BAReq = skb_put(skb, sizeof(struct ieee80211_hdr_3addr)); + ba_req = skb_put(skb, sizeof(struct ieee80211_hdr_3addr)); - ether_addr_copy(BAReq->addr1, dst); - ether_addr_copy(BAReq->addr2, ieee->dev->dev_addr); + ether_addr_copy(ba_req->addr1, dst); + ether_addr_copy(ba_req->addr2, ieee->dev->dev_addr); - ether_addr_copy(BAReq->addr3, ieee->current_network.bssid); - BAReq->frame_control = cpu_to_le16(IEEE80211_STYPE_ACTION); + ether_addr_copy(ba_req->addr3, ieee->current_network.bssid); + ba_req->frame_control = cpu_to_le16(IEEE80211_STYPE_ACTION); tag = skb_put(skb, 9); *tag++ = ACT_CAT_BA; -- 2.39.2