From patchwork Mon Aug 7 05:47:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 131711 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1275608vqr; Mon, 7 Aug 2023 00:17:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHXw5hReqvPUEYkjAvkFAcDKc2UBOsD+M3ro2o0xiUdoQDxjS4O9fzSLegZ9gaWQRdvENmm X-Received: by 2002:a17:907:a078:b0:99c:281:9987 with SMTP id ia24-20020a170907a07800b0099c02819987mr7870585ejc.36.1691392636968; Mon, 07 Aug 2023 00:17:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691392636; cv=none; d=google.com; s=arc-20160816; b=nYmpfQQT714sGb8fNGbvMadyqKYtmDUJ20evq8l1SINwX2DdsWtllp0W3fZMsu85hm eq5yW4UzproQlsJE78Mb5TVxPVotf1BMobVqKG0dUmVsTeMK1xiqSZO664CgbVpAXbAE t4trwBeVCVUYOIHo7TXQvLLtSba6zMf1TZ2cpKUBoR8TJxf5vr+6N2mOZPwWRIznEp1l DSflkof+g00TxqPqfPdnW9teicCb7gF0oODBwJ59afyijZIv86ZEuJtdzWdmOvzpPB6J JNt3DexXzV47wqI4WD2ZaZGglcE/8WIurLjPWxGtIsLVDdmQWb0BilCpF57j8Jur8SRG Sjzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=L2mUKNaqBhqDfkCOUObFaQBOAIs79DnxsO3B+9id4II=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=FP3TB+x8lYFnl8QJ3BlCprjjs3Zy+VQ6g1SxUKeO8CAKlvNxhRIemr8pl2LUfNDkEI HYfh23bPJ9yv4N2+iSQl8JaHHKR4rbN6NpLOD01eFNJ4S0XSxAI7oHvZ8TvoAZQ3g5e+ /Yv/jABlxkqjX5ZJG8CHJwTVV1qdpOLkhVoe8C/6jkrpk/6Iiy4fW7kZlW7AqTgiDPdi j+FC+ibhAFJT8iDvdB9T5nAGjBOn+Cv40nKTxuSX/o8PqhuMYAEHFFsYb31K8ik/P0xn oKoM6tkw21ZccKJJWXgl3QChAZHCDKFBm8ESDQZWCT18nsyDh8zlGhu+bF7Hq9kqW2DS F/og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=uWyzkXg+; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=vBjwvw9b; 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 i8-20020a170906264800b00992dc9d3b33si5259267ejc.863.2023.08.07.00.16.51; Mon, 07 Aug 2023 00:17:16 -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=uWyzkXg+; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=vBjwvw9b; 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 S230356AbjHGFp6 (ORCPT + 99 others); Mon, 7 Aug 2023 01:45:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230339AbjHGFpz (ORCPT ); Mon, 7 Aug 2023 01:45:55 -0400 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8BE5170B for ; Sun, 6 Aug 2023 22:45:54 -0700 (PDT) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2C78E1A0BDD; Mon, 7 Aug 2023 01:45:54 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=UZbkO1SU4qK1pWNPMd9kB5tXF apRGywmOww4Osqu2oE=; b=uWyzkXg+nVVyVSowRbAnX2oFtvXhQMgCNyseakM/G gPD3LvdwaFnOKyYY8H0bwFAOOL4g6uQeGtt4dcmXxh71wiIKZaQJhIwYYve0ft1r jCIcDgRng2HD7/ORf/4ERd4LkOW4mJjfZGg6Z8/sbItzTQ4ZddF0wyEgmSdI1lyD iQ= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2141B1A0BDA; Mon, 7 Aug 2023 01:45:54 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=from:to:cc:subject:date:message-id:in-reply-to:references:mime-version:content-transfer-encoding; s=2019-09.pbsmtp; bh=Y5vB0QwQ4fhrd6EOGcRc1kIxKkCS3zdjGWu89cF5rkc=; b=vBjwvw9bGweC2prD4vn7fD9TZry/VbTwoYhWsCKZz32FsvuHTm4Z+v66fIEXTdXegi1cYHBVHlYT0w/eQ93BZh06eMxgjcg7EaNhDBmmdqDlUdefmtKiy9F3dqiXXFte4k2X1H8dJiSxe6SluciHSsV/aGkAlolUUju3NwZDgUo= Received: from basil.darkphysics (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 8B3BD1A0BD7; Mon, 7 Aug 2023 01:45:51 -0400 (EDT) (envelope-from tdavies@darkphysics.net) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, error27@gmail.com Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 2/5] Staging: rtl8192e: Rename function TsInitDelBA Date: Sun, 6 Aug 2023 22:47:29 -0700 Message-ID: <20230807054732.1864827-3-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230807054732.1864827-1-tdavies@darkphysics.net> References: <20230807054732.1864827-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: ABE88900-34E5-11EE-A236-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 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: 1773553726119453024 X-GMAIL-MSGID: 1773553726119453024 Rename function TsInitDelBA to rtllib_ts_init_del_ba in order to Fix checkpatch warning: Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++--- drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 +- drivers/staging/rtl8192e/rtllib.h | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 9605d21bbf40..19c845ec863c 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -484,9 +484,9 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS, rtllib_send_ADDBAReq(ieee, pTS->TsCommonInfo.Addr, pBA); } -void TsInitDelBA(struct rtllib_device *ieee, - struct ts_common_info *pTsCommonInfo, - enum tr_select TxRxSelect) +void rtllib_ts_init_del_ba(struct rtllib_device *ieee, + struct ts_common_info *pTsCommonInfo, + enum tr_select TxRxSelect) { if (TxRxSelect == TX_DIR) { struct tx_ts_record *pTxTs = diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index a36f175ba230..759778787afa 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -361,7 +361,7 @@ bool GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS, static void RemoveTsEntry(struct rtllib_device *ieee, struct ts_common_info *pTs, enum tr_select TxRxSelect) { - TsInitDelBA(ieee, pTs, TxRxSelect); + rtllib_ts_init_del_ba(ieee, pTs, TxRxSelect); if (TxRxSelect == RX_DIR) { struct rx_reorder_entry *pRxReorderEntry; diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index c38dc5ae0b72..a4238db2fd56 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -2004,9 +2004,9 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb); int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb); void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS, u8 Policy, u8 bOverwritePending); -void TsInitDelBA(struct rtllib_device *ieee, - struct ts_common_info *pTsCommonInfo, - enum tr_select TxRxSelect); +void rtllib_ts_init_del_ba(struct rtllib_device *ieee, + struct ts_common_info *pTsCommonInfo, + enum tr_select TxRxSelect); void BaSetupTimeOut(struct timer_list *t); void TxBaInactTimeout(struct timer_list *t); void RxBaInactTimeout(struct timer_list *t);