Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2074387rwb; Thu, 27 Jul 2023 01:21:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlF34CrG+vdbxm9LIXxsc3u8aafIy4EoQm+Q8ldKBMg+Bdr/q8lUrIA51aKvEulwk5BkLFOi X-Received: by 2002:a17:903:192:b0:1bb:9efe:b1be with SMTP id z18-20020a170903019200b001bb9efeb1bemr2285278plg.30.1690446104321; Thu, 27 Jul 2023 01:21:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690446104; cv=none; d=google.com; s=arc-20160816; b=UxnYgJymGrn/QCutk1beTVM2p11Z1DYM8BmI/vkVFc/r44MWC36sQ3+EV6shH4H1gN 3VmJCYdnUSoe8ZKpgDfaz+m2lexlFNY4Fd/exuQ99KBVyhhEonmElSFvOEMCWxyxaqiX 8sM1cLUaTpX5zJCRUSoanD0kt3W+pjXABQ1RV6Z3oT8D+9q0uKHvmeQZNVAyCOXH6GbJ ZfM4XBZyeE4COmR/Kvlxu48eSQzDzt7D2HBLkkEXY6n1YJnf9nHjG3bdBOesaBbyqoGi xFUgAENzVjsWkvmPOhR1D3WqLM9bh2fr59jQZrSlsJ/9hfLkp8JXIETysGoHKAgVs6EM uF7w== 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=ne6PrrBNojwFkomR5bXo4LdOeCKwtvf1XIPx14UGznw=; fh=RKcZyBvF2K0Z+j0IHxy1tIXcvHVOIy6/0rUbytruDQc=; b=S7X0oi7rwhl7c3ueJjOVc2LTATY8x+OhQJm4saApiTBh8Tve9ArygJned6Z493ss1m lVr/f82HfYfAW2MO/zhJexR4FHeLrT3fLiHkn/XcNdkci6Gc1pGv6a3AF86MHhiGWWX0 dn1M+rxUNnRSyXVgou5tWXAJOvl7NtAL90kXqQDOREVj3/c3d/mg4K5kDmxU3jRkMFIf fXoOdEXUHKJRtUS+5oFioXt1cJO6Ow9X5MX3mqKS1IJwFfVAeg2csqoy1uOv7vKlDXyC 6K2zhqc9LpWZ3CKcuC7vJ7z/OpTNQj0e1sGZyMWN35fswLWjgYkOvboTsDSNrBWgZ4ju k7wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RFkiZjLF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n8-20020a170902e54800b001b9ea5f0feesi1044409plf.453.2023.07.27.01.21.31; Thu, 27 Jul 2023 01:21:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RFkiZjLF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231966AbjG0IKa (ORCPT + 99 others); Thu, 27 Jul 2023 04:10:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233648AbjG0IKL (ORCPT ); Thu, 27 Jul 2023 04:10:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 382132D4F for ; Thu, 27 Jul 2023 01:07:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4C4BD61DA9 for ; Thu, 27 Jul 2023 08:05:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 540E1C433C9; Thu, 27 Jul 2023 08:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1690445152; bh=hI1dHJR15QlDn6+LJsqscQtpSytDcyxsnuee5JIyW8M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RFkiZjLFKiKpljvj7vWwExrxR0zEF2+1S+0hJia2KkSuScTxnPuo1SF1Jk2JnJqHG h8424eeFLhOaQIUy7lTufjLSNzdVH+fxbNZOwqv3j5swHI6eYWjNEGRWNdAnBzNNlS ktWgDq6gTLRYrS8qqvof3G88ijRjWdl1z2snkekc= Date: Thu, 27 Jul 2023 10:05:49 +0200 From: Greg KH To: Tree Davies Cc: philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 5/5] Staging: rtl8192e: Rename function ResetBaEntry Message-ID: <2023072731-turtle-reassure-568d@gregkh> References: <20230727061948.579480-1-tdavies@darkphysics.net> <20230727061948.579480-6-tdavies@darkphysics.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230727061948.579480-6-tdavies@darkphysics.net> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 26, 2023 at 11:19:48PM -0700, Tree Davies wrote: > Rename function ResetBaEntry to reset_ba_entry in order to Fix checkpatch > warning: Avoid CamelCase > > Signed-off-by: Tree Davies > --- > v2: Sent with git send-email > drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- > drivers/staging/rtl8192e/rtl819x_TSProc.c | 6 +++--- > drivers/staging/rtl8192e/rtllib.h | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c > index 9662d75257ce..cb6450206763 100644 > --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c > +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c > @@ -54,7 +54,7 @@ static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_record *pRxTs > return bSendDELBA; > } > > -void ResetBaEntry(struct ba_record *pBA) > +void reset_ba_entry(struct ba_record *pBA) > { > pBA->b_valid = false; > pBA->ba_param_set.short_data = 0; > diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c > index c61fdf73c572..21ffbb6b231f 100644 > --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c > +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c > @@ -117,8 +117,8 @@ static void ResetTxTsEntry(struct tx_ts_record *pTS) > pTS->bAddBaReqDelayed = false; > pTS->bUsingBa = false; > pTS->bDisable_AddBa = false; > - ResetBaEntry(&pTS->TxAdmittedBARecord); > - ResetBaEntry(&pTS->TxPendingBARecord); > + reset_ba_entry(&pTS->TxAdmittedBARecord); > + reset_ba_entry(&pTS->TxPendingBARecord); > } > > static void ResetRxTsEntry(struct rx_ts_record *pTS) > @@ -126,7 +126,7 @@ static void ResetRxTsEntry(struct rx_ts_record *pTS) > ResetTsCommonInfo(&pTS->ts_common_info); > pTS->rx_indicate_seq = 0xffff; > pTS->rx_timeout_indicate_seq = 0xffff; > - ResetBaEntry(&pTS->rx_admitted_ba_record); > + reset_ba_entry(&pTS->rx_admitted_ba_record); > } > > void TSInitialize(struct rtllib_device *ieee) > diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h > index e3ce4431d460..ccc9e7bbbcbb 100644 > --- a/drivers/staging/rtl8192e/rtllib.h > +++ b/drivers/staging/rtl8192e/rtllib.h > @@ -2016,7 +2016,7 @@ void TsInitDelBA(struct rtllib_device *ieee, > void BaSetupTimeOut(struct timer_list *t); > void TxBaInactTimeout(struct timer_list *t); > void RxBaInactTimeout(struct timer_list *t); > -void ResetBaEntry(struct ba_record *pBA); > +void reset_ba_entry(struct ba_record *pBA); Again, this is a global symbol name, please prefix it with rtllib_ thanks, greg k-h