Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3094877lqo; Tue, 14 May 2024 22:07:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWR5Bgjnf7QEM/Tqz2pAeHullERg3PzQUUcMztuWJnlkmBXAHx0ldGlGzoANZesz+WyVdXnOVAWOZF+OgVOqxXGcpIvUXAgksggkH1ZA== X-Google-Smtp-Source: AGHT+IG+yjvpqUy7XAW5aXRe+VWofyADxOSlX46Kn0m+2FJlsUuT94CuupZDyh6heSznGq48Eciy X-Received: by 2002:a50:955c:0:b0:572:a16f:294 with SMTP id 4fb4d7f45d1cf-5734d67f7edmr9839672a12.30.1715749629430; Tue, 14 May 2024 22:07:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715749629; cv=pass; d=google.com; s=arc-20160816; b=uR6W274cye9GTq1uEi8j6tEECwcGV6Et3Oad44DGYJd51HfFQEumYeT1oikTh8J9AG JcCgUz0xB0rTwTroa+k/EHGGTFI2YG6Cg7xb1lgg+LKgAUmQU9Elp724HtDcN4kFGCc7 UFLfX64fppXrBmGJFyMTN7puLX34rtaIU01oylRD+mdjKih40CVXqgB9IclXAiL5LG6G X+OY/uF7+TQz1PxkfVwwtotioZsewM1CRKaq9cg/pqfKAipFDx9txIXxHBiyRmukUnvn PxhWu/zc/INHFFkOq6i/mcX+fws5eMn4nuNiMRsS/b5JMEmK3d1UqPIdP7OQqK5DZUOO 0mww== 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=v/vMjY9MMZPdnh9VWVVbKPQx3shyavZBcDLjbDKqtMI=; fh=rLft2Q4qbpRi1QV6tRemTUQ5kqo2GpbwQ9ZLUIEyXHw=; b=JJTuZ8IT3mBMvD+hUGb2WREPSez5acE02EfAUi39+RvG/AKcrie1lX8v+yodjqsrDw KNALSl7TiD6G5PZXR/CihBGd48w98wie3mX9oYj6M5IObs6+V2CSROMkIQ20yHETo9Eh R02TJjWPBa+z+0L4M8KuINZEmt8nWgOOtoox2MqaI97Z3zRgnuU2qurGZNqRyA3jUlc4 7GMytHJ+4KFA3a4lo626uNnyF8YeshFMR+HUmdxxXorsXC8NJYGYKI8+VdjKsRAVN/H0 bf0HCGNKMQoIPfeqaNxa981xybD5vKWHoctodAoEiBQY09PxfWfG+1Te/gmCTu5MCaN2 EpDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Vh5AqTlI; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179435-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179435-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733d36caa6si6848551a12.546.2024.05.14.22.07.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 22:07:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179435-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@darkphysics.net header.s=google header.b=Vh5AqTlI; arc=pass (i=1 spf=pass spfdomain=darkphysics.net dkim=pass dkdomain=darkphysics.net); spf=pass (google.com: domain of linux-kernel+bounces-179435-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179435-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 am.mirrors.kernel.org (Postfix) with ESMTPS id AC4071F26725 for ; Wed, 15 May 2024 04:58:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D4C9B76058; Wed, 15 May 2024 04:52:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="Vh5AqTlI" Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (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 931D66EB5B for ; Wed, 15 May 2024 04:52:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748778; cv=none; b=iF1H7MDFqFLizA+iCfNxitU+27DnaE/ISdUqzqt5jbaUUe55LjVauM43E4/ZRirhF2jZDKNVixJfZMG/MDzVCVfBkASQGvB+0lRwLSqnu60yxUuQ9uXM3vekoYu5phK6HL1nJRqK83svGt3g/2di6e/4DFf0bDsce4CxRZSqkg4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715748778; c=relaxed/simple; bh=nkptEJqOQE2+6wrLAUuYdfLGOOYUQC9bteAa4mWyU9s=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=V5vvQlahdGL9RYJFv7DtcXQOhoG5uGrC3UNM16Ra6aTqt5iD3F0n3vQkMZY7kl0iXxTMIiY2nzlI+j5ZPfEvyzPZht4f34LQG0UMFd7YVmUC4LzGZrUQmoiEGUJ9GGSJ244+bLL6eIYXV2X1owOUaAIPcpq4QVZ5eXX0hHkamIo= 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=Vh5AqTlI; arc=none smtp.client-ip=209.85.210.180 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-pf1-f180.google.com with SMTP id d2e1a72fcca58-6f44bcbaae7so5699467b3a.2 for ; Tue, 14 May 2024 21:52:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkphysics.net; s=google; t=1715748776; x=1716353576; 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=v/vMjY9MMZPdnh9VWVVbKPQx3shyavZBcDLjbDKqtMI=; b=Vh5AqTlIxnsXGHkVvZbvKVhy3BwkOsPPhoBu/BnPsdpy6V5tFK+Er5O98zVOwvrT+G bDvt87lW1KcfoX/yTBgDINA+z6mWj7pBP3ddU95lEUDT+RulRiPDHViPLjH9HO9qyEZ5 h2pKTuyuZVJwadJm7xvxcxSmNddebOuYIld2KCQYOtjhKIWMoM8q/aCDZxukczAeLOcx iZoMDlObNrJAvs/EO7H8TlkBfhTYyTSiDQN/a3bqOWPVkcl+EK3ruOEoGwxQ4uolbdyq PjfYnz0pEYw15g4tTIXEnKANYxe8vWbncRpEhOWqpf9XHW4Kf0cVRj1NMsuSwkI1egiU q+BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715748776; x=1716353576; 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=v/vMjY9MMZPdnh9VWVVbKPQx3shyavZBcDLjbDKqtMI=; b=ofqaT3iqGcLxqYhR18KnIwbVgzmhiliIoqvmeC4W4szHX/SGXmhg5IQv/K3f8GIGVD mIncmT4dv+qq0lNVSlklAh4wlg9iwCUDW1lCOs/KMaRYwCtIGNm4woLaFgRGRY4sfoYk 9AM+pz0MINqKOVCS6Qbg9P5jbLIZRyRu5S7qX+AHL6K8zFZIijzIP9chP12jI4lg1kV1 igjc+VudP7MGy7e96/ok4H2OM5l7YpGldyNg6Z4HbBSn9kxBcm+eeLneF8X43CUq8Bki Y3Lae39rBNzYg5zvtRvBI+AhMgAeNKyD1SKdEuyL0OXUKFphEQcXByI+ObzuZPLAK3KW tZQA== X-Forwarded-Encrypted: i=1; AJvYcCU9nt0dQSA0hpqw5h8nlJeMp9ytHB9LnlWXWg67Egs+rUEttjKdoZu+CtDlw9WwQkr0e5MummV7Q6j2Tp3HyIPUPCJCRus5JZ0va7cr X-Gm-Message-State: AOJu0YwuANV04LzdC23PUIkkGDTZ/VhgyDyeSYt1N7CIf9JxfXhVqdql qZAn/2keIMRk/gMT69QOoZrj4NVMYv8kxoSghmZk+MUcsQCkeG7RlQyFiU8ErPM= X-Received: by 2002:a05:6a00:23d3:b0:6f3:ef3d:60f4 with SMTP id d2e1a72fcca58-6f4e03a2c5amr17680652b3a.33.1715748775937; Tue, 14 May 2024 21:52:55 -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.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 21:52:55 -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 31/31] Staging: rtl8192e: Rename variable bPktInBuf Date: Tue, 14 May 2024 21:52:28 -0700 Message-Id: <20240515045228.35928-32-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 bPktInBuf to pkt_in_buf to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 8 ++++---- drivers/staging/rtl8192e/rtllib_rx.c | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 9903fe3f3c77..7cdeca7ed8c2 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -18,7 +18,7 @@ static void RxPktPendingTimeout(struct timer_list *t) unsigned long flags = 0; u8 index = 0; - bool bPktInBuf = false; + bool pkt_in_buf = false; spin_lock_irqsave(&(ieee->reorder_spinlock), flags); if (ts->rx_timeout_indicate_seq != 0xffff) { @@ -50,7 +50,7 @@ static void RxPktPendingTimeout(struct timer_list *t) list_add_tail(&pReorderEntry->list, &ieee->RxReorder_Unused_List); } else { - bPktInBuf = true; + pkt_in_buf = true; break; } } @@ -68,10 +68,10 @@ static void RxPktPendingTimeout(struct timer_list *t) return; } rtllib_indicate_packets(ieee, ieee->stats_IndicateArray, index); - bPktInBuf = false; + pkt_in_buf = false; } - if (bPktInBuf && (ts->rx_timeout_indicate_seq == 0xffff)) { + if (pkt_in_buf && (ts->rx_timeout_indicate_seq == 0xffff)) { ts->rx_timeout_indicate_seq = ts->rx_indicate_seq; mod_timer(&ts->rx_pkt_pending_timer, jiffies + msecs_to_jiffies(ieee->ht_info->rx_reorder_pending_time) diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index 43e94af07e99..c17e7d3ca8c3 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -529,7 +529,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee, u8 win_size = ht_info->rx_reorder_win_size; u16 win_end = 0; u8 index = 0; - bool match_win_start = false, bPktInBuf = false; + bool match_win_start = false, pkt_in_buf = false; unsigned long flags; netdev_dbg(ieee->dev, @@ -665,7 +665,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee, netdev_err(ieee->dev, "%s(): Buffer overflow!\n", __func__); - bPktInBuf = true; + pkt_in_buf = true; break; } @@ -683,7 +683,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee, list_add_tail(&pReorderEntry->list, &ieee->RxReorder_Unused_List); } else { - bPktInBuf = true; + pkt_in_buf = true; break; } } @@ -707,10 +707,10 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee, return; } rtllib_indicate_packets(ieee, ieee->prxb_indicate_array, index); - bPktInBuf = false; + pkt_in_buf = false; } - if (bPktInBuf && ts->rx_timeout_indicate_seq == 0xffff) { + if (pkt_in_buf && ts->rx_timeout_indicate_seq == 0xffff) { netdev_dbg(ieee->dev, "%s(): SET rx timeout timer\n", __func__); ts->rx_timeout_indicate_seq = ts->rx_indicate_seq; spin_unlock_irqrestore(&ieee->reorder_spinlock, flags); -- 2.30.2