staging: rtl8192e: renamed varaible HTIOTActIsDisableMCS15
PATCH 1/1 staging: rtl8192e: renamed varaible HTIOTActIsDisableMCS15
Renamed from Pascal/CamelCase to Snake case the variable HTIOCActIsDisableMCS15, HTIOTActIsDisableMCS15 -> ht_ioc_act_disable_mcs15.
Linux kernel coding style (cleanup), checkpatch Avoid CamelCase Driver rtl8192e compiles.
--- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8192e/rtl819x_HTProc.c +2 -2
@@ -212,7 +212,7 @@ static u8 ht_iot_act_is_disable_mcs14(struct rtllib_device *ieee, u8 *PeerMacAddreturn 0 ; } -static bool HTIOTActIsDisableMCS15 (struct rtllib_device *ieee) +static bool ht_iot_act_is_disable_mcs15 (struct rtllib_device *ieee) {return false; }
@@ -700,7 +700,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,if (bIOTAction) ht_info->iot_action |=HT_IOT_ACT_DISABLE_MCS14 ; - bIOTAction =HTIOTActIsDisableMCS15 (ieee); + bIOTAction =ht_iot_act_is_disable_mcs15 (ieee);if (bIOTAction) ht_info->iot_action |=HT_IOT_ACT_DISABLE_MCS15 ;
Signature · 1 line
2.41.0
Quoted 25 lines · Gary Rookard
Renamed from Pascal/CamelCase to Snake case the variable HTIOCActIsDisableMCS15, HTIOTActIsDisableMCS15 ->
ht_ioc_act_disable_mcs15.Linux kernel coding style (cleanup), checkpatch Avoid CamelCase Driver rtl8192e compiles.
Signed-off-by Gary Rookard <[email protected]>--- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/staging/rtl8192e/rtl819x_HTProc.c +1
-1@@ -212,7 +212,7 @@ static u8 ht_iot_act_is_disable_mcs14(struct rtllib_device *ieee, u8 *PeerMacAddreturn 0 ; } -static bool HTIOTActIsDisableMCS15 (struct rtllib_device *ieee) +static bool ht_iot_act_is_disable_mcs15 (struct rtllib_device *ieee) {return false; }
drivers/staging/rtl8192e/rtl819x_HTProc.c void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee, · line 706
Quoted 8 lines
drivers/staging/rtl8192e/rtl819x_HTProc.c +1
-1@@ -700,7 +700,7 @@ void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,if (bIOTAction) ht_info->iot_action |=HT_IOT_ACT_DISABLE_MCS14 ; - bIOTAction =HTIOTActIsDisableMCS15 (ieee); + bIOTAction =ht_iot_act_is_disable_mcs15 (ieee);if (bIOTAction) ht_info->iot_action |=HT_IOT_ACT_DISABLE_MCS15 ;
Hi,
please use checkpatch on your patches.
WARNING: 'varaible' may be misspelled - perhaps 'variable'?
#4:
Subject: [PATCH] staging: rtl8192e: renamed varaible HTIOTActIsDisableMCS15
^^^^^^^^
Bye Philipp