Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2808794rdh; Sun, 26 Nov 2023 21:55:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHASCsu6VDkQ++m3zlXfmYWlTL2ffi/MMm5AkgVznN/nEm6D2Yoi6jX7K1PkhOgqU4np19p X-Received: by 2002:a05:6808:2110:b0:3ad:aee1:1b3e with SMTP id r16-20020a056808211000b003adaee11b3emr15919311oiw.8.1701064517632; Sun, 26 Nov 2023 21:55:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701064517; cv=none; d=google.com; s=arc-20160816; b=Wy4MOpkuw/yS24In9VrOsi7qB9FzXS6O1wBwNB1EOC6iMZJ3fqNV6bT54EIfA80tJJ GX3hqBHmfpjGZ9u5VOEYVPKtCZF/iCseMCofAosPBfkEiXuNkvUC3t9Zs1GrsTBtnWH7 jVGxmxw37dRwIb7lDJWKCbrihi6D1JfVSihJJuARn34q+2GHKIL2IFu0YNr9zJ5UgTUl psAAFDejGwNGkHa9BZo4JsTX0AkAqEW45ODFamfE5Cqb+wXB5o0Ds92nWcjjdPAdE4o0 1cM9mfqw7a58PK6/XA8AW6MGH/pPlaQOqdosqI9QLamwo7Gma0lDbURftFtbA1DmAVU+ +hNQ== 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=8PM44Sv5UeHigK85eZavancsIZjjcHcgvzRmLXENl9Y=; fh=p32Pg0zBdFjDUOpUp1txX3SLnGswM8C/CMMa7TUpsLA=; b=Aho42oYuVeZ3O909q4w8FXcYwSe4prPeUr3jnJTVF0ewmtzUo1WFLEM6TfuseiOEdp hwLaqOF241hJ7PY3eUYl2Ke5yedcgaSz8dae6gT0XjF0HfMYF0jVVLh5+7xwkXRzL55/ xXXbKsm2pul4izFX5LMLQg2XsRC1wb+k0ml6+S5pQOf+X78Yv/0+ruP25ahekxwX713U 2ycgCsdxYxrwcBmZJ8eR7OBzjwLK8L1KnAhd6wB7jFYGHjrGA38fUmM9eA7Y+i0AWCMg GewSJ/yaxz+5hj3d0cRnkh7Nma9zRuqMdAG97fG/WbZ5CZPCltkUJ7Nwn8Z1hV9B8gSa 85dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Q5DcejIx; 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 u1-20020a634701000000b005ab3f1980f3si8968931pga.68.2023.11.26.21.55.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 21:55: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=Q5DcejIx; 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 D1C2080A959E; Sun, 26 Nov 2023 21:37:30 -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 S232462AbjK0FhF (ORCPT + 99 others); Mon, 27 Nov 2023 00:37:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232388AbjK0Fgh (ORCPT ); Mon, 27 Nov 2023 00:36:37 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8849D10DA for ; Sun, 26 Nov 2023 21:36:32 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1cfb4d28c43so10274955ad.1 for ; Sun, 26 Nov 2023 21:36:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1701063392; x=1701668192; 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=8PM44Sv5UeHigK85eZavancsIZjjcHcgvzRmLXENl9Y=; b=Q5DcejIxIrZTg5SNwPI3283VvYO8o1XkWrgA6LDyiaOAotV61JCLAqu1vL79DiAKG+ vv+FGMHRoPisSAwLow80x3qTmTzUddHD88QzZi6Zk8TvsPv0xTdQnkBdzUi+ed41CxU4 C2PEkF4rh922XP94tsZzbNx5YrfDdISVgS5vuw6XC2vYyB3j3GXyTr8Vn0J3mBkjJL9U maj57hiBJbO9iufvmnBgJyihhn0sDRm3uKpkk1l2BbRFsIDkuGvhEqfYv1LySJfXa/fK sQ9wVvg+Kjo55VI8Zb5d5oMcoiC93N1pZUcO4bsynGADzuhsGNUI1jA1CDrym8eo8TiF YeDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701063392; x=1701668192; 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=8PM44Sv5UeHigK85eZavancsIZjjcHcgvzRmLXENl9Y=; b=ugYnyuhcpNoHcZhVuA5u/gKqXd+XmhZKd6kUAa8ZYD4F0DxeezOKACIfDjz6cqkFwT /APRsWQFwHyHUY7tt1Tl84Aju6b8ZJv69XmhGSDLXecH24eYG+//Hh7bD+ff1scI9QJo Q32QvqedrNtGUvzoCEB/gfgtI15NfjwDIb7420aV47nanAfev7P8xc6/dpJWPv8UVa/1 KxZdOUz1yVpy0W/E+E+/XQ/1kuZsf96lHKnEFFAQ8vu3XLCD20C4cusAiUsiodsrsJ3g WFOAM7Aalmbm79kQdspIhYUGfMp1dHuLnJP9oE58Gyp7krKDYZOaRizfEMiXNwV33Oy3 L/DQ== X-Gm-Message-State: AOJu0YxHRwT9Y14xBCqfa2NeLxeK3hk84brbHO3a+1hAJOQfwESyNNrw PGDoh73ZNcat+Se44PsnN5kK0NZUmmPTZioMg00= X-Received: by 2002:a17:902:db0d:b0:1cf:cc0d:9600 with SMTP id m13-20020a170902db0d00b001cfcc0d9600mr2677263plx.24.1701063391864; Sun, 26 Nov 2023 21:36:31 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 21:36:31 -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 13/15] Staging: rtl8192e: Rename variable pBaTimeoutVal Date: Sun, 26 Nov 2023 21:43:03 -0800 Message-ID: <20231127054305.148276-14-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:31 -0800 (PST) Rename variable pBaTimeoutVal to ba_timeout_value to fix checkpatch warning Avoid CamelCase, and make the name consistent with variables of same name/type. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 7074a01ad2e8..964029df310e 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -218,7 +218,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) u8 *dst = NULL, *dialog_token = NULL, *tag = NULL; struct ba_record *ba = NULL; union ba_param_set *ba_param_set = NULL; - u16 *pBaTimeoutVal = NULL; + u16 *ba_timeout_value = NULL; union sequence_control *pBaStartSeqCtrl = NULL; struct rx_ts_record *ts = NULL; @@ -240,7 +240,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) tag += sizeof(struct ieee80211_hdr_3addr); dialog_token = tag + 2; ba_param_set = (union ba_param_set *)(tag + 3); - pBaTimeoutVal = (u16 *)(tag + 5); + ba_timeout_value = (u16 *)(tag + 5); pBaStartSeqCtrl = (union sequence_control *)(req + 7); if (!ieee->current_network.qos_data.active || @@ -273,7 +273,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) deactivate_ba_entry(ieee, ba); ba->dialog_token = *dialog_token; ba->ba_param_set = *ba_param_set; - ba->ba_timeout_value = *pBaTimeoutVal; + ba->ba_timeout_value = *ba_timeout_value; ba->ba_start_seq_ctrl = *pBaStartSeqCtrl; if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev) || @@ -292,7 +292,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) struct ba_record BA; BA.ba_param_set = *ba_param_set; - BA.ba_timeout_value = *pBaTimeoutVal; + BA.ba_timeout_value = *ba_timeout_value; BA.dialog_token = *dialog_token; BA.ba_param_set.field.ba_policy = BA_POLICY_IMMEDIATE; rtllib_send_ADDBARsp(ieee, dst, &BA, rc); @@ -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 *ts = NULL; u8 *dst = NULL, *dialog_token = NULL, *tag = NULL; - u16 *status_code = NULL, *pBaTimeoutVal = NULL; + u16 *status_code = NULL, *ba_timeout_value = NULL; union ba_param_set *ba_param_set = NULL; u16 reason_code; @@ -323,7 +323,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) dialog_token = tag + 2; status_code = (u16 *)(tag + 3); ba_param_set = (union ba_param_set *)(tag + 5); - pBaTimeoutVal = (u16 *)(tag + 7); + ba_timeout_value = (u16 *)(tag + 7); if (!ieee->current_network.qos_data.active || !ieee->ht_info->current_ht_support || @@ -375,11 +375,11 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) } pAdmittedBA->dialog_token = *dialog_token; - pAdmittedBA->ba_timeout_value = *pBaTimeoutVal; + pAdmittedBA->ba_timeout_value = *ba_timeout_value; pAdmittedBA->ba_start_seq_ctrl = pending_ba->ba_start_seq_ctrl; pAdmittedBA->ba_param_set = *ba_param_set; deactivate_ba_entry(ieee, pAdmittedBA); - activate_ba_entry(pAdmittedBA, *pBaTimeoutVal); + activate_ba_entry(pAdmittedBA, *ba_timeout_value); } else { ts->add_ba_req_delayed = true; ts->disable_add_ba = true; -- 2.39.2