From patchwork Wed Jul 12 23:33:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 119430 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1483167vqm; Wed, 12 Jul 2023 16:40:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlFND79Dj8K2Muh50jV9iGRuokXg/uCzjxKCLzcdeEHPuGtyzcyWwM2hLIIghdGE/wmkBu4e X-Received: by 2002:a17:90a:fc88:b0:263:27f5:d447 with SMTP id ci8-20020a17090afc8800b0026327f5d447mr21018185pjb.9.1689205241807; Wed, 12 Jul 2023 16:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689205241; cv=none; d=google.com; s=arc-20160816; b=jkly0rtZhVqK+4hFWhHGO1qmit7t+uQMV4HWfapVbxGN941Ur8WKVPzAtPfyX9srGN dSNH/39y6vx5FT3SEV2zdrDNkNhqC0xC3wYR0iq0bkjSaTS0FXdE1L6vo7CxNSqBKkvl ZXWxRJOV9uvi7BxiSpHoYFcikoqDvIXYEZ0oBuoUh1od/7h1dMfJbsPvKYDwn8HMERQK uz7Mi5htjeM1DaGlkjCjIYKFpWgEE58wRKyvwXO6Sx6i8NW0DjsWUUQf+lYwFhURYTTQ I9lyuUTOxxYhmx6uv2i8Ie/yebRPPPuIPxu38hy02y/pgsRQEnAMi4mag768jfWpqip+ pRFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=xEykn5O3AcwqQdEBmBVqHz7EZgUxWI0RQoPVGI+bjwc=; fh=3jvUQscqe8rwMJMYm8BR5N83dgzqgjDCTpIcxqpBKxM=; b=zx2vrCrMTVlUf8sQKiuv8kbvoUpIZslrw30Ze50CHBbiCKxxykVcpi7Loiq4gBhJ8x y0+Ct+ciqfDKI8nT5fkwGkIzXN/fe8vhpyseyLrRmgYCtEYOc91BcsXQAgZuFHUXjoFX AI2fyduoYF3fqGnBSCdGvt8WKeSxE4jL6Bcn+e/pm7PAk4oUhZP/JmiHlNYe24sCrotg hpsyFWNto5D/3o37WsxEYclMPgYaoN2r3lIplyoaX7YY+DD553bBZOIt+L0i3XKuAGdL a1SPXaVqc1HmFD3hGDCani/2UNxojloSVOFdcln6RlT/g/fj/OTOSFqydWDEzgfxmvSV taLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=rzQLk+IE; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=F1Pvuo7e; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fr14-20020a17090ae2ce00b00262f8c7ed18si11591546pjb.94.2023.07.12.16.40.29; Wed, 12 Jul 2023 16:40:41 -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=@pobox.com header.s=sasl header.b=rzQLk+IE; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=F1Pvuo7e; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232923AbjGLXcV (ORCPT + 99 others); Wed, 12 Jul 2023 19:32:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231144AbjGLXcS (ORCPT ); Wed, 12 Jul 2023 19:32:18 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D6E2E5C for ; Wed, 12 Jul 2023 16:32:17 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 956501B7F9B; Wed, 12 Jul 2023 19:32:16 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:cc:subject:message-id:mime-version:content-type; s=sasl; bh= k4Rg3JScZZGbHu0KzWz4UIDzTNedP5Uso0IXHkeikgY=; b=rzQLk+IE6dlRwBIB 4SxDwD4+/KTQv0l1NyfKKZgH4WB4dA4gGMQiuHO61P21N2WwcG/BZdLVN7/fnR+I xruLA2JSwdRIjhTy2MQjFCAp1N//Q7aud/zQFnoepA2T73+CPG3nd5DQoESeH3v5 Hxs3TmwJiCwiLXddpK3yYz5PEXc= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 8CE551B7F9A; Wed, 12 Jul 2023 19:32:16 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=date:from:to:cc:subject:message-id:mime-version:content-type; s=2019-09.pbsmtp; bh=k4Rg3JScZZGbHu0KzWz4UIDzTNedP5Uso0IXHkeikgY=; b=F1Pvuo7eX1uoGsTIifdmrhDJsNmlrvRkT0+/etQ5QKInCq5t0h/mGKA/ylbZRd2bXjIkI5vNRuvn6pnpfg+B7Bm5K4rNz6s8vaD/9tAwyz0n3ttUXwB/6FAt4bgKBEpV8iVZb4GJq+FCLZa9LcMKFVta1zKm79Nnkt8SjwmT/cE= Received: from basil (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 4A2F31B7F99; Wed, 12 Jul 2023 19:32:15 -0400 (EDT) (envelope-from tdavies@darkphysics.net) Date: Wed, 12 Jul 2023 16:33:06 -0700 From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com Cc: tdavies@darkphysics.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 07/12] Staging: rtl8192e: Rename function TxBaInactTimeout Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Pobox-Relay-ID: 55DF614C-210C-11EE-8F96-C65BE52EC81B-45285927!pb-smtp1.pobox.com X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771260075681772200 X-GMAIL-MSGID: 1771260075681772200 Rename function TxBaInactTimeout to tx_ba_inact_timeout in order to Fix checkpatch warning: Avoid CamelCase Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 941b3f47710e..675f3ba15a7a 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -518,7 +518,7 @@ void ba_setup_time_out(struct timer_list *t) pTxTs->TxPendingBARecord.b_valid = false; } -void TxBaInactTimeout(struct timer_list *t) +void tx_ba_inact_timeout(struct timer_list *t) { struct tx_ts_record *pTxTs = from_timer(pTxTs, t, TxAdmittedBARecord.timer); diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 087082cdcee6..7f0340dd764d 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -153,7 +153,7 @@ void TSInitialize(struct rtllib_device *ieee) timer_setup(&pTxTS->TxPendingBARecord.timer, ba_setup_time_out, 0); timer_setup(&pTxTS->TxAdmittedBARecord.timer, - TxBaInactTimeout, 0); + tx_ba_inact_timeout, 0); ResetTxTsEntry(pTxTS); list_add_tail(&pTxTS->TsCommonInfo.List, diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index face43ee8a2b..4f55dcf42bc7 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -2014,7 +2014,7 @@ void ts_init_del_ba(struct rtllib_device *ieee, struct ts_common_info *pTsCommonInfo, enum tr_select TxRxSelect); void ba_setup_time_out(struct timer_list *t); -void TxBaInactTimeout(struct timer_list *t); +void tx_ba_inact_timeout(struct timer_list *t); void RxBaInactTimeout(struct timer_list *t); void ResetBaEntry(struct ba_record *pBA); bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *Addr,