Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp634920rda; Sun, 22 Oct 2023 03:23:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFqGXBZaUw2X/YbEVSjcc7ixn2VDGLzA72lIJhBQVs2XlFi76Q5CINq1nm/f9tHfiABwkOg X-Received: by 2002:a17:903:32c1:b0:1c7:5776:a30f with SMTP id i1-20020a17090332c100b001c75776a30fmr8059874plr.12.1697970192520; Sun, 22 Oct 2023 03:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697970192; cv=none; d=google.com; s=arc-20160816; b=wKhWVesiRw8pLCAGR9wMYQEAlNoUpSJ8okbn4SMKbanvWSFvxRKqKYRg5TKEuZsY08 2kB/q3ww5ZBwaaMTOvr8Uz8TI3Ed0WCdnkaDRJCswmG1xIbWXT9ub9eFYbeH3uiQKc5F oZM6qetT+BgX7ICVkEmlQugEKbl2cbo6shehlgEegxXJADLDJcpdT+msZVmP2ZRSoI5r o8V+0AtI+l2VDJ9D3ggdcagpeo0YJBN/TGE/9QEi0Jv43W49cgLdcLNrv0QhpXkhGfxg L8QKmOVQNp1xleqKJ0TO04Py5vf7tlDxlCPwdMUjO3WYUCewilyLDvdGvFySxcOXRipC +r5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3lzlkTgNKw0LbxnKxFqLsAEFjg1RL7GZA92g8dTlpsU=; fh=RnuKsxhM9S1QS3vS+sI4jmezdQuWs0POOD+I94J4Koc=; b=yGveIiVGErFMVDgNlxSb0lDx2jQeKgxP8/VZNnnPQJhy37JW5GRqu+m0Ya7CA8Dh4a UL3l54tUBxFU11BhS2rBYNCGfDfD6nKHm+mAZpwxYqHWmlvefU3egAo5ezeZQuF9mpyk Zy8FLPoY6wBVFgf/GpTktygpkuBV0Cnch5M5rLdRyZvh0cJ0R+MWryvrYmlxDet69X2f rR1NzOVCO9vJNxs70QFTm8gN6fOBG6Uk3S3Z6DlnXUHEZ5xJJtQpCq3NjYqPyK4tQKOD WkCcnJfk7rDmID+5AAoXdAQCd0mUVJwW5jhMJqsVOspZD0hSmHUaW/WX3IU2r55mVGUV Rvng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Y5LvDy/n"; 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=linuxfoundation.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id c17-20020a170902d49100b001c1e4f9c63esi4955630plg.491.2023.10.22.03.23.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 03:23:12 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b="Y5LvDy/n"; 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=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 242A280644F1; Sun, 22 Oct 2023 03:23:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231576AbjJVKWx (ORCPT + 99 others); Sun, 22 Oct 2023 06:22:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231485AbjJVKWv (ORCPT ); Sun, 22 Oct 2023 06:22:51 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64EB6112 for ; Sun, 22 Oct 2023 03:22:49 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A86FBC433C7; Sun, 22 Oct 2023 10:22:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697970169; bh=u3mZD3M0BbAp4t/Q6xqF3Flpj6qCoSuxiadREdf57LU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y5LvDy/nVVt4KYd7rDwJ7JARcEVQxghB88LFjnOL0or7rn47Sd5mgA8ppRQAuK/h4 bWLzUfFqHYFq68YTp6N9iwOp3LcLHgOncViPOG16J/XF6iptfeLrRG1kvR6MZzw4Zw v/Oe0eihr/rQkT62MSCWp5TKzhk+EoQ+WR1v5ZrU= Date: Sun, 22 Oct 2023 12:22:46 +0200 From: Greg KH To: Gary Rookard Cc: philipp.g.hortmann@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8192e: renamed variable IsHTHalfNmodeAPs Message-ID: <2023102258-trillion-pandemic-1b85@gregkh> References: <20231021224051.7443-1-garyrookard@fastmail.org> <2023102221-abreast-refold-d300@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023102221-abreast-refold-d300@gregkh> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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, 22 Oct 2023 03:23:10 -0700 (PDT) On Sun, Oct 22, 2023 at 12:21:40PM +0200, Greg KH wrote: > On Sat, Oct 21, 2023 at 06:40:51PM -0400, Gary Rookard wrote: > > Renamed from Pascal/CamelCase to Snake case the variable > > IsHTHalfNmodeAPs, IsHTHalfNmodeAPs -> is_ht_half_nmode_aps. > > > > Linux kernel coding style (cleanup) checkpatch Avoid CamelCase. > > Driver rtl8192e compiles. > > > > 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 8070a152712e..f564474fab52 100644 > > --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c > > +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c > > @@ -139,7 +139,7 @@ u16 tx_count_to_data_rate(struct rtllib_device *ieee, u8 nDataRate) > > return MCS_DATA_RATE[is40MHz][isShortGI][nDataRate & 0xf]; > > } > > > > -bool IsHTHalfNmodeAPs(struct rtllib_device *ieee) > > +bool is_ht_half_nmode_aps(struct rtllib_device *ieee) > > { > > bool retValue = false; > > struct rtllib_network *net = &ieee->current_network; > > diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h > > index 6a9550eaf148..5cae02883a59 100644 > > --- a/drivers/staging/rtl8192e/rtllib.h > > +++ b/drivers/staging/rtl8192e/rtllib.h > > @@ -1783,7 +1783,7 @@ extern u8 MCS_FILTER_ALL[]; > > extern u16 MCS_DATA_RATE[2][2][77]; > > u8 HTCCheck(struct rtllib_device *ieee, u8 *pFrame); > > void HTResetIOTSetting(struct rt_hi_throughput *ht_info); > > -bool IsHTHalfNmodeAPs(struct rtllib_device *ieee); > > +bool is_ht_half_nmode_aps(struct rtllib_device *ieee); > > u16 tx_count_data_rate(struct rtllib_device *ieee, u8 nDataRate); > > int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb); > > int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb); > > diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c > > index ff98b41c94e0..501295f5b75e 100644 > > --- a/drivers/staging/rtl8192e/rtllib_softmac.c > > +++ b/drivers/staging/rtl8192e/rtllib_softmac.c > > @@ -1872,7 +1872,7 @@ static void rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) > > ieee->softmac_stats.rx_auth_rs_ok++; > > if (!(ieee->ht_info->iot_action & HT_IOT_ACT_PURE_N_MODE)) { > > if (!ieee->GetNmodeSupportBySecCfg(ieee->dev)) { > > - if (IsHTHalfNmodeAPs(ieee)) { > > + if (is_ht_half_nmode_aps(ieee)) { > > bSupportNmode = true; > > bHalfSupportNmode = true; > > } else { > > -- > > 2.41.0 > > > > > > Hi, > > This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him > a patch that has triggered this response. He used to manually respond > to these common problems, but in order to save his sanity (he kept > writing the same thing over and over, yet to different people), I was > created. Hopefully you will not take offence and will fix the problem > in your patch and resubmit it so that it can be accepted into the Linux > kernel tree. > > You are receiving this message because of the following common error(s) > as indicated below: > > - You sent multiple patches, yet no indication of which ones should be > applied in which order. Greg could just guess, but if you are > receiving this email, he guessed wrong and the patches didn't apply. > Please read the section entitled "The canonical patch format" in the > kernel file, Documentation/process/submitting-patches.rst for a > description of how to do this so that Greg has a chance to apply these > correctly. > > If you wish to discuss this problem further, or you have questions about > how to resolve this issue, please feel free to respond to this email and > Greg will reply once he has dug out from the pending patches received > from other developers. > > thanks, > > greg k-h's patch email bot Note that I have dropped all of your rtl8192e patches you sent, please fix them all up, properly test them, and send them as a patch series so we know what order to apply them in, otherwise it's impossible to guess. Think about what you would want to see if you were on our side reviewing them. thanks, greg k-h