public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
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 v2 06/18] Staging: rtl8192e: Rename function MgntQuery_TxRateExcludeCCKRates()
Date: Fri, 26 Jan 2024 14:30:54 -0800	[thread overview]
Message-ID: <20240126223106.986093-7-tdavies@darkphysics.net> (raw)
In-Reply-To: <20240126223106.986093-1-tdavies@darkphysics.net>

Rename function MgntQuery_TxRateExcludeCCKRates to
mgnt_query_tx_rate_exclude_cck_rates to fix checkpatch warning Avoid 
CamelCase.

Signed-off-by: Tree Davies <tdavies@darkphysics.net>
---
v2: Update commit message.
 drivers/staging/rtl8192e/rtllib.h         | 2 +-
 drivers/staging/rtl8192e/rtllib_softmac.c | 2 +-
 drivers/staging/rtl8192e/rtllib_tx.c      | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index cd45a9c46a94..c380d1c3e9b6 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -1821,6 +1821,6 @@ int rtllib_parse_info_param(struct rtllib_device *ieee,
 void rtllib_indicate_packets(struct rtllib_device *ieee,
 			     struct rtllib_rxb **prxbIndicateArray, u8  index);
 #define RT_ASOC_RETRY_LIMIT	5
-u8 MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee);
+u8 mgnt_query_tx_rate_exclude_cck_rates(struct rtllib_device *ieee);
 
 #endif /* RTLLIB_H */
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
index b5fe471f765b..c231e7acd606 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -138,7 +138,7 @@ static void init_mgmt_queue(struct rtllib_device *ieee)
 	ieee->mgmt_queue_head = 0;
 }
 
-u8 MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee)
+u8 mgnt_query_tx_rate_exclude_cck_rates(struct rtllib_device *ieee)
 {
 	u16	i;
 	u8	query_rate = 0;
diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c
index e61eb6e87ab4..54100dd81505 100644
--- a/drivers/staging/rtl8192e/rtllib_tx.c
+++ b/drivers/staging/rtl8192e/rtllib_tx.c
@@ -832,7 +832,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
 			if (ieee->ht_info->iot_action &
 			    HT_IOT_ACT_WA_IOT_Broadcom) {
 				tcb_desc->data_rate =
-					 MgntQuery_TxRateExcludeCCKRates(ieee);
+					 mgnt_query_tx_rate_exclude_cck_rates(ieee);
 				tcb_desc->tx_dis_rate_fallback = false;
 			} else {
 				tcb_desc->data_rate = ieee->basic_rate;
@@ -856,7 +856,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
 				if (ieee->ht_info->iot_action &
 				    HT_IOT_ACT_WA_IOT_Broadcom) {
 					tcb_desc->data_rate =
-					   MgntQuery_TxRateExcludeCCKRates(ieee);
+					   mgnt_query_tx_rate_exclude_cck_rates(ieee);
 					tcb_desc->tx_dis_rate_fallback = false;
 				} else {
 					tcb_desc->data_rate = MGN_1M;
-- 
2.39.2


  parent reply	other threads:[~2024-01-26 22:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-26 22:30 [PATCH v2 00/18] Staging: rtl8192e: 18 Additional checkpatch fixes for rtllib_softmac.c Tree Davies
2024-01-26 22:30 ` [PATCH v2 01/18] Staging: rtl8192e: Rename variable FirstIe_InScan Tree Davies
2024-01-26 22:30 ` [PATCH v2 02/18] Staging: rtl8192e: Rename function rtllib_rx_ADDBARsp() Tree Davies
2024-01-26 22:30 ` [PATCH v2 03/18] Staging: rtl8192e: Rename variable LPSAwakeIntvl_tmp Tree Davies
2024-01-26 22:30 ` [PATCH v2 04/18] Staging: rtl8192e: Rename variable LPSDelayCnt Tree Davies
2024-01-26 22:30 ` [PATCH v2 05/18] Staging: rtl8192e: Rename function pointer SetHwRegHandler() Tree Davies
2024-01-26 22:30 ` Tree Davies [this message]
2024-01-26 22:30 ` [PATCH v2 07/18] Staging: rtl8192e: Rename variable PeerHTCapBuf Tree Davies
2024-01-26 22:30 ` [PATCH v2 08/18] Staging: rtl8192e: Rename variable PeerHTInfoBuf Tree Davies
2024-01-26 22:30 ` [PATCH v2 09/18] Staging: rtl8192e: Rename variable LPSAwakeIntvl Tree Davies
2024-01-26 22:30 ` [PATCH v2 10/18] Staging: rtl8192e: Rename variable SelfHTCap Tree Davies
2024-01-26 22:30 ` [PATCH v2 11/18] Staging: rtl8192e: Fix paren alignment for rtllib_disable_net_monitor_mode() Tree Davies
2024-01-26 22:31 ` [PATCH v2 12/18] Staging: rtl8192e: Fixup if statement broken across multiple lines Tree Davies
2024-01-26 22:31 ` [PATCH v2 13/18] Staging: rtl8192e: Remove unnecessary blank line Tree Davies
2024-01-26 22:31 ` [PATCH v2 14/18] Staging: rtl8192e: Fix if statement alignment with open parenthesis Tree Davies
2024-01-26 22:31 ` [PATCH v2 15/18] Staging: rtl8192e: Rename variable Octet Tree Davies
2024-01-26 22:31 ` [PATCH v2 16/18] Staging: rtl8192e: Rename variable LpsIdleCount Tree Davies
2024-01-26 22:31 ` [PATCH v2 17/18] Staging: rtl8192e: Rename variable NumRecvBcnInPeriod Tree Davies
2024-01-26 22:31 ` [PATCH v2 18/18] Staging: rtl8192e: Rename variable bForcedBgMode Tree Davies
2024-01-27 16:44 ` [PATCH v2 00/18] Staging: rtl8192e: 18 Additional checkpatch fixes for rtllib_softmac.c Philipp Hortmann
2024-01-27 20:24   ` Greg KH
2024-01-29 19:36     ` 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=20240126223106.986093-7-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