2015-07-31 05:25:57

by Shraddha Barke

[permalink] [raw]
Subject: [PATCH] Staging: wilc1000 :Insert blank line after declaration

This patch fixes the following checkpatch.pl warning:

WARNING: Missing a blank line after declarations
Signed-off-by: Shraddha Barke <[email protected]>
---
drivers/staging/wilc1000/coreconfigurator.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c
index 1143282..0f31d63 100644
--- a/drivers/staging/wilc1000/coreconfigurator.c
+++ b/drivers/staging/wilc1000/coreconfigurator.c
@@ -1094,6 +1094,7 @@ void ProcessCharWid(char *pcPacket, s32 *ps32PktLen,
u8 *pu8val = (u8 *)ps8WidVal;
u8 u8val = 0;
s32 s32PktLen = *ps32PktLen;
+
if (pstrWID == NULL) {
PRINT_WRN(CORECONFIG_DBG, "Can't set CHAR val 0x%x ,NULL structure\n", u8val);
return;
--
2.1.0



2015-07-31 20:52:04

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] Staging: wilc1000 :Insert blank line after declaration

On Fri, Jul 31, 2015 at 10:55:40AM +0530, Shraddha Barke wrote:
> This patch fixes the following checkpatch.pl warning:
>
> WARNING: Missing a blank line after declarations
> Signed-off-by: Shraddha Barke <[email protected]>

Please add a blank line and resend.