* [PATCH] Drivers:staging:dgap: Added a blank line after declaration
@ 2014-11-20 18:57 Anjana Sasindran
0 siblings, 0 replies; only message in thread
From: Anjana Sasindran @ 2014-11-20 18:57 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel, devel, Anjana Sasindran
This patch fixes the checkpatch.pl warning:
WARNING:Missing a blank line after declaration
Signed-off-by: Anjana Sasindran <anjanasasindran123@gmail.com>
---
drivers/staging/dgap/dgap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c
index f38354f..bdb5317 100644
--- a/drivers/staging/dgap/dgap.c
+++ b/drivers/staging/dgap/dgap.c
@@ -4414,6 +4414,7 @@ static struct board_t *find_board_by_major(unsigned int major)
for (i = 0; i < MAXBOARDS; i++) {
struct board_t *brd = dgap_board[i];
+
if (!brd)
return NULL;
if (major == brd->serial_driver->major ||
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-20 18:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 18:57 [PATCH] Drivers:staging:dgap: Added a blank line after declaration Anjana Sasindran
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).