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 18/20] Staging: rtl8192e: Rename reference AllowAllDestAddrHandler
Date: Sun, 25 Feb 2024 19:56:22 -0800 [thread overview]
Message-ID: <20240226035624.370443-19-tdavies@darkphysics.net> (raw)
In-Reply-To: <20240226035624.370443-1-tdavies@darkphysics.net>
Rename variable AllowAllDestAddrHandler to allow_all_dest_addr_handler
to fix checkpatch warning Avoid CamelCase,
Signed-off-by: Tree Davies <tdavies@darkphysics.net>
---
drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +-
drivers/staging/rtl8192e/rtllib.h | 2 +-
drivers/staging/rtl8192e/rtllib_softmac.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
index f99cc5b639fe..fc5014f719d7 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
@@ -661,7 +661,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev)
rtl92e_is_halfn_supported_by_ap;
priv->rtllib->set_hw_reg_handler = rtl92e_set_reg;
- priv->rtllib->AllowAllDestAddrHandler = rtl92e_set_monitor_mode;
+ priv->rtllib->allow_all_dest_addr_handler = rtl92e_set_monitor_mode;
priv->rtllib->init_gain_handler = rtl92e_init_gain;
priv->rtllib->rtllib_ips_leave_wq = rtl92e_rtllib_ips_leave_wq;
priv->rtllib->rtllib_ips_leave = rtl92e_rtllib_ips_leave;
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index a5925fe75a6a..7ad8bab23224 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -1493,7 +1493,7 @@ struct rtllib_device {
u8 Operation);
void (*set_hw_reg_handler)(struct net_device *dev, u8 variable, u8 *val);
- void (*AllowAllDestAddrHandler)(struct net_device *dev,
+ void (*allow_all_dest_addr_handler)(struct net_device *dev,
bool bAllowAllDA, bool WriteIntoReg);
void (*rtllib_ips_leave_wq)(struct net_device *dev);
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
index 644e2dffd185..b32c190f0113 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -355,7 +355,7 @@ void rtllib_enable_net_monitor_mode(struct net_device *dev,
netdev_info(dev, "========>Enter Monitor Mode\n");
- ieee->AllowAllDestAddrHandler(dev, true, !init_state);
+ ieee->allow_all_dest_addr_handler(dev, true, !init_state);
}
/* Disables network monitor mode. Only packets destinated to
@@ -367,7 +367,7 @@ void rtllib_disable_net_monitor_mode(struct net_device *dev, bool init_state)
netdev_info(dev, "========>Exit Monitor Mode\n");
- ieee->AllowAllDestAddrHandler(dev, false, !init_state);
+ ieee->allow_all_dest_addr_handler(dev, false, !init_state);
}
static void rtllib_send_probe(struct rtllib_device *ieee)
--
2.39.2
next prev parent reply other threads:[~2024-02-26 3:56 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-26 3:56 [PATCH 00/20] Staging: rtl8192e: Fix checkpatch warning for rtllib_softmac.c Tree Davies
2024-02-26 3:56 ` [PATCH 01/20] Staging: rtl8192e: Rename function rtllib_rx_ADDBAReq() Tree Davies
2024-02-26 16:59 ` Philipp Hortmann
2024-02-26 3:56 ` [PATCH 02/20] Staging: rtl8192e: Rename variable NumRecvDataInPeriod Tree Davies
2024-02-26 3:56 ` [PATCH 03/20] Staging: rtl8192e: Rename function SecIsInPMKIDList() Tree Davies
2024-02-26 3:56 ` [PATCH 04/20] Staging: rtl8192e: Rename variable PMKIDList Tree Davies
2024-02-26 3:56 ` [PATCH 05/20] Staging: rtl8192e: Rename variable Turbo_Enable Tree Davies
2024-02-26 3:56 ` [PATCH 06/20] Staging: rtl8192e: Rename variable osCcxRmCap Tree Davies
2024-02-26 3:56 ` [PATCH 07/20] Staging: rtl8192e: Rename variable bCkipSupported Tree Davies
2024-02-26 3:56 ` [PATCH 08/20] Staging: rtl8192e: Rename variable bCcxRmEnable Tree Davies
2024-02-26 3:56 ` [PATCH 09/20] Staging: rtl8192e: Rename variable CcxRmCapBuf Tree Davies
2024-02-26 3:56 ` [PATCH 10/20] Staging: rtl8192e: Rename variable BssCcxVerNumber Tree Davies
2024-02-26 3:56 ` [PATCH 11/20] Staging: rtl8192e: Rename variable CcxVerNumBuf Tree Davies
2024-02-26 3:56 ` [PATCH 12/20] Staging: rtl8192e: Rename variable asRsn Tree Davies
2024-02-26 3:56 ` [PATCH 13/20] Staging: rtl8192e: Rename variable AironetIeOui Tree Davies
2024-02-26 3:56 ` [PATCH 14/20] Staging: rtl8192e: Rename variable osCcxAironetIE Tree Davies
2024-02-26 3:56 ` [PATCH 15/20] Staging: rtl8192e: Rename variable CcxAironetBuf Tree Davies
2024-02-26 3:56 ` [PATCH 16/20] Staging: rtl8192e: Rename varoable osCcxVerNum Tree Davies
2024-02-26 3:56 ` [PATCH 17/20] Staging: rtl8192e: Rename varoable asSta Tree Davies
2024-02-26 3:56 ` Tree Davies [this message]
2024-02-26 3:56 ` [PATCH 19/20] Staging: rtl8192e: Rename boolean variable bHalfWirelessN24GMode Tree Davies
2024-02-26 3:56 ` [PATCH 20/20] Staging: rtl8192e: Rename function MgntQuery_MgntFrameTxRate 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=20240226035624.370443-19-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