Skip to contentSkip to conversation

staging: wilc1000: Added a new line

PATCH In review Aparna Karuthodi 2 participants 2 messages Sep 13, 2015 – Sep 14, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wilc1000: Added a new line

Added a new line after declaration to remove a coding style warning detected by checkpatch. The warning is given below
WARNING: Missing a blank line after declarations

---
 drivers/staging/wilc1000/coreconfigurator.c |    1 +
 1 file changed, 1 insertion(+)
drivers/staging/wilc1000/coreconfigurator.c +1 -0
index ed6ac45..0c964c6 100644
@@ -2101,6 +2101,7 @@ s32 SendConfigPkt(u8 u8Mode, tstrWID *pstrWIDs,
 			  u32 u32WIDsCount, bool bRespRequired, u32 drvHandler)
 {
 	s32 counter = 0, ret = 0;
+
 	if (gpstrWlanOps == NULL) {
 		PRINT_D(CORECONFIG_DBG, "Net Dev is still not initialized\n");
 		return 1;
Signature · 1 line
1.7.9.5
maintainer
#1 lore raw
Quoted 14 lines · Aparna Karuthodi

Added a new line after declaration to remove a coding style warning detected by checkpatch. The warning is given below
WARNING: Missing a blank line after declarations

---
 drivers/staging/wilc1000/coreconfigurator.c |    1 +
 1 file changed, 1 insertion(+)
drivers/staging/wilc1000/coreconfigurator.c +0 -0
index ed6ac45..0c964c6 100644

drivers/staging/wilc1000/coreconfigurator.c s32 SendConfigPkt(u8 u8Mode, tstrWID *pstrWIDs, · line 2107

Quoted 7 lines
drivers/staging/wilc1000/coreconfigurator.c +1 -0
@@ -2101,6 +2101,7 @@ s32 SendConfigPkt(u8 u8Mode, tstrWID *pstrWIDs,
 			  u32 u32WIDsCount, bool bRespRequired, u32 drvHandler)
 {
 	s32 counter = 0, ret = 0;
+
 	if (gpstrWlanOps == NULL) {
 		PRINT_D(CORECONFIG_DBG, "Net Dev is still not initialized\n");
 		return 1;

someone already sent in this change before you did, sorry.