Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3674298rdb; Sun, 10 Dec 2023 16:13:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFL/0eaiLO+onun8XOdPNKfVxuBAihdk+dr49FtsiieziGRYd+wS8p1cjw1xdNCCm1qhdGd X-Received: by 2002:a05:6358:2921:b0:16e:271d:1db7 with SMTP id y33-20020a056358292100b0016e271d1db7mr2162524rwb.2.1702253630494; Sun, 10 Dec 2023 16:13:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702253630; cv=none; d=google.com; s=arc-20160816; b=MT2uEgCL7e11ihro+6L7ZZOap31a5YeKkvWHMx2QgH/Q/C386FSyzrKgl7TLy/GQb6 jgSJtOPo1LofEBlPBbllPy6V0mH6KCByTpouyH6ajcFJTjfva6xfrIaiITfLVPTS/Gxx qgKUqVnTSD4Ib5E0B19VFqb82NRPTAv1n4gRsmtDOAlDmKywxnX1mb9WCbdkJrUAf53a VVsM3lBjsVbm/VpO094XUF+OazUxXKegZ5SuNBiebSKlFHBasFrYrnqIuNQ7E15Wgo74 P00Ftd6a0xvKQsKgNwdT1I8Pj34RxdqhYQk01GhNT0p4tLSwyeomOJBbjwi+Qs5jBGeS qpPA== 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 :feedback-id:dkim-signature:dkim-signature; bh=l9+VzySB0gw0n5S4jmMdo5qskQsKDEUo0nDqFjjTHyc=; fh=N6kOWzzoyFx46KhufQEFsHexRnrKpkm1lLeFNNXuCFg=; b=m4zuBKiecWpXeTXAplfCRh8EYonoy1FYDYPjG3xRgzYj0g1bhTPb/jbgC0kG5Um5AL 5SHty7PhYu4R6qPIi4XrSzDoyvsrFRSTsVwjQwCs9dMqvqlNVKj65/JmwPFAdj5ctP6I 9ELSgVH7269OvFMHCz9DhFkHt2ZB6kdQWmkt+YwwfL0VDFitzsPFfgePB6a0f9Yu6B17 c6FEUPJiAr0527iHuI3b64TVd3W6rU6JbdTmwl/nPbKwHdwowUuvHpP3+XxhFT4JrmmR XRdoqbWw67etkVyxt1gSCovO33uMj3uFn7n4LsaGmKgvHjch3TzChDAP0A+ne5bXx8m2 muFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fastmail.org header.s=fm1 header.b="JHP2Q3w/"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=S6b20Ogz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id jc12-20020a17090325cc00b001d04db0a359si5100977plb.199.2023.12.10.16.13.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 16:13:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@fastmail.org header.s=fm1 header.b="JHP2Q3w/"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=S6b20Ogz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 05CBA8067633; Sun, 10 Dec 2023 16:13:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232251AbjLKANb (ORCPT + 99 others); Sun, 10 Dec 2023 19:13:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232284AbjLKANX (ORCPT ); Sun, 10 Dec 2023 19:13:23 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29A5DFF for ; Sun, 10 Dec 2023 16:13:29 -0800 (PST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.west.internal (Postfix) with ESMTP id 401433200A94; Sun, 10 Dec 2023 19:13:28 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sun, 10 Dec 2023 19:13:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1702253607; x= 1702340007; bh=l9+VzySB0gw0n5S4jmMdo5qskQsKDEUo0nDqFjjTHyc=; b=J HP2Q3w/pu/VgtJUahD5j5cdG0DFwXJSQEYcAx9nUdg7NPrkeJOkQFEfcrJ3RlxQN xmZDgpbTe7HbWWi9Yv5XR2E04WMasIr1evzokfgyGvf4XrdhHkl+pNYkqaH3ixmO WzCh7pM/8sxoSkndx7zHpKuuVE7xU9OqReHPeU5Z9905ggOKSY9aXhg4sjeRwiUW euRx1L4yS8cIJBA7BF0bgr60Ms5Fd032H13S3ba3aetxHMAIAsSukW/C3T/aD9Up W7iPw9IV7WDvseHYpLnwWSvoNuUFBfiLo0eEjNExxRZLr4foggyjjRYB49/FDGYi l5zKsFt+PCPZ2UDz2hT+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1702253607; x= 1702340007; bh=l9+VzySB0gw0n5S4jmMdo5qskQsKDEUo0nDqFjjTHyc=; b=S 6b20OgzwU+j+agz7yFzjviG5ZSi3MqhotdY+poREKpRJUceosPDYGfhsEcHZHHjl cK2Jdp/Y+a60gFrBm6z9xR2lHjoZMkXmso1qd05Svp1L9MH/wcrQpBm8ctAP+SG0 xvkBHMFqRKP0sqgoyhbjGxxUI1JKP+44PxvA3ilPwxdNlAcv2+6cr3BiCvwqO0ME 0Y9hTEhuFHsIzXdRJHtFGWbE/tMUu5/XLOeYZKn3tZ0zM2IIuJdn/WUZJWbUz/FL iymAmQRpyyqPLnX3hFfwEYMOE6J7syAH6vhWNYegjf25R+Oe6duQdFnwCjEiIX5Y gX5KVmpzwuw6AV3iylxeQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeluddgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 10 Dec 2023 19:13:27 -0500 (EST) From: Gary Rookard To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Gary Rookard Subject: [PATCH 4/5] staging: rtl8192e: rename variable HTConstructRT2RTAggElement Date: Sun, 10 Dec 2023 19:13:34 -0500 Message-ID: <20231211001335.26169-5-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231211001335.26169-1-garyrookard@fastmail.org> References: <20231211001335.26169-1-garyrookard@fastmail.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 fry.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 (fry.vger.email [0.0.0.0]); Sun, 10 Dec 2023 16:13:48 -0800 (PST) Coding style issue, checkpatch Avoid CamelCase, rename it. HTConstructRT2RTAggElement -> ht_construct_rt2rt_agg_element Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index c2c7fc316f62..a374f4c9f17e 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -328,7 +328,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *posHTCap, } } -void HTConstructRT2RTAggElement(struct rtllib_device *ieee, u8 *posRT2RTAgg, +void ht_construct_rt2rt_agg_element(struct rtllib_device *ieee, u8 *posRT2RTAgg, u8 *len) { if (!posRT2RTAgg) { diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index ff3ba9bca023..0d6144548c34 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1758,7 +1758,7 @@ void ht_update_default_setting(struct rtllib_device *ieee); void ht_construct_capability_element(struct rtllib_device *ieee, u8 *posHTCap, u8 *len, u8 isEncrypt, bool bAssoc); -void HTConstructRT2RTAggElement(struct rtllib_device *ieee, +void ht_construct_rt2rt_agg_element(struct rtllib_device *ieee, u8 *posRT2RTAgg, u8 *len); void HTOnAssocRsp(struct rtllib_device *ieee); void HTInitializeHTInfo(struct rtllib_device *ieee); diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 9e9725ed8fa0..31a072e2a6d7 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -739,7 +739,7 @@ rtllib_association_req(struct rtllib_network *beacon, realtek_ie_buf = ieee->ht_info->sz_rt2rt_agg_buf; realtek_ie_len = sizeof(ieee->ht_info->sz_rt2rt_agg_buf); - HTConstructRT2RTAggElement(ieee, realtek_ie_buf, + ht_construct_rt2rt_agg_element(ieee, realtek_ie_buf, &realtek_ie_len); } } -- 2.41.0