staging: vt6655: fix camelcase in wCurrentRate
PATCH v2 1/1 staging: vt6655: fix camelcase in wCurrentRate
Replace camelcase word variable "wCurrentRate" into linux kernel coding style equivalent "current_rate".
References:
https://www.kernel.org/doc/html/latest/process/coding-style.html
https://www.cse.iitk.ac.in/users/dsrkg/cs245/html/Guide.htm
--- drivers/staging/vt6655/device.h | 2 +- drivers/staging/vt6655/device_main.c | 12 +-- drivers/staging/vt6655/rxtx.c | 134 +++++++++++++-------------- 3 files changed, 74 insertions(+), 74 deletions(-)
drivers/staging/vt6655/device.h +1 -1
@@ -208,7 +208,7 @@ struct vnt_private {unsigned char byPreambleType;unsigned char byShortPreamble; -unsigned short wCurrentRate; +unsigned short current_rate;unsigned char byShortRetryLimit;unsigned char byLongRetryLimit;enum nl80211_iftype op_mode;
drivers/staging/vt6655/device_main.c +6 -6
@@ -213,7 +213,7 @@ static void device_init_registers(struct vnt_private *priv) priv->bNonERPPresent = false; priv->bBarkerPreambleMd = false; - priv->wCurrentRate =RATE_1M ; + priv->current_rate =RATE_1M ; priv->byTopOFDMBasicRate =RATE_24M ; priv->byTopCCKBasicRate =RATE_1M ;
@@ -369,7 +369,7 @@ static void device_init_registers(struct vnt_private *priv)/* Set BB and packet type at the same time. */ /* Set Short Slot Time, xIFS, and RSPINF. */ - priv->wCurrentRate =RATE_54M ; + priv->current_rate =RATE_54M ; priv->bRadioOff = false;
@@ -1382,11 +1382,11 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed)if (changed &IEEE80211_CONF_CHANGE_POWER ) {if (priv->byBBType ==BB_TYPE_11B ) - priv->wCurrentRate =RATE_1M ; + priv->current_rate =RATE_1M ;else - priv->wCurrentRate =RATE_54M ; + priv->current_rate =RATE_54M ; -RFbSetPower (priv, priv->wCurrentRate, +RFbSetPower (priv, priv->current_rate, conf->chandef.chan->hw_value); }
@@ -1448,7 +1448,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw, }if (changed &BSS_CHANGED_TXPOWER ) -RFbSetPower (priv, priv->wCurrentRate, +RFbSetPower (priv, priv->current_rate, conf->chandef.chan->hw_value);if (changed &BSS_CHANGED_BEACON_ENABLED ) {
drivers/staging/vt6655/rxtx.c +67 -67
406 lines not on this page · raw message
Signature · 1 line
2.25.1
Greg KH
maintainerQuoted 7 lines · Alberto Merciai
Replace camelcase word variable "wCurrentRate" into linux kernel coding style equivalent "
current_rate".References:
https://www.kernel.org/doc/html/latest/process/coding-style.html
https://www.cse.iitk.ac.in/users/dsrkg/cs245/html/Guide.htm
Quoted 6 lines
Signed-off-by Alberto Merciai <[email protected]>--- drivers/staging/vt6655/device.h | 2 +- drivers/staging/vt6655/device_main.c | 12 +-- drivers/staging/vt6655/rxtx.c | 134 +++++++++++++-------------- 3 files changed, 74 insertions(+), 74 deletions(-)
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree.
You are receiving this message because of the following common error(s) as indicated below:
- This looks like a new version of a previously submitted patch, but you did not list below the --- line any changes from the previous version. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers.
thanks,
greg k-h's patch email bot