From: Pavan Bobba <opensource206@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Cc: Pavan Bobba <opensource206@gmail.com>
Subject: [PATCH 09/10] staging: vt6655: Type encoding info dropped from function name "CARDbUpdateTSF"
Date: Fri, 27 Oct 2023 14:21:58 +0530 [thread overview]
Message-ID: <926ec04bbfc69926cd1af92684fef392f2d6e04a.1698396278.git.opensource206@gmail.com> (raw)
In-Reply-To: <cover.1698396278.git.opensource206@gmail.com>
function name "CARDbUpdateTSF" updated like below:
a.type encoding info dropped from name
b.camelcase name replaced by snakecase
Issue found by checkpatch
Signed-off-by: Pavan Bobba <opensource206@gmail.com>
---
drivers/staging/vt6655/card.c | 2 +-
drivers/staging/vt6655/card.h | 2 +-
drivers/staging/vt6655/device_main.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c
index 56beaf6de488..ebb96b4c9406 100644
--- a/drivers/staging/vt6655/card.c
+++ b/drivers/staging/vt6655/card.c
@@ -287,7 +287,7 @@ bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type)
*
* Return Value: none
*/
-bool CARDbUpdateTSF(struct vnt_private *priv, unsigned char byRxRate,
+bool card_update_tsf(struct vnt_private *priv, unsigned char byRxRate,
u64 qwBSSTimestamp)
{
u64 local_tsf;
diff --git a/drivers/staging/vt6655/card.h b/drivers/staging/vt6655/card.h
index b36e276c699b..caf72892c1cd 100644
--- a/drivers/staging/vt6655/card.h
+++ b/drivers/staging/vt6655/card.h
@@ -54,7 +54,7 @@ void CARDvSafeResetTx(struct vnt_private *priv);
void CARDvSafeResetRx(struct vnt_private *priv);
void CARDbRadioPowerOff(struct vnt_private *priv);
bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type);
-bool CARDbUpdateTSF(struct vnt_private *priv, unsigned char byRxRate,
+bool card_update_tsf(struct vnt_private *priv, unsigned char byRxRate,
u64 qwBSSTimestamp);
bool CARDbSetBeaconPeriod(struct vnt_private *priv,
unsigned short wBeaconInterval);
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index 17a323800ce9..7d297526e653 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -1534,7 +1534,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
if (changed & (BSS_CHANGED_ASSOC | BSS_CHANGED_BEACON_INFO) &&
priv->op_mode != NL80211_IFTYPE_AP) {
if (vif->cfg.assoc && conf->beacon_rate) {
- CARDbUpdateTSF(priv, conf->beacon_rate->hw_value,
+ card_update_tsf(priv, conf->beacon_rate->hw_value,
conf->sync_tsf);
CARDbSetBeaconPeriod(priv, conf->beacon_int);
--
2.34.1
next prev parent reply other threads:[~2023-10-27 8:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-27 8:51 [PATCH 00/10] Type encoding info dropped from array and function names in NIC driver Pavan Bobba
2023-10-27 8:51 ` [PATCH 01/10] staging: vt6655: Type encoding info dropped from array name "cwRXBCNTSFOff" Pavan Bobba
2023-10-27 8:51 ` [PATCH 02/10] staging: vt6655: Type encoding info dropped from function name "s_vCalculateOFDMRParameter" Pavan Bobba
2023-10-27 8:51 ` [PATCH 03/10] staging: vt6655: Type encoding info dropped from variable name "pbyTxRate" Pavan Bobba
2023-10-27 8:51 ` [PATCH 04/10] staging: vt6655: Type encoding info dropped from variable name "pbyRsvTime" Pavan Bobba
2023-10-27 8:51 ` [PATCH 05/10] staging: vt6655: Type encoding info dropped from function name "CARDbSetPhyParameter" Pavan Bobba
2023-10-27 8:51 ` [PATCH 06/10] staging: vt6655: Type encoding info dropped from variable name "byPacketType" Pavan Bobba
2023-10-27 8:51 ` [PATCH 07/10] staging: vt6655: Type encoding info dropped from function name "CARDbyGetPktType" Pavan Bobba
2023-10-27 8:51 ` [PATCH 08/10] staging: vt6655: Type encoding info dropped from function name "CARDvSetRSPINF" Pavan Bobba
2023-10-27 8:51 ` Pavan Bobba [this message]
2023-10-27 8:51 ` [PATCH 10/10] staging: vt6655: Type encoding info dropped from variable name "byRxRate" Pavan Bobba
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=926ec04bbfc69926cd1af92684fef392f2d6e04a.1698396278.git.opensource206@gmail.com \
--to=opensource206@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/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®