From patchwork Sat Aug 12 20:16:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 134948 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp1890016vqi; Sat, 12 Aug 2023 13:48:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFILeNNGB06a35nUDUXJDVqut+byQYx6Soq0wU+lr+x3sMn5pmmcz+9r6D5eoj1MuRx2GI5 X-Received: by 2002:a17:90a:128d:b0:263:f62b:3601 with SMTP id g13-20020a17090a128d00b00263f62b3601mr3516793pja.10.1691873335370; Sat, 12 Aug 2023 13:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691873335; cv=none; d=google.com; s=arc-20160816; b=XnIY525SZJ80ssXoN/G3sv1yP1gMZ+/pGN1anzRZ9BOc9LsWNVtvdu7D2ux/n2XoM0 2rR1v4tZ88YBmCU5gEjh080HeXG3dkHTkNa/QCYJAtRxNR9/rOe+AywgUl8z9CEagOc0 Wlx/rTTlFwbJGMaWAsKKJRNftydCRTH6nGBo/p0ClEAZB1e/sVZ+9GQ0QBr/YzsYxtNI oMJVg+5a92XqYY+QwRIzAoYAWd5pCuaY6/nF8OiKyLt0tQBtwqVAir82xkSvzXmYGjeg zsznKEo/osXkykrUY0Pm4fe9Wga4eUJpC5/mT1Cs0CXy9Juokc/TcRAPzjGDtPp22A0a vB/g== 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=djZOzdbET7Ut9GwMJ9HR6qZun0AkanJ9IC58sTDIcHA=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=hy6n+HC9Kf+z3u0Xp7jA+xlNxK9DJqnjtFhvgUiFoP0nUdhsFMgbwjq72JCUohXcaG axG3IOseaBa9jazDbI/UYTHpFyEPZQJwcqaB2Gfno2Q7ucZnlFmotJ+vLJhbqQ1BjZ1w PvMVpatdQGoXSGMjcQ39IfXQdKTdvuXsQf/YDvmYXrdG0LKOtgXOCc5o3xPAWO2bnlWI MZx+Li+NXx1IP6bq8mi2R+2mpHoN94dCqHktOwgYuxlc4fOriaEhmUw9L6F+BHRXbSME X0kLAAJeM5dHJN0mq+kYaaEI2eB+Opy+eI2OXGBuRwtSnFja6uN7HSoEUHxsVYEUEWJk ayrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=wsMcOdkW; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=fRNSPa96; 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 fu4-20020a17090ad18400b0026404467b7dsi7540394pjb.110.2023.08.12.13.48.42; Sat, 12 Aug 2023 13:48:55 -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=wsMcOdkW; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=fRNSPa96; 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 S231290AbjHLUPP (ORCPT + 99 others); Sat, 12 Aug 2023 16:15:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231392AbjHLUPK (ORCPT ); Sat, 12 Aug 2023 16:15:10 -0400 Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A7251997 for ; Sat, 12 Aug 2023 13:15:13 -0700 (PDT) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id DB0821BE94; Sat, 12 Aug 2023 16:15:12 -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=tuxre37dON19QnujLYE2V5rvX KdrAkoFaz0FCvGD45A=; b=wsMcOdkW7pZLCvJx/bRNY6+oQhGeCfzqHTnDeDLtn WASWf53yqecoClRPV6tkmnycR/wYv5jfK21hVJJJ2oV5zf0rPP2b66u03NRJR+P+ ea7G503wlWX3cWmxfgEmz061Rs1O29HSqkFvWOII9FiWunsHTvLNZ0hwLc4cm44c 1Q= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id D46831BE93; Sat, 12 Aug 2023 16:15:12 -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=hcfIV3fD/3ucaklLQ9pgz2OmKOqrQXlAL/c+Eb2Rtfw=; b=fRNSPa96HdEnUGYq1M6Nbh8Jodlx/q5J/43sOE5IxcHtYjM4h4zrA94SDuQDHlUOC2xEMMvpPve12U3RAL5rQDRYbUQdI9cI63nIK08NpHhjXPGRGRM6AXG1GUgVsgIxh308wxUiCPQunzmqtSvKZ66bZ/xSPAS9oRmoNggC+TU= 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-smtp20.pobox.com (Postfix) with ESMTPSA id D9D751BE8E; Sat, 12 Aug 2023 16:15:07 -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 04/16] Staging: rtl8192e: Rename variable pRxTs in function rtllib_ts_init_del_ba() Date: Sat, 12 Aug 2023 13:16:50 -0700 Message-ID: <20230812201702.83421-5-tdavies@darkphysics.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230812201702.83421-1-tdavies@darkphysics.net> References: <20230812201702.83421-1-tdavies@darkphysics.net> MIME-Version: 1.0 X-Pobox-Relay-ID: EF68AD48-394C-11EE-8642-C2DA088D43B2-45285927!pb-smtp20.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,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: 1774057774927590799 X-GMAIL-MSGID: 1774057774927590799 Rename variable pRxTs in function rtllib_ts_init_del_ba() to rx_ts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 39a5da44b8eb..da2e53dea8e0 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -499,11 +499,11 @@ void rtllib_ts_init_del_ba(struct rtllib_device *ieee, (&pTxTs->TxPendingBARecord), TxRxSelect, DELBA_REASON_END_BA); } else if (TxRxSelect == RX_DIR) { - struct rx_ts_record *pRxTs = + struct rx_ts_record *rx_ts = (struct rx_ts_record *)pTsCommonInfo; - if (rx_ts_delete_ba(ieee, pRxTs)) + if (rx_ts_delete_ba(ieee, rx_ts)) rtllib_send_DELBA(ieee, pTsCommonInfo->Addr, - &pRxTs->rx_admitted_ba_record, + &rx_ts->rx_admitted_ba_record, TxRxSelect, DELBA_REASON_END_BA); } }