Skip to contentSkip to conversation

staging: wilc1000: coreconfiguration Removed camel case

PATCH In review Tamara Diaconita 2 participants 2 messages Mar 7, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wilc1000: coreconfiguration Removed camel case

Change the name of some variables to fix the checkpath.pl issue:
CHECK: Avoid CamelCase

---
 drivers/staging/wilc1000/coreconfigurator.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/wilc1000/coreconfigurator.h +6 -6
index 10101f8..a2df5c7 100644
@@ -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
#1 lore raw
Quoted 18 lines · Tamara Diaconita

Change the name of some variables to fix the checkpath.pl issue:
CHECK: Avoid CamelCase

---
 drivers/staging/wilc1000/coreconfigurator.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/wilc1000/coreconfigurator.h +0 -2
index 10101f8..a2df5c7 100644
@@ -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);

I think that someome already proposed this change, but Greg didn't take it because he wanted the occurrences of length to be moved up to the previous line.

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/20170307220910.5225-1-diaconita.tamara%40gmail.com.
For more options, visit https://groups.google.com/d/optout.