staging: wilc1000: Remove camel case
PATCH 1/2 staging: wilc1000: Remove camel case
Change the name of variables to remove camel case.
Fix the checkpatch.pl issue:
CHECK: Remove CamelCase.
--- drivers/staging/wilc1000/coreconfigurator.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/wilc1000/coreconfigurator.h +6 -6
@@ -124,10 +124,10 @@ s32 wilc_parse_network_info(u8 *msg_buffer, struct network_info **ret_network_info);s32 wilc_parse_assoc_resp_info (u8 *buffer,u32 buffer_len,struct connect_resp_info **ret_connect_resp_info); -void wilc_scan_complete_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length); -void wilc_network_info_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length); -void wilc_gnrl_async_info_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length); +void wilc_scan_complete_received (struct wilc *wilc,u8 *buffer, +u32 length); +void wilc_network_info_received (struct wilc *wilc,u8 *buffer, +u32 length); +void wilc_gnrl_async_info_received (struct wilc *wilc,u8 *buffer, +u32 length);#endif
Signature · 1 line
2.9.3
Quoted 6 lines · Tamara Diaconita
Change the name of variables to remove camel case.
Fix the checkpatch.pl issue:
CHECK: Remove CamelCase.Signed-off-by Tamara Diaconita <[email protected]>
Hi Tamara,
These are forward declarations and need to match the actual function headers. So, you'll find these funcs, change their declaration, and have to change the follow on usages of the vars you change.
Since we are seeing a lot of long line issues in this driver, perhaps you can shorten to the customary "buf" instead of "buffer." We might appreciate those extra 3 chars later.
alisons
Quoted 34 lines
--- drivers/staging/wilc1000/coreconfigurator.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)drivers/staging/wilc1000/coreconfigurator.h +6
-6@@ -124,10 +124,10 @@ s32 wilc_parse_network_info(u8 *msg_buffer, struct network_info **ret_network_info);s32 wilc_parse_assoc_resp_info (u8 *buffer,u32 buffer_len,struct connect_resp_info **ret_connect_resp_info); -void wilc_scan_complete_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length); -void wilc_network_info_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length); -void wilc_gnrl_async_info_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length); +void wilc_scan_complete_received (struct wilc *wilc,u8 *buffer, +u32 length); +void wilc_network_info_received (struct wilc *wilc,u8 *buffer, +u32 length); +void wilc_gnrl_async_info_received (struct wilc *wilc,u8 *buffer, +u32 length);#endif Signature · 8 lines
2.9.3 -- You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170309223039.7303-1-diaconita.tamara%40gmail.com. For more options, visit https://groups.google.com/d/optout.
Quoted 10 lines · Alison Schofield
Quoted 6 lines · Tamara Diaconita
Change the name of variables to remove camel case.
Fix the checkpatch.pl issue:
CHECK: Remove CamelCase.Signed-off-by Tamara Diaconita <[email protected]>Hi Tamara,
Quoted 7 lines
These are forward declarations and need to match the actual function headers. So, you'll find these funcs, change their declaration, and have to change the follow on usages of the vars you change.
Since we are seeing a lot of long line issues in this driver, perhaps you can shorten to the customary "buf" instead of "buffer." We might appreciate those extra 3 chars later.
len could also be ok.
julia
Quoted 46 lines
alisons
Quoted 28 lines
--- drivers/staging/wilc1000/coreconfigurator.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)drivers/staging/wilc1000/coreconfigurator.h +6
-7@@ -124,10 +124,10 @@ s32 wilc_parse_network_info(u8 *msg_buffer, struct network_info **ret_network_info);s32 wilc_parse_assoc_resp_info (u8 *buffer,u32 buffer_len,struct connect_resp_info **ret_connect_resp_info); -void wilc_scan_complete_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length); -void wilc_network_info_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length); -void wilc_gnrl_async_info_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length); +void wilc_scan_complete_received (struct wilc *wilc,u8 *buffer, +u32 length); +void wilc_network_info_received (struct wilc *wilc,u8 *buffer, +u32 length); +void wilc_gnrl_async_info_received (struct wilc *wilc,u8 *buffer, +u32 length);#endif --2.9.3
Quoted 6 lines
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170309223039.7303-1-diaconita.tamara%40gmail.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170309232051.GA16746%40d830.WORKGROUP.
For more options, visit https://groups.google.com/d/optout.
Quoted 20 lines · Tamara Diaconita
Change the name of variables to remove camel case.
Fix the checkpatch.pl issue:
CHECK: Remove CamelCase.Signed-off-by Tamara Diaconita <[email protected]>--- drivers/staging/wilc1000/coreconfigurator.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)drivers/staging/wilc1000/coreconfigurator.h +0
-2@@ -124,10 +124,10 @@ s32 wilc_parse_network_info(u8 *msg_buffer, struct network_info **ret_network_info);s32 wilc_parse_assoc_resp_info (u8 *buffer,u32 buffer_len,struct connect_resp_info **ret_connect_resp_info); -void wilc_scan_complete_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length);
drivers/staging/wilc1000/coreconfigurator.h s32 wilc_parse_network_info(u8 *msg_buffer, · line 132
Quoted 10 lines
drivers/staging/wilc1000/coreconfigurator.h +6
-4-void wilc_network_info_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length); -void wilc_gnrl_async_info_received (struct wilc *wilc,u8 *pu8Buffer, -u32 u32Length); +void wilc_scan_complete_received (struct wilc *wilc,u8 *buffer, +u32 length); +void wilc_network_info_received (struct wilc *wilc,u8 *buffer, +u32 length); +void wilc_gnrl_async_info_received (struct wilc *wilc,u8 *buffer, +u32 length);
These changes were already made.
julia
Quoted 11 lines
drivers/staging/wilc1000/coreconfigurator.h +0
-1#endif --2.9.3
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170309223039.7303-1-diaconita.tamara%40gmail.com.
For more options, visit https://groups.google.com/d/optout.