From patchwork Sat Aug 12 20:16:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tree Davies X-Patchwork-Id: 134966 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp1904935vqi; Sat, 12 Aug 2023 14:33:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHBNrDhLw3f6SdfwxsJS9h8veyyyTofnUS/BcFQgQd/qX1DECtZ19WE/3wjjw6kgXdobMYe X-Received: by 2002:a17:902:988d:b0:1bd:c7e2:462 with SMTP id s13-20020a170902988d00b001bdc7e20462mr2221099plp.11.1691876010151; Sat, 12 Aug 2023 14:33:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691876010; cv=none; d=google.com; s=arc-20160816; b=YoQoH8BEa+2x5vjMEXmMpswhp9rdGb8PSmhP0BsWvHuEk7MZvnPM9r2FHxzeR4jAjz T8BU76Shy/S/O46SYSQzKEINngB+xuUG2SaUNGUMrkGtrOg3zXYnDtXkpxgO9kjpnybj 0KFaGK7pTNptd9b6dEoHpZ+68gP+v+WCfYfJvIAxY7mBLR8uYFWjCPZVrg7zXLup/MnK b+aYYHqtuSBEjWFD2O5XjZ7XEhPhX5MnCbunwW8uKGJFtK0yyeMAi/IAxB/aHtyJHGUA m7nh/GXpherydMWBDfB+YiuN6zljtGTHqQ41iMk/GOpFANFeKOiTtbJTHsra8k/3Nbjq cHNA== 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=g9E4m3hZWTHNLJAmC577Ep/E6afO3EJOkV6k3CynFv0=; fh=I5RbcQPTSTvrwt0yqig+bV2C3roPED/NlXe1P2BfE7E=; b=hhJu8Kl0MMFlLU8h5RGV50r8VYt86laIFL8CLzvrSS6ZK02Frzow+rcRqyUJjecoPV 0QyG5Ok4LJIeVCiSz3gsEGshv67nNQCguebboEtA2W9OhaCjmZh1W7xx2rUxS7IyR2ih 3vQgUpGZDr/Z+ktSCQlb7+6cCwX4yLmzVF/7qQIJBX3bHHfEo3kP2sRDyvqKbXSDU7R2 MLBauVaaRub1PKMXCjlS+vcMZW4vaed1jmcURPdlWXYwPWRcQtKwWbe9az8auJBuj4iw 4E1sBH/rEXkqdXij2Qp1d5g4UfNnspAGSpbez1tBL/glATNE4RrP8aH0JNpsbUo+/mHP v2yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b="myn4R/LT"; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=URH1tEa6; 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 z10-20020a170903018a00b001aff514a8f0si5579902plg.534.2023.08.12.14.33.17; Sat, 12 Aug 2023 14:33:30 -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="myn4R/LT"; dkim=neutral (body hash did not verify) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=URH1tEa6; 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 S231383AbjHLUPT (ORCPT + 99 others); Sat, 12 Aug 2023 16:15:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231326AbjHLUPQ (ORCPT ); Sat, 12 Aug 2023 16:15:16 -0400 Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 947D31BD8 for ; Sat, 12 Aug 2023 13:15:16 -0700 (PDT) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 45B491BE97; Sat, 12 Aug 2023 16:15:16 -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=nLHCmhK5G+o/Yh9AxXUO2mkr4 8sS7ndKEBrgdV+qpf8=; b=myn4R/LTiJzf6wgD2MvWplk7etQXS6BMmpLJ28LJC 1SIiREvJYnYrkTA1ZtoEBfLc7trBsKKz25LcDTAXcxmV8IcsaY3gFFCiZfiOTPcn RZNJcsMe68RO72/HdKbxGT7x1h8AfBKfMRy+uCMln1PHCcuz9w4CwZBMXHbMCA6T Vg= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 3F5701BE96; Sat, 12 Aug 2023 16:15:16 -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=MABftY3OGQ0Kh2FYSoSozWmIqnJt27w5U6oR5+PjfW8=; b=URH1tEa6ofLbQoNVA9D3UKeVgxMQPrvckPZVNVDh6zkmgJjn4zvsbFVG43PYdN3DHmaYbeJZs6bQhjx5ilGAwijBl0Td9D57IVTTwmdEFXB3R5LhAdzUh6WqEP4hNXS6wpz8iyDYjZb1TRRfjxkp13ExOeD/sJOym88Ssj1ELcw= 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 98F591BE92; Sat, 12 Aug 2023 16:15:11 -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 05/16] Staging: rtl8192e: Rename variable pRxTs in function rtllib_rx_ba_inact_timeout() Date: Sat, 12 Aug 2023 13:16:51 -0700 Message-ID: <20230812201702.83421-6-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: F1835E0C-394C-11EE-80C2-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: 1774060579074970101 X-GMAIL-MSGID: 1774060579074970101 Rename varialbe pRxTs in function rtllib_rx_ba_inact_timeout() to rx_ts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index da2e53dea8e0..d3f1454ba5b0 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -532,13 +532,13 @@ void rtllib_tx_ba_inact_timeout(struct timer_list *t) void rtllib_rx_ba_inact_timeout(struct timer_list *t) { - struct rx_ts_record *pRxTs = from_timer(pRxTs, t, + struct rx_ts_record *rx_ts = from_timer(rx_ts, t, rx_admitted_ba_record.timer); - struct rtllib_device *ieee = container_of(pRxTs, struct rtllib_device, - RxTsRecord[pRxTs->num]); + struct rtllib_device *ieee = container_of(rx_ts, struct rtllib_device, + RxTsRecord[rx_ts->num]); - rx_ts_delete_ba(ieee, pRxTs); - rtllib_send_DELBA(ieee, pRxTs->ts_common_info.Addr, - &pRxTs->rx_admitted_ba_record, RX_DIR, + rx_ts_delete_ba(ieee, rx_ts); + rtllib_send_DELBA(ieee, rx_ts->ts_common_info.Addr, + &rx_ts->rx_admitted_ba_record, RX_DIR, DELBA_REASON_TIMEOUT); }