* [PATCH] staging: wilc1000: Added a new line
@ 2015-09-13 11:01 Aparna Karuthodi
2015-09-14 4:46 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Aparna Karuthodi @ 2015-09-13 11:01 UTC (permalink / raw)
To: linux-kernel; +Cc: devel, linux-wireless, gregkh, rachel.kim, 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
Signed-off-by: Aparna Karuthodi <kdasaparna@gmail.com>
---
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 ed6ac45..0c964c6 100644
--- a/drivers/staging/wilc1000/coreconfigurator.c
+++ b/drivers/staging/wilc1000/coreconfigurator.c
@@ -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;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] staging: wilc1000: Added a new line
2015-09-13 11:01 [PATCH] staging: wilc1000: Added a new line Aparna Karuthodi
@ 2015-09-14 4:46 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2015-09-14 4:46 UTC (permalink / raw)
To: Aparna Karuthodi; +Cc: linux-kernel, devel, linux-wireless, rachel.kim
On Sun, Sep 13, 2015 at 04:31:33PM +0530, Aparna Karuthodi wrote:
> 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
>
> Signed-off-by: Aparna Karuthodi <kdasaparna@gmail.com>
> ---
> 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 ed6ac45..0c964c6 100644
> --- a/drivers/staging/wilc1000/coreconfigurator.c
> +++ b/drivers/staging/wilc1000/coreconfigurator.c
> @@ -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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-14 4:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-13 11:01 [PATCH] staging: wilc1000: Added a new line Aparna Karuthodi
2015-09-14 4:46 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).