rtl8192e: renamed (1) mixed case variable
cover rtl8192e: renamed (1) mixed case variable
Hi!
This patch set of (3) addresses the correction of mixed case useage in (3) driver/staging/rtl8192e files.
1/3) rtllib.h
2/3) rtl819x_HTProc.c
3/3) rtllib_module.c
Variable renamed: HTUpdateDefaultSetting -> ht_update_default_setting
Linux kernel coding style "cleanup", no change in runtime logic, compiles with no errors or warnings.
Signature · 1 line
2.41.0
PATCH 1/3 rtl8192e: renamed (1) mixed case variable
Renamed (1) prototype variable that was written in mixed case. HTUpdateDefaultSetting -> ht_update_default_setting
Linux kernel coding style "cleanup".
No change in runtime logic.
--- drivers/staging/rtl8192e/rtllib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192e/rtllib.h +1 -1
@@ -1807,7 +1807,7 @@ int rtllib_wx_get_rts(struct rtllib_device *ieee, struct iw_request_info *info,void HTSetConnectBwMode (struct rtllib_device *ieee,enum ht_channel_width bandwidth,enum ht_extchnl_offset Offset); -void HTUpdateDefaultSetting (struct rtllib_device *ieee); +void ht_update_default_setting (struct rtllib_device *ieee);void HTConstructCapabilityElement (struct rtllib_device *ieee,u8 *posHTCap,u8 *len,u8 isEncrypt,bool bAssoc);
Signature · 1 line
2.41.0
Greg KH
maintainerQuoted 28 lines · Gary Rookard
Renamed (1) prototype variable that was written in mixed case. HTUpdateDefaultSetting ->
ht_update_default_settingLinux kernel coding style "cleanup".
No change in runtime logic.Signed-off-by Gary Rookard <[email protected]>--- drivers/staging/rtl8192e/rtllib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rtl8192e/rtllib.h +1
-1@@ -1807,7 +1807,7 @@ int rtllib_wx_get_rts(struct rtllib_device *ieee, struct iw_request_info *info,void HTSetConnectBwMode (struct rtllib_device *ieee,enum ht_channel_width bandwidth,enum ht_extchnl_offset Offset); -void HTUpdateDefaultSetting (struct rtllib_device *ieee); +void ht_update_default_setting (struct rtllib_device *ieee);void HTConstructCapabilityElement (struct rtllib_device *ieee,u8 *posHTCap,u8 *len,u8 isEncrypt,bool bAssoc);Signature · 1 line
2.41.0
You just broke the build?
Also, you sent 3 patches that do different things, yet have identical subject lines, that's obviously not correct.
Please fix up and resend a v2 series.
thanks,
greg k-h
Okay, will do.
Quoted 40 lines · Greg KH
Quoted 28 lines · Gary Rookard
Renamed (1) prototype variable that was written in mixed case. HTUpdateDefaultSetting ->
ht_update_default_settingLinux kernel coding style "cleanup".
No change in runtime logic.Signed-off-by Gary Rookard <[email protected]>--- drivers/staging/rtl8192e/rtllib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rtl8192e/rtllib.h +1
-1@@ -1807,7 +1807,7 @@ int rtllib_wx_get_rts(struct rtllib_device *ieee, struct iw_request_info *info,void HTSetConnectBwMode (struct rtllib_device *ieee,enum ht_channel_width bandwidth,enum ht_extchnl_offset Offset); -void HTUpdateDefaultSetting (struct rtllib_device *ieee); +void ht_update_default_setting (struct rtllib_device *ieee);void HTConstructCapabilityElement (struct rtllib_device *ieee,u8 *posHTCap,u8 *len,u8 isEncrypt,bool bAssoc);Signature · 1 line
2.41.0You just broke the build?
Also, you sent 3 patches that do different things, yet have identical subject lines, that's obviously not correct.
Please fix up and resend a v2 series.
thanks,
greg k-h
PATCH 2/3 rtl8192e: renamed (1) mixed case variable
In reply to Gary RookardRenamed (1) function variable that was written in mixed case HTUpdateDefaultSetting -> ht_update_default_setting
Linux kernel coding style "cleanup".
No change in runtime logic.
--- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192e/rtl819x_HTProc.c +1 -1
@@ -67,7 +67,7 @@ static u8 CISCO_BROADCOM[3] = {0x00, 0x17, 0x94};static u8 LINKSYS_MARVELL_4400N [3 ] = {0x00 ,0x14 ,0xa4 }; -void HTUpdateDefaultSetting (struct rtllib_device *ieee) +void ht_update_default_setting (struct rtllib_device *ieee) {struct rt_hi_throughput *ht_info = ieee->ht_info;
Signature · 1 line
2.41.0
PATCH 3/3 rtl8192e: renamed (1) mixed case variable
In reply to Gary RookardRenamed (1) referenced variable that was written in mixed case. HTUpdateDefaultSetting -> ht_update_default_setting
Linux kernel coding style "cleanup".
No change in runtime logic.
--- drivers/staging/rtl8192e/rtllib_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192e/rtllib_module.c +1 -1
@@ -126,7 +126,7 @@ struct net_device *alloc_rtllib(int sizeof_priv)if (!ieee->ht_info) goto free_softmac; -HTUpdateDefaultSetting (ieee); +ht_update_default_setting (ieee);HTInitializeHTInfo (ieee);TSInitialize (ieee);for (i =0 ; i <IEEE_IBSS_MAC_HASH_SIZE ; i++)
Signature · 1 line
2.41.0
Quoted 8 lines · Gary Rookard
Hi!
This patch set of (3) addresses the correction of mixed case useage in (3) driver/staging/rtl8192e files.
1/3)rtllib.h
2/3)rtl819x_HTProc.c
3/3)rtllib_module.c
Quoted 4 lines
Variable renamed: HTUpdateDefaultSetting ->
ht_update_default_settingLinux kernel coding style "cleanup", no change in runtime logic, compiles with no errors or warnings.
Hi Gary,
you need one patch to change all three usages of the variable. You need to be able to compile the driver after each patch.
For the next patch you send to the mailing list you need a version history of your patch.
If you like you can send the patch first only to me. In case of questions feel free to ask.
Bye Philipp