From nobody Wed Dec 17 07:35:03 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54ADFC4332F for ; Tue, 12 Dec 2023 16:57:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229928AbjLLQ5H (ORCPT ); Tue, 12 Dec 2023 11:57:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235125AbjLLQ4E (ORCPT ); Tue, 12 Dec 2023 11:56:04 -0500 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 102BAE3 for ; Tue, 12 Dec 2023 08:56:09 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 8E6D03200A0F; Tue, 12 Dec 2023 11:56:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 12 Dec 2023 11:56:09 -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:subject:subject:to:to; s=fm1; t=1702400168; x= 1702486568; bh=bBi+M/BPgj1IfpVblsWubMsCCFJ3nZ0KD2Xl/FWBwdU=; b=H V7WBwMnopwuBm9xc7Gh7pYQZNTxhCExGNczofrjirbtJxtYvJIzvcVfwh1FJgpfP 3Cv6+VfGLFr6sFQAPHs/8+WVmQN4sxeNh1avmhUW2r79JyWRaCl3Nj9FYFWajBVM x02Lu5zKx1qQARGgwXpOPJycqq2/ooWA03vp3Um8pDvOtjvlRsflX023B7XsjzM9 oNSpTikkpiNHnhRKdr0vIgcUht9sqbcD2J6az0bR+VtCeKjI80a913tBP3qcQRP1 7YY5D4TNWeZWZUbPxOxSJzhC1btvIfCQCQoPQorekrRl61DteuIUYe5abB+jnt0u PGiEOh49ag9zc81tp/uew== 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:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1702400168; x= 1702486568; bh=bBi+M/BPgj1IfpVblsWubMsCCFJ3nZ0KD2Xl/FWBwdU=; b=K ee54Y+wTdDJG4iKIhKIQQMziLaNHRAs/R6WIGldw0AzWF5AO5L9D3dnqCaCatHyP lNiVqP+Bk43z2cxhOaFBAqrdsRtuz+pLJkPbJnJsVMGU9IYisXzpdirvmbqK3L71 n2j/2PF7g6S0XgG5iFap931anu0Q9m7EOOiCoX1t0SG/55hdGHpgIwRFLEYQ/roF Jp5XTZUZoHvmB3GjcwF4o4tWrwcbUDeY9x6/FLy1y1lAw1zOy9nGkVnCcNLqb/Kn kYMj7GX9PVtqY/OThA9kv2rt+xUDHYckTWeKteoEtL6iojs8LpcRIGqxxyKKDSH8 erKT6nIdqD7crUHTeFxbw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudelgedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefirghrhicutfhoohhkrghrugcuoehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgheqnecuggftrfgrthhtvghrnhepkeeuvdffueduke egieeuffejhefgkeetfeehueelfeduuefgveellefhfefgjedvnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghgrrhihrhhoohhkrghrugesfh grshhtmhgrihhlrdhorhhg X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Dec 2023 11:56:07 -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 1/5] staging: rtl8192e: rename variable posHTCap Date: Tue, 12 Dec 2023 11:56:33 -0500 Message-ID: <20231212165637.17618-2-garyrookard@fastmail.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231212165637.17618-1-garyrookard@fastmail.org> References: <20231212165637.17618-1-garyrookard@fastmail.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Coding style issue, checkpatch Avoid CamelCase, rename it. posHTCap -> pos_ht_cap Signed-off-by: Gary Rookard --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rt= l8192e/rtl819x_HTProc.c index 14e25f87c1bf..eb798a3a9052 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -247,27 +247,27 @@ void ht_reset_iot_setting(struct rt_hi_throughput *ht= _info) ht_info->iot_ra_func =3D 0; } =20 -void ht_construct_capability_element(struct rtllib_device *ieee, u8 *posHT= Cap, +void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_h= t_cap, u8 *len, u8 IsEncrypt, bool bAssoc) { struct rt_hi_throughput *pHT =3D ieee->ht_info; struct ht_capab_ele *pCapELE =3D NULL; =20 - if (!posHTCap || !pHT) { + if (!pos_ht_cap || !pHT) { netdev_warn(ieee->dev, "%s(): posHTCap and ht_info are null\n", __func__); return; } - memset(posHTCap, 0, *len); + memset(pos_ht_cap, 0, *len); =20 if ((bAssoc) && (pHT->ePeerHTSpecVer =3D=3D HT_SPEC_VER_EWC)) { static const u8 EWC11NHTCap[] =3D { 0x00, 0x90, 0x4c, 0x33 }; =20 - memcpy(posHTCap, EWC11NHTCap, sizeof(EWC11NHTCap)); - pCapELE =3D (struct ht_capab_ele *)&posHTCap[4]; + memcpy(pos_ht_cap, EWC11NHTCap, sizeof(EWC11NHTCap)); + pCapELE =3D (struct ht_capab_ele *)&pos_ht_cap[4]; *len =3D 30 + 2; } else { - pCapELE =3D (struct ht_capab_ele *)posHTCap; + pCapELE =3D (struct ht_capab_ele *)pos_ht_cap; *len =3D 26 + 2; } =20 --=20 2.41.0