Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3094913lqo; Tue, 14 May 2024 22:07:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUSknbqXRjfRgS7sUZlMXwOHp8KURv7gxMmfw+l6fNQ1u0FKF90RIf4FPLIi4UjuznfX83ONkkSaTMbF6cStxQ1MNdFfgTzzUSvTinUEQ== X-Google-Smtp-Source: AGHT+IHyZTvpj0IxetsOnz3ywS+ruQNALIN/5/OJDSn4j96tWmLd37agnghqbJF51WkpRYnKqzig X-Received: by 2002:a05:6214:5c03:b0:6a0:cd2a:8ae2 with SMTP id 6a1803df08f44-6a1681676b9mr165710496d6.21.1715749634842; Tue, 14 May 2024 22:07:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715749634; cv=pass; d=google.com; s=arc-20160816; b=qlOfurYGMOZAyz4UWAldEeQzeDM40YqB3J+zIdpqkzAgTkQ09MzZ0MJxgaf3z9CFAQ K9s1zQZFaDHOnzYOKdWujmCe5PuRaxWiFXDlzBFZwP+FWbrZ8bxFK7oDnmFEGLl6ZyId 3sMPCMHujHfT8ANwEu6eNxxPzZgkzmy+rp1Yv7BxofJxP2M7j0AweCmaXlSHkqmapv9e eRKfrgweU4vpBoWqix52olAQkOECU8baTlx5o+z71JpuYpqT4hU4wo4vSVCdKNb7sLeX swx/sKToM2iE/H2k377Kg6bNRGeFcbf7sV5INqcPNwf2eIZDLoRoWtMrI8fvhLPBVOHI vm+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+kBPmuk5VXOM/W5GBJsDLvPQlcshMIMkziBMZPCVoQM=; fh=2ALXwnWrnOaYB9y2FV0peL1faSvOoH+P84HSU0NInRo=; b=AV0kAZ8PQk35FBCHvFtj4u+3ou7n5zRPsDIpnjPJsjPat31wKfnzlA+ujRSpoUmQwX YeiJwT02uuifzMcS80ZxbakTFcc/3lsDZCRzJDuiE9yWhyITYdYuqBNSTGrR4WnfgU8T 9psPQa2kVKANMC6vr03F2UlVkHrrFiFpMAiHmLGbG9ctjJ3eG/NmWJWU0LDGxcaE8Prc tn2wr1cPltwyRc+LoW4pO2S6WwddxaeoPfhofx8B5xvYtzUjSz3chqlqXKKsJzEG8HqL QbxIaRyjXdWdCg/tqblAEDpSoEFzKIxr5BE5dL2ZPKOE3XACGZsor9SjalpA1VIZ2rL7 uRVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=EbC7iQtw; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179433-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179433-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f1d7761si136055796d6.82.2024.05.14.22.07.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 22:07:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179433-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=EbC7iQtw; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179433-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179433-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2E86F1C2421D for ; Wed, 15 May 2024 04:57:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6859745D9; Wed, 15 May 2024 04:52:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="EbC7iQtw" Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 774EA6BFD2 for ; Wed, 15 May 2024 04:52:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748776; cv=none; b=CeG6nNMNAsNz7e9QGmQMf9QmsF2SPdt19jnuLt38pbPXp8utquf3XC30qkunZkoYLeJkqKrftw0ZLbJi6xcaBUgJMh5g6iT74kbjff4jpovXwlc1Dp35rG/id3xD+2ERiXAoJ1wwLhj/W93wPia4FBeCKAER6u3HGzm+vKmE/NA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748776; c=relaxed/simple; bh=YgfIGaWfPXM0A521V0pgfcIQ1IktpJGFCjIqpUA6O9k=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nlwybll6cZScWgWyzuBZfpJTjtLcQQvCEAQiJPU32hcZb1QaVDIVSc0DHHUHgD6t/SLalIlXnRby3efNCtFS4y3nTBrDK0NnWgjDDB9sEckz6231BgWK8ZtUV5n9+mgC/iFpywITnuA1dhBII+3wd2Kc5nnBVz+fQAXr9TS4m1I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net; spf=pass smtp.mailfrom=darkphysics.net; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b=EbC7iQtw; arc=none smtp.client-ip=209.85.210.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=darkphysics.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=darkphysics.net Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-6f054c567e2so3988992a34.2 for ; Tue, 14 May 2024 21:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1715748774; x=1716353574; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+kBPmuk5VXOM/W5GBJsDLvPQlcshMIMkziBMZPCVoQM=; b=EbC7iQtwIDYaANj89f84xQulq0ib68Tk4/L7tZuWkv4w3D3chyR5fiM7IzZfXCsPp1 1AqN8hJAdc1WFRyER8gCIl2snOWx0pTmtw8Q5CIZ+8ydRD/u0C7KtBxqiO3PsMRFBPVB SjSzgCBEHldS0MA2jVfl/YT2dkWFwEdYZna/i259pSobg7KTB8MufQTBzlR7Q1UMQCI1 nVgq9O+MmsbKErjVRu2uM20sVHaafoniYUmPf8syVdG14+zx+7B1GSz0DG8/wx0s6Oph ZzNInDHPzkgRi5w+fTDNAjy1IyDLNaVt2YN6+ROQXUrT6EFTRaihRH/H+1w3Dr1ciRMI 5ypA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715748774; x=1716353574; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+kBPmuk5VXOM/W5GBJsDLvPQlcshMIMkziBMZPCVoQM=; b=RqKaetWjD5VlHJ8sqrl5jh8FntlExbEz8IRz2qfFD0D3gHRtyBfo8cW8IGwkLauMmu HjVUg/u6QpWP3DpIafY5qQB4zWF9kU3Wt8h591GX+E1T+SAK6eiR6FCo/tIDHPZxAAaa IQ0OFslRiSvnKecSk2Pr4gnIG8EX6wGwwaH2uoVPZbG45+4waqd4aEaFO7v7kFzGapBK MfyZa4XELhE2ZjZT9pIFPXdgeBZcYxxPWG8qpkkBmHqhPu46FwQEvz8j6Gg91oogPaWk CIti62rJ0t6hvOo7WzOoebB3tQYr49XZxsqrCDrYgisiwq6Uckwd/ovH2yXwb4WJyxuS 4m+g== X-Forwarded-Encrypted: i=1; AJvYcCV6+/5Scdbgczh5lIRfJKlKGFoHOwiYEC3yZPe3t0UisZApOwUkv0RIEhcLGLzT7HAZ73A5cvUmsoRejSNta2x1t5HajwHqlFGvsM6A X-Gm-Message-State: AOJu0YzRlB5epNA0ywgu5M3JiAtdH/qFABNyEbElPX4izM9IooMjsdrf OAJvbQTsFRsvpF0cMCmLu5Z6khuf5/pfh0dUxBIVDvPxkJg2tvWcDx9ynqJwSCM= X-Received: by 2002:a05:6871:713:b0:244:bf6e:c94d with SMTP id 586e51a60fabf-244bf6ee995mr12183746fac.11.1715748774724; Tue, 14 May 2024 21:52:54 -0700 (PDT) Received: from lunchbox.darkphysics (c-76-146-178-2.hsd1.wa.comcast.net. [76.146.178.2]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f4d2a827fdsm10135035b3a.60.2024.05.14.21.52.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 21:52:54 -0700 (PDT) From: Tree Davies To: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Tree Davies Subject: [PATCH 29/31] Staging: rtl8192e: Rename variable RfdCnt Date: Tue, 14 May 2024 21:52:26 -0700 Message-Id: <20240515045228.35928-30-tdavies@darkphysics.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240515045228.35928-1-tdavies@darkphysics.net> References: <20240515045228.35928-1-tdavies@darkphysics.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rename variable RfdCnt to rfd_cnt to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtllib_rx.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index 976e8b4da1d4..89dcbead5e11 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -491,13 +491,13 @@ void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee, struct rx_ts_record *ts) { struct rx_reorder_entry *pRxReorderEntry; - u8 RfdCnt = 0; + u8 rfd_cnt = 0; del_timer_sync(&ts->rx_pkt_pending_timer); while (!list_empty(&ts->rx_pending_pkt_list)) { - if (RfdCnt >= REORDER_WIN_SIZE) { + if (rfd_cnt >= REORDER_WIN_SIZE) { netdev_info(ieee->dev, - "-------------->%s() error! RfdCnt >= REORDER_WIN_SIZE\n", + "-------------->%s() error! rfd_cnt >= REORDER_WIN_SIZE\n", __func__); break; } @@ -509,13 +509,13 @@ void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee, pRxReorderEntry->SeqNum); list_del_init(&pRxReorderEntry->list); - ieee->rfd_array[RfdCnt] = pRxReorderEntry->prxb; + ieee->rfd_array[rfd_cnt] = pRxReorderEntry->prxb; - RfdCnt = RfdCnt + 1; + rfd_cnt = rfd_cnt + 1; list_add_tail(&pRxReorderEntry->list, &ieee->RxReorder_Unused_List); } - rtllib_indicate_packets(ieee, ieee->rfd_array, RfdCnt); + rtllib_indicate_packets(ieee, ieee->rfd_array, rfd_cnt); ts->rx_indicate_seq = 0xffff; } -- 2.30.2