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 08/11] Staging: rtl8192e: Rename variable Policy
Date: Wed, 20 Sep 2023 20:25:12 -0700 [thread overview]
Message-ID: <20230921032515.96152-9-tdavies@darkphysics.net> (raw)
In-Reply-To: <20230921032515.96152-1-tdavies@darkphysics.net>
Rename variable Policy to policy to fix checkpatch warning Avoid
CamelCase.
Signed-off-by: Tree Davies <tdavies@darkphysics.net>
---
drivers/staging/rtl8192e/rtl819x_BAProc.c | 4 ++--
drivers/staging/rtl8192e/rtllib.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c
index a5676f01855b..5fc4038708b6 100644
--- a/drivers/staging/rtl8192e/rtl819x_BAProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c
@@ -462,7 +462,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb)
}
void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS,
- u8 Policy, u8 bOverwritePending)
+ u8 policy, u8 bOverwritePending)
{
struct ba_record *pBA = &pTS->TxPendingBARecord;
@@ -473,7 +473,7 @@ void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS,
pBA->dialog_token++;
pBA->ba_param_set.field.amsdu_support = 0;
- pBA->ba_param_set.field.ba_policy = Policy;
+ pBA->ba_param_set.field.ba_policy = policy;
pBA->ba_param_set.field.tid = pTS->TsCommonInfo.TSpec.f.TSInfo.field.ucTSID;
pBA->ba_param_set.field.buffer_size = 32;
pBA->ba_timeout_value = 0;
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index b518e23ff558..427f97325e87 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -1834,7 +1834,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb);
int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb);
int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb);
void rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS,
- u8 Policy, u8 bOverwritePending);
+ u8 policy, u8 bOverwritePending);
void rtllib_ts_init_del_ba(struct rtllib_device *ieee,
struct ts_common_info *pTsCommonInfo,
enum tr_select TxRxSelect);
--
2.39.2
next prev parent reply other threads:[~2023-09-21 3:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-21 3:25 [PATCH 00/11] Staging: rtl8192e: Function and Variable rename series Tree Davies
2023-09-21 3:25 ` [PATCH 01/11] Staging: rtl8192e: Rename variable Time Tree Davies
2023-09-21 3:25 ` [PATCH 02/11] Staging: rtl8192e: Rename variable pAdmittedBa Tree Davies
2023-09-21 3:25 ` [PATCH 03/11] Staging: rtl8192e: Rename variable pPendingBa Tree Davies
2023-09-21 3:25 ` [PATCH 04/11] Staging: rtl8192e: Rename variable Dst Tree Davies
2023-09-21 3:25 ` [PATCH 05/11] Staging: rtl8192e: Rename variable pPendingBA Tree Davies
2023-09-21 3:25 ` [PATCH 06/11] Staging: rtl8192e: Rename variable Addr Tree Davies
2023-09-21 3:25 ` [PATCH 07/11] Staging: rtl8192e: Rename variable pStatusCode Tree Davies
2023-09-21 3:25 ` Tree Davies [this message]
2023-09-21 3:25 ` [PATCH 09/11] Staging: rtl8192e: Rename function GetTs() Tree Davies
2023-09-21 3:25 ` [PATCH 10/11] Staging: rtl8192e: Rename function TSInitialize Tree Davies
2023-09-21 3:25 ` [PATCH 11/11] Staging: rtl8192e: Rename variable StatusCode Tree Davies
2023-09-21 15:56 ` [PATCH 00/11] Staging: rtl8192e: Function and Variable rename series Philipp Hortmann
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=20230921032515.96152-9-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
all inboxes | Powered by JetHome®