Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2810363rdh; Sun, 26 Nov 2023 22:00:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKJk0lKA0eIguKkTzwoEtfCj5JkMc4TxZeuchWPONcjV2ULggcnLssKOoA/u7e0eTsjQmn X-Received: by 2002:a05:6a20:daa7:b0:186:555e:bc80 with SMTP id iy39-20020a056a20daa700b00186555ebc80mr9900313pzb.25.1701064817798; Sun, 26 Nov 2023 22:00:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701064817; cv=none; d=google.com; s=arc-20160816; b=r/nLc75/63zYDQSaWzimrxL2sWtN3mEAHdtweot7B2wCyD66YU9CowhOi6z/LRmeSB TxN3ooiW1j27WHaPooAuBi9JfKeUTeyqHyOEM0WM4sBnofFJ6dEkoqJrkJkxINkGc5Oe 3bEXJQGfmrx0SyFORAXEmmQ8imRzMPCQ2Ki7hw6qMBVXMRuk1hR7Ypl3n38WZHaFsV7p yKupZrlr7+V/pmkdrVMiC7CzL/Lir6wj+LDD0wViPGctKD0Ivw/ybjUBiPlKLEVWzcTe ken9xtCwIA3sdhqQWHYFfOQAudfAgC1uzcK79f8vxbDRbCQIJ9tBPB6GoAePpMfJyspB 67SQ== 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=2j4VzOuBt+uyczV2meq0MpY0uQbt9u8nczliuiE+crw=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=bzU5RfjV2tnnlitqYYK63/nFKf9Bw+LG+At/M7Q6vuB0I69/rQvpz1roOZK8Eq+NJO 2gjj3oMWp0Ol3eQqx5a5GmAK3jEUwpHl7DT2SUWvo8aIpflmO1PQabTFGivWX/JvdK3A 8pOTl6DLmO77Nk/FKqXszMhFKaU59LD506ZcFSiLFjvoubaFf9FVj2i8j6YS3WkZuH7c fCUakPhMIhf2kot2mZqWFXIZ5HDs+9tAlBT3o2+C2+c1MYLGNK6q+qunkGktiBECdnTu py32oGXGJPL2p0fmyvOBYW+SgaaMrq3NNIke846HtaV0ODOvOCrslk30ExKdGQwO7zAk Ju9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=J70kFCAk; 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 f27-20020a63101b000000b005b95f5f8976si9051602pgl.634.2023.11.26.22.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 22:00:17 -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=J70kFCAk; 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 75C1F8095F40; Sun, 26 Nov 2023 21:37:24 -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 S232345AbjK0Fg5 (ORCPT + 99 others); Mon, 27 Nov 2023 00:36:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231527AbjK0Fg0 (ORCPT ); Mon, 27 Nov 2023 00:36:26 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 511DDD64 for ; Sun, 26 Nov 2023 21:36:30 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1cfc35090b0so6057385ad.1 for ; Sun, 26 Nov 2023 21:36:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1701063389; x=1701668189; 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=2j4VzOuBt+uyczV2meq0MpY0uQbt9u8nczliuiE+crw=; b=J70kFCAkkhHHYw1T+CrXre7DazsSgDjM0roo3txJb+XKywphSFkGsU4LODKV44sbyt o6CmphSCD5HZC+IEb5WhbhNkOWqFHSEWI9gLLl2Lfefy8sZW9P5FU5Tefvgg74X1lRvR vXgPtgZws/4v9C4vCcjXz4bgCxHkRHaQWVN3iMCRjY2z17fnkp1WLaolHAy+Nj9KgxSe /WjFA/PDE0PQ77LV2isqm3oEwgtQMpsV/TS2TE3aYV3dZWaoZx7iOGeCzXBUmoIsGqU7 dcp9+hjHX2tXtNathmxUhfuBUtlaPtA0AvOyO8573+sfBw5uJBV+CHgD4iN94by8sv1/ DvGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701063389; x=1701668189; 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=2j4VzOuBt+uyczV2meq0MpY0uQbt9u8nczliuiE+crw=; b=egtlxw+q80S1MmqRdrogZbNSGhRAby3e+wvHL+JZ7iFlCUnLYI4t2v+3+s8myR9b7c C3lAjjebxVnCm5VrOHELgCAMgVKwO3ctm1jmo4F72rHQBna9yzeLHX7rZwLOCTdyvSLp gFYR4EJk0ZrdGUAYtcNAEOTLBPyxRlb3ZraMQe+PI2lFOJrbWmsjAnKu1DynHKV2AG+P 268xph+LdhbWa+Ci4j4Qq1J/7yzjSiE+W5RIxS2xhFIBXQ81HIXKA27q8Ld2XfkHC7IZ fl3cUFv7gDBmUJIudbEIlr2MP4+ZgSWAszNjxjsjbMWEyvjlCJoP0CGlNsl/zAqk8Tcj KOVA== X-Gm-Message-State: AOJu0YwhiESWvZql2Oze1BESg+V7efwZzaCH+6pPgKNnALWzfWOAWB7G B5bt1T91pycyp7Hf+IgdMJXxvQ== X-Received: by 2002:a17:902:ab1d:b0:1cf:50a0:566d with SMTP id ik29-20020a170902ab1d00b001cf50a0566dmr8890369plb.7.1701063389492; Sun, 26 Nov 2023 21:36:29 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 21:36:29 -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 11/15] Staging: rtl8192e: Rename variable DelbaParamSet Date: Sun, 26 Nov 2023 21:43:01 -0800 Message-ID: <20231127054305.148276-12-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:37:24 -0800 (PST) Rename variable DelbaParamSet to del_ba_param_set to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 2053feb51f61..bd037069d4f3 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -127,7 +127,7 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, struct ba_record *ba, enum tr_select TxRxSelect, u16 reason_code) { - union delba_param_set DelbaParamSet; + union delba_param_set del_ba_param_set; struct sk_buff *skb = NULL; struct ieee80211_hdr_3addr *del_ba = NULL; u8 *tag = NULL; @@ -137,10 +137,10 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, netdev_dbg(ieee->dev, "%s(): reason_code(%d) sentd to: %pM\n", __func__, reason_code, dst); - memset(&DelbaParamSet, 0, 2); + memset(&del_ba_param_set, 0, 2); - DelbaParamSet.field.initiator = (TxRxSelect == TX_DIR) ? 1 : 0; - DelbaParamSet.field.tid = ba->ba_param_set.field.tid; + del_ba_param_set.field.initiator = (TxRxSelect == TX_DIR) ? 1 : 0; + del_ba_param_set.field.tid = ba->ba_param_set.field.tid; skb = dev_alloc_skb(len + sizeof(struct ieee80211_hdr_3addr)); if (!skb) @@ -160,7 +160,7 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, *tag++ = ACT_CAT_BA; *tag++ = ACT_DELBA; - put_unaligned_le16(DelbaParamSet.short_data, tag); + put_unaligned_le16(del_ba_param_set.short_data, tag); tag += 2; put_unaligned_le16(reason_code, tag); -- 2.39.2