From: Tree Davies <tdavies@darkphysics.net>
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 <tdavies@darkphysics.net>
Subject: [PATCH 16/18] Staging: rtl8192e: Rename variable Tx_TS_Unused_List
Date: Mon, 16 Sep 2024 22:31:50 -0700 [thread overview]
Message-ID: <20240917053152.575553-17-tdavies@darkphysics.net> (raw)
In-Reply-To: <20240917053152.575553-1-tdavies@darkphysics.net>
Rename variable Tx_TS_Unused_List to tx_ts_unused_list
to fix checkpatch warning Avoid CamelCase.
Signed-off-by: Tree Davies <tdavies@darkphysics.net>
---
drivers/staging/rtl8192e/rtl819x_TSProc.c | 14 +++++++-------
drivers/staging/rtl8192e/rtllib.h | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c
index 0b906d618a90..ecbe3bd67a0c 100644
--- a/drivers/staging/rtl8192e/rtl819x_TSProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c
@@ -126,7 +126,7 @@ void rtllib_ts_init(struct rtllib_device *ieee)
INIT_LIST_HEAD(&ieee->tx_ts_admit_list);
INIT_LIST_HEAD(&ieee->tx_ts_pending_list);
- INIT_LIST_HEAD(&ieee->Tx_TS_Unused_List);
+ INIT_LIST_HEAD(&ieee->tx_ts_unused_list);
for (count = 0; count < TOTAL_TS_NUM; count++) {
pTxTS->num = count;
@@ -139,7 +139,7 @@ void rtllib_ts_init(struct rtllib_device *ieee)
ResetTxTsEntry(pTxTS);
list_add_tail(&pTxTS->ts_common_info.list,
- &ieee->Tx_TS_Unused_List);
+ &ieee->tx_ts_unused_list);
pTxTS++;
}
@@ -275,7 +275,7 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS,
}
pUnusedList = (tx_rx_select == TX_DIR) ?
- (&ieee->Tx_TS_Unused_List) :
+ (&ieee->tx_ts_unused_list) :
(&ieee->Rx_TS_Unused_List);
pAddmitList = (tx_rx_select == TX_DIR) ?
@@ -370,7 +370,7 @@ void remove_peer_ts(struct rtllib_device *ieee, u8 *addr)
if (memcmp(ts->addr, addr, 6) == 0) {
RemoveTsEntry(ieee, ts, TX_DIR);
list_del_init(&ts->list);
- list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List);
+ list_add_tail(&ts->list, &ieee->tx_ts_unused_list);
}
}
@@ -380,7 +380,7 @@ void remove_peer_ts(struct rtllib_device *ieee, u8 *addr)
"====>remove Tx_TS_admin_list\n");
RemoveTsEntry(ieee, ts, TX_DIR);
list_del_init(&ts->list);
- list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List);
+ list_add_tail(&ts->list, &ieee->tx_ts_unused_list);
}
}
@@ -409,13 +409,13 @@ void remove_all_ts(struct rtllib_device *ieee)
list_for_each_entry_safe(ts, pTmpTS, &ieee->tx_ts_pending_list, list) {
RemoveTsEntry(ieee, ts, TX_DIR);
list_del_init(&ts->list);
- list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List);
+ list_add_tail(&ts->list, &ieee->tx_ts_unused_list);
}
list_for_each_entry_safe(ts, pTmpTS, &ieee->tx_ts_admit_list, list) {
RemoveTsEntry(ieee, ts, TX_DIR);
list_del_init(&ts->list);
- list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List);
+ list_add_tail(&ts->list, &ieee->tx_ts_unused_list);
}
list_for_each_entry_safe(ts, pTmpTS, &ieee->rx_ts_pending_list, list) {
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index ff6b59874fed..074cd837c708 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -1196,7 +1196,7 @@ struct rtllib_device {
struct list_head tx_ts_admit_list;
struct list_head tx_ts_pending_list;
- struct list_head Tx_TS_Unused_List;
+ struct list_head tx_ts_unused_list;
struct tx_ts_record tx_ts_records[TOTAL_TS_NUM];
struct list_head Rx_TS_Admit_List;
struct list_head rx_ts_pending_list;
--
2.30.2
next prev parent reply other threads:[~2024-09-17 5:32 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-17 5:31 [PATCH 00/18] Staging: rtl8192e: 18 more Style guide variable renames Tree Davies
2024-09-17 5:31 ` [PATCH 01/18] Staging: rtl8192e: Rename variable nDataRate Tree Davies
2024-09-17 19:32 ` philipp hortmann
2024-09-17 20:00 ` philipp hortmann
2024-09-18 10:35 ` Dan Carpenter
2024-09-17 5:31 ` [PATCH 02/18] Staging: rtl8192e: Rename variable bIsCCK Tree Davies
2024-09-17 5:31 ` [PATCH 03/18] Staging: rtl8192e: Rename variable bCRC Tree Davies
2024-09-17 5:31 ` [PATCH 04/18] Staging: rtl8192e: Rename variable pMCSRateSet Tree Davies
2024-09-17 5:31 ` [PATCH 05/18] Staging: rtl8192e: Rename variable PreCommonCmd Tree Davies
2024-09-17 5:31 ` [PATCH 06/18] Staging: rtl8192e: Rename variable PostCommonCmd Tree Davies
2024-09-17 5:31 ` [PATCH 07/18] Staging: rtl8192e: Rename variable RxDataNum Tree Davies
2024-09-17 5:31 ` [PATCH 08/18] Staging: rtl8192e: Rename variable FwRWRF Tree Davies
2024-09-17 5:31 ` [PATCH 09/18] Staging: rtl8192e: Rename variable bFirstMPDU Tree Davies
2024-09-17 5:31 ` [PATCH 10/18] Staging: rtl8192e: Rename variable bPacketBeacon Tree Davies
2024-09-17 5:31 ` [PATCH 11/18] Staging: rtl8192e: Rename variable Rx_TS_Pending_List Tree Davies
2024-09-17 5:31 ` [PATCH 12/18] Staging: rtl8192e: Rename variable bPacketMatchBSSID Tree Davies
2024-09-17 5:31 ` [PATCH 13/18] Staging: rtl8192e: Rename variable bToSelfBA Tree Davies
2024-09-17 5:31 ` [PATCH 14/18] Staging: rtl8192e: Rename variable Tx_TS_Admit_List Tree Davies
2024-09-17 5:31 ` [PATCH 15/18] Staging: rtl8192e: Rename variable Tx_TS_Pending_List Tree Davies
2024-09-17 5:31 ` Tree Davies [this message]
2024-09-17 5:31 ` [PATCH 17/18] Staging: rtl8192e: Rename variable Sbox Tree Davies
2024-09-17 5:31 ` [PATCH 18/18] Staging: rtl8192e: Rename variable pMCSFilter Tree Davies
2024-09-17 20:05 ` [PATCH 00/18] Staging: rtl8192e: 18 more Style guide variable renames philipp hortmann
2024-10-09 9:53 ` Greg KH
[not found] ` <e0cdfdd3-eebb-40c5-a845-fbc5e52364d5@darkphysics.net>
2024-10-11 3:21 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240917053152.575553-17-tdavies@darkphysics.net \
--to=tdavies@darkphysics.net \
--cc=anjan@momi.ca \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=philipp.g.hortmann@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox