This patch fixes the checkpatch.pl warning: WARNING:Missing a blank line after declaration Signed-off-by: Anjana Sasindran <anjanasasindran123@xxxxxxxxx> --- 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 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel