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 30/31] Staging: rtl8192e: Rename variable prxbIndicateArray
Date: Tue, 14 May 2024 21:52:27 -0700 [thread overview]
Message-ID: <20240515045228.35928-31-tdavies@darkphysics.net> (raw)
In-Reply-To: <20240515045228.35928-1-tdavies@darkphysics.net>
Rename variable prxbIndicateArray to prxb_indicate_array
to fix checkpatch warning Avoid CamelCase.
Signed-off-by: Tree Davies <tdavies@darkphysics.net>
---
drivers/staging/rtl8192e/rtllib.h | 4 ++--
drivers/staging/rtl8192e/rtllib_rx.c | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index e2695beaf582..62af48c20229 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -1409,7 +1409,7 @@ struct rtllib_device {
union {
struct rtllib_rxb *rfd_array[REORDER_WIN_SIZE];
struct rtllib_rxb *stats_IndicateArray[REORDER_WIN_SIZE];
- struct rtllib_rxb *prxbIndicateArray[REORDER_WIN_SIZE];
+ struct rtllib_rxb *prxb_indicate_array[REORDER_WIN_SIZE];
struct {
struct sw_chnl_cmd PreCommonCmd[MAX_PRECMD_CNT];
struct sw_chnl_cmd PostCommonCmd[MAX_POSTCMD_CNT];
@@ -1803,7 +1803,7 @@ int rtllib_parse_info_param(struct rtllib_device *ieee,
struct rtllib_rx_stats *stats);
void rtllib_indicate_packets(struct rtllib_device *ieee,
- struct rtllib_rxb **prxbIndicateArray, u8 index);
+ struct rtllib_rxb **prxb_indicate_array, u8 index);
#define RT_ASOC_RETRY_LIMIT 5
u8 mgnt_query_tx_rate_exclude_cck_rates(struct rtllib_device *ieee);
diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c
index 89dcbead5e11..43e94af07e99 100644
--- a/drivers/staging/rtl8192e/rtllib_rx.c
+++ b/drivers/staging/rtl8192e/rtllib_rx.c
@@ -429,14 +429,14 @@ static bool add_reorder_entry(struct rx_ts_record *ts,
}
void rtllib_indicate_packets(struct rtllib_device *ieee,
- struct rtllib_rxb **prxbIndicateArray, u8 index)
+ struct rtllib_rxb **prxb_indicate_array, u8 index)
{
struct net_device_stats *stats = &ieee->stats;
u8 i = 0, j = 0;
u16 ethertype;
for (j = 0; j < index; j++) {
- struct rtllib_rxb *prxb = prxbIndicateArray[j];
+ struct rtllib_rxb *prxb = prxb_indicate_array[j];
for (i = 0; i < prxb->nr_subframes; i++) {
struct sk_buff *sub_skb = prxb->subframes[i];
@@ -594,7 +594,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee,
netdev_dbg(ieee->dev,
"Packets indication! IndicateSeq: %d, NewSeq: %d\n",
ts->rx_indicate_seq, SeqNum);
- ieee->prxbIndicateArray[0] = prxb;
+ ieee->prxb_indicate_array[0] = prxb;
index = 1;
} else {
/* Current packet is going to be inserted into pending list.*/
@@ -675,7 +675,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee,
ts->rx_indicate_seq = (ts->rx_indicate_seq + 1) %
4096;
- ieee->prxbIndicateArray[index] = pReorderEntry->prxb;
+ ieee->prxb_indicate_array[index] = pReorderEntry->prxb;
netdev_dbg(ieee->dev, "%s(): Indicate SeqNum %d!\n",
__func__, pReorderEntry->SeqNum);
index++;
@@ -706,7 +706,7 @@ static void rx_reorder_indicate_packet(struct rtllib_device *ieee,
flags);
return;
}
- rtllib_indicate_packets(ieee, ieee->prxbIndicateArray, index);
+ rtllib_indicate_packets(ieee, ieee->prxb_indicate_array, index);
bPktInBuf = false;
}
--
2.30.2
next prev parent reply other threads:[~2024-05-15 4:52 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-15 4:51 [PATCH 00/31] Staging: rtl8192e: rtllib_rx.c Rename camelcase variables Tree Davies
2024-05-15 4:51 ` [PATCH 01/31] Staging: rtl8192e: Rename variable IsPassiveChannel Tree Davies
2024-05-15 4:51 ` [PATCH 02/31] Staging: rtl8192e: Rename variable CountryIeBuf Tree Davies
2024-05-15 4:52 ` [PATCH 03/31] Staging: rtl8192e: Rename variable CountryIeLen Tree Davies
2024-05-15 4:52 ` [PATCH 04/31] Staging: rtl8192e: Rename variable bWithAironetIE Tree Davies
2024-05-15 4:52 ` [PATCH 05/31] Staging: rtl8192e: Rename variable bContainHTC Tree Davies
2024-05-15 4:52 ` [PATCH 06/31] Staging: rtl8192e: Rename variable MBssid Tree Davies
2024-05-15 4:52 ` [PATCH 07/31] Staging: rtl8192e: Rename variable MBssidMask Tree Davies
2024-05-15 4:52 ` [PATCH 08/31] Staging: rtl8192e: Rename variable elementID Tree Davies
2024-05-15 4:52 ` [PATCH 09/31] Staging: rtl8192e: Rename variable rtllib_rx_Monitor Tree Davies
2024-05-15 4:52 ` [PATCH 10/31] Staging: rtl8192e: Rename variable rtllib_rx_InfraAdhoc Tree Davies
2024-05-15 4:52 ` [PATCH 11/31] Staging: rtl8192e: Rename variable IsLegacyDataFrame Tree Davies
2024-05-15 4:52 ` [PATCH 12/31] Staging: rtl8192e: Rename variable RxReorderIndicatePacket Tree Davies
2024-05-15 4:52 ` [PATCH 13/31] Staging: rtl8192e: Rename variable RfdArray Tree Davies
2024-05-15 4:52 ` [PATCH 14/31] Staging: rtl8192e: Rename variable Decrypted Tree Davies
2024-05-15 4:52 ` [PATCH 15/31] Staging: rtl8192e: Rename variable AddReorderEntry Tree Davies
2024-05-15 4:52 ` [PATCH 16/31] Staging: rtl8192e: Rename variable pList Tree Davies
2024-05-15 9:15 ` Dan Carpenter
2024-05-15 4:52 ` [PATCH 17/31] Staging: rtl8192e: Rename variable nPadding_Length Tree Davies
2024-05-15 10:27 ` Dan Carpenter
2024-05-15 4:52 ` [PATCH 18/31] Staging: rtl8192e: Rename variable LLCOffset Tree Davies
2024-05-15 4:52 ` [PATCH 19/31] Staging: rtl8192e: Rename variable ChkLength Tree Davies
2024-05-15 10:31 ` Dan Carpenter
2024-05-18 22:02 ` <Tree Davies
2024-05-15 4:52 ` [PATCH 20/31] Staging: rtl8192e: Rename variable WinEnd Tree Davies
2024-05-15 4:52 ` [PATCH 21/31] Staging: rtl8192e: Rename variable WinSize Tree Davies
2024-05-15 4:52 ` [PATCH 22/31] Staging: rtl8192e: Rename variable IsDataFrame Tree Davies
2024-05-15 4:52 ` [PATCH 23/31] Staging: rtl8192e: Rename variable bMatchWinStart Tree Davies
2024-05-15 4:52 ` [PATCH 24/31] Staging: rtl8192e: Rename variable bMBssidValid Tree Davies
2024-05-15 4:52 ` [PATCH 25/31] Staging: rtl8192e: Rename variable bWithCcxVerNum Tree Davies
2024-05-15 4:52 ` [PATCH 26/31] Staging: rtl8192e: Rename variable Frame_QoSTID Tree Davies
2024-05-15 4:52 ` [PATCH 27/31] Staging: rtl8192e: Rename variable CcxRmState Tree Davies
2024-05-15 4:52 ` [PATCH 28/31] Staging: rtl8192e: Rename variable IsQoSDataFrame Tree Davies
2024-05-15 4:52 ` [PATCH 29/31] Staging: rtl8192e: Rename variable RfdCnt Tree Davies
2024-05-15 4:52 ` Tree Davies [this message]
2024-05-15 4:52 ` [PATCH 31/31] Staging: rtl8192e: Rename variable bPktInBuf Tree Davies
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=20240515045228.35928-31-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.