Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4895048rdb; Tue, 12 Dec 2023 12:17:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGk0WPBVNAILyTMoh+zXBXlsVVDLAISdQkrGtHOYwWn85bkX6qCd72Hqf6782XLtRft/eHa X-Received: by 2002:a17:903:2654:b0:1d0:6ffd:f215 with SMTP id je20-20020a170903265400b001d06ffdf215mr3119417plb.107.1702412240391; Tue, 12 Dec 2023 12:17:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702412240; cv=none; d=google.com; s=arc-20160816; b=y/c52SjlH9C1/Z1Lf+2XuPEL6GKf9ppr5VwwX0eS54KrxqAagN3Rs/2kx04BUvtngk ArRzPV0Z2HMVuPcmr80Wj8SPBPJn2T1oiAG9Sz2LbfKyaA96mNLdHe2D86jO9lcTY761 qSnZosEdoJfVOprQsL0nmJOIGx8eC34o31Zm059Ag0+HgVIAPINBGfjN+ugx2gaC5DIJ AC++0vg471G0ARp9yvVAiEK7J2/Y9fot907WTfvlwYH8y4NHcz5y5hGE+oMNKg4lY2bP wKgUqQ0gjx1s4l5dK8QPuzSW3FsT3dl+y0HKwm1mMd/M495R/MKZVqR8jxoqltrdrx4P vRxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:in-reply-to:date:subject :cc:to:from:user-agent:references:feedback-id:dkim-signature :dkim-signature; bh=2+cjEQfIm0O3WXRt9PnhBi4A8k6n3UUDe27/DIffOyQ=; fh=8Pn+w9Rbu6yuzDWYdW8IPC3IQ7pfubB2YcNq0PjsG1M=; b=wKk0o9fnGcW/2dC/29h736liG/OJl4Kgm/QwXIX3QAze1cNBi91DmAVlWgF+kvxYWp pcpdYnpGCQCBMf+HWlgA4YjGq6BuA4c/DJvjsChAzs90gl63oCYglOqocKEwc+Lc8JUu qEp9XZ61tTsFY12g5DLy5Gg57biPNdHHFwYfqyKbn3gUCg73TU5U3P1nwI0W6kRKLGC8 eXLXnhK8656nW8b++qV52/NpQZcaV0+srYZxJ+ytMo1Y00AHqV6Q5F+qUtQGtkONDA7K evMQN91Jh/P62jMaiKcfIVigVhZYmNgOJl8E2c8LjPT4njqdJ87z//3a+Qd59s5W5XuP 7Nsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fastmail.org header.s=fm1 header.b=K5TXCCeO; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=dOt2vi9T; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fastmail.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id a8-20020a170902b58800b001d05cf08ac6si8073552pls.477.2023.12.12.12.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 12:17:20 -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=@fastmail.org header.s=fm1 header.b=K5TXCCeO; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=dOt2vi9T; 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; 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 morse.vger.email (Postfix) with ESMTP id 8558F80F9BF8; Tue, 12 Dec 2023 12:17:17 -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 S1377292AbjLLUQy (ORCPT + 99 others); Tue, 12 Dec 2023 15:16:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231720AbjLLUQw (ORCPT ); Tue, 12 Dec 2023 15:16:52 -0500 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E84ABC for ; Tue, 12 Dec 2023 12:16:58 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A27225C00DE; Tue, 12 Dec 2023 15:16:57 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 12 Dec 2023 15:16:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.org; h= cc:cc:content-type: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=1702412217; x=1702498617; bh=2+cjEQfIm0 O3WXRt9PnhBi4A8k6n3UUDe27/DIffOyQ=; b=K5TXCCeO25/aCqPV7YBAgfKmGS aSeN1BWMtdPg11rZArhXNrrCkKoJO5BD6DPDQFTJgMA8JODAt66zjQXQJDt5geqA MmwNRRpxlfknPslbKGKS7A1spmpJswJXvi246JgJv3/fQHE8nvZ7eaKR5c9cmjXJ Pc9xacBTe/AP6WEV9yqEEjZGnjuNDVREP7ecvUHBcN9NMNUyqa00Pv0KWC/bGyI3 3VHamOKAXx56Ay0SHaotFwXmbwr2yKsHW+wFVOsSAUiAsxF+jPMAhcRe8BT68/bA wabvq/yPdy7HnRBjMg7Db4vSrZEnzwnQUCI+jIwlwFxlOTeWlN92mZQGtFMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type: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=1702412217; x=1702498617; bh=2+cjEQfIm0O3WXRt9PnhBi4A8k6n 3UUDe27/DIffOyQ=; b=dOt2vi9T1CNWYGTM9MxuYhob3+lGrp/udilRLhnfkRIh /bqzybwZu1IKsNr1mPkHrAGPcb9jD/XaTrRIUb2mazpkAmFdnauYVboBMRq5ns8L 4bgf2xhQyaeIw0NS1Z9TQqFWubx5X5S4DjD5VIYGkFm/LbOQpkOwfI004a6vB52M rpXFUZMUt01dunX16APepmlqTLAndRkP2lI8iUrfyEm5GTsP+h5H77uTxeOYjqIP BuPAk3aXfo4XoNDurwQlH9nXNhIBZSe3MDUr8XQQIaOrQJ3S6LndhestNzrrwVrH 8714kHsavO03gFaWYfglUXnjfVUTNZmR+3Ut9tbvmw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudelgedgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvfevufffjgfkgggtsehgtderredtredtnecuhfhrohhmpefirghr hicutfhoohhkrghrugcuoehgrghrhihrohhokhgrrhgusehfrghsthhmrghilhdrohhrgh eqnecuggftrfgrthhtvghrnheptdeukeefuedujeevveegvdehudefudekkeetgeejleei geefffdvuddujeelleffnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrghrhihrohhokhgr rhgusehfrghsthhmrghilhdrohhrgh X-ME-Proxy: Feedback-ID: ifd194980:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Dec 2023 15:16:56 -0500 (EST) References: <20231212165637.17618-1-garyrookard@fastmail.org> <20231212165637.17618-5-garyrookard@fastmail.org> <6a065daf-3639-4a87-8ab6-7018e0362900@gmail.com> User-agent: mu4e 1.10.6; emacs 29.1 From: Gary Rookard To: Philipp Hortmann Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/5] staging: rtl8192e: rename variable pHT Date: Tue, 12 Dec 2023 15:14:01 -0500 In-reply-to: <6a065daf-3639-4a87-8ab6-7018e0362900@gmail.com> Message-ID: <874jgnuqf0.fsf@fastmail.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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 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]); Tue, 12 Dec 2023 12:17:17 -0800 (PST) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Philipp Hortmann writes: > On 12/12/23 17:56, Gary Rookard wrote: >> oding style issue, Avoid CamelCase >> rename it. pHT -> ht >> Signed-off-by: Gary Rookard >> --- >> drivers/staging/rtl8192e/rtl819x_HTProc.c | 20 ++++++++++---------- >> 1 file changed, 10 insertions(+), 10 deletions(-) >> diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c >> b/drivers/staging/rtl8192e/rtl819x_HTProc.c >> index ac85151a6069..add8f58b5b1e 100644 >> --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c >> +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c >> @@ -250,17 +250,17 @@ void ht_reset_iot_setting(struct rt_hi_throughput = *ht_info) >> void ht_construct_capability_element(struct rtllib_device *ieee, u8 *p= os_ht_cap, >> u8 *len, u8 is_encrypt, bool assoc) >> { >> - struct rt_hi_throughput *pHT =3D ieee->ht_info; >> + struct rt_hi_throughput *ht =3D ieee->ht_info; >> struct ht_capab_ele *pCapELE =3D NULL; >> - if (!pos_ht_cap || !pHT) { >> + if (!pos_ht_cap || !ht) { >> netdev_warn(ieee->dev, >> "%s(): posHTCap and ht_info are null\n", __func__); >> return; >> } >> memset(pos_ht_cap, 0, *len); >> - if ((assoc) && (pHT->ePeerHTSpecVer =3D=3D HT_SPEC_VER_EWC)) { >> + if ((assoc) && (ht->ePeerHTSpecVer =3D=3D HT_SPEC_VER_EWC)) { >> static const u8 EWC11NHTCap[] =3D { 0x00, 0x90, 0x4c, 0x33 }; >> memcpy(pos_ht_cap, EWC11NHTCap, sizeof(EWC11NHTCap)); >> @@ -275,9 +275,9 @@ void ht_construct_capability_element(struct rtllib_d= evice *ieee, u8 *pos_ht_cap, >> if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) >> pCapELE->ChlWidth =3D 0; >> else >> - pCapELE->ChlWidth =3D (pHT->reg_bw_40mhz ? 1 : 0); >> + pCapELE->ChlWidth =3D (ht->reg_bw_40mhz ? 1 : 0); > > The last line changed with my patch: > [PATCH 02/10] staging: rtl8192e: Remove variable ht_info->reg_bw_40mhz > > It is always difficult to know which patches are accepted by the > maintainer but you may want to look into the following mailing list to > see if there have been any patches send in for this driver. > https://lore.kernel.org/linux-staging/ > > You could apply the send in patches and build your ones on top. Then > you do not have this issue. But when the patches you are using are not > accepted you will run into the same issues. > > Thanks for your support. > > Bye Philipp Okay, no problem. Regards, Gary =2D-=20 Sent with my mu4e on Gentoo GNU/linux. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJNBAEBCAA3FiEEjsrWb+cZk1AuzV9C2li+Bks2LgAFAmV4v8MZHGdhcnlyb29r YXJkQGZhc3RtYWlsLm9yZwAKCRDaWL4GSzYuAFpHEACxYwOhErAQCco8Srpcq/iI tgRK7G0GMYdbXPOz7fNxuLv9AUKMijqMyXiGtO8L+koKollJqD/3l07Cnm8CAxR4 JWRu/nK8Dz6w1jWtStJxuhV1qlKenCrYPrCLOkRMG3S4VHHWnf1TOYl/l1hVu1bQ aBBOYjQGR1tD/8rDCC/uu18iDVAW5o0uRhhYQyrCjSPmp5XNmdIPBTfLG18PtSBK sfHA+UdZXt2wVjVgPworBuEHahBjgKG1Ev9eqaTiqNgWxxyX8APZl4smz90Jbm/W mTL8/exIwQMLl4rtBJVD+i0ld07DWs/0Dw2kIwgqKenOHO+eb5c2KKdFbsGLiCeX 1GYwVo8zvDNx8U2SVFBVyAYQaoO73CSUG6ssr39WL37bdyXaYKQwLG8MFhdJlj9j 2yRdBSaECnLKBbYZyuIb/h8nbg3vZK+Qe+EHaDfXubFVfJt3LNm0x72Ndb+lTf84 6G9OvJpHJ3cYdU4uuTyH0oZibS8PVkBLv2aKjnZ8OCxGAhYtllB5bdCMIWD9Hyx4 68Cyp8j11fbNwwZ5Vqj6PtqZYYb0Qjb9tdcYVYKy3tBUlilwA7CquRBF5g6W9GJg 23lOk8/aaNgdZ+zzIUpduLOLiVfulh2wN9bhB77fE1XBn3PoO/8jUCTxNGd/PhC0 ooy5Ip9S0Ts73VCX4xGzDA== =OyRa -----END PGP SIGNATURE----- --=-=-=--