[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1462524581-9790-15-git-send-email-pranjas@gmail.com>
Date: Fri, 6 May 2016 11:49:38 +0300
From: "Pranay Kr. Srivastava" <pranjas@...il.com>
To: gregkh@...uxfoundation.org, mpa@...gutronix.de,
nbd-general@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Cc: "Pranay Kr. Srivastava" <pranjas@...il.com>
Subject: [PATCH v3 14/17] nbd: fix checkpatch no extra line after decleration warning
Signed-off-by: Pranay Kr. Srivastava <pranjas@...il.com>
---
drivers/block/nbd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index 690e734..6633ab2 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -1049,6 +1049,7 @@ static int __init nbd_init(void)
for (i = 0; i < nbds_max; i++) {
struct gendisk *disk = alloc_disk(1 << part_shift);
+
if (!disk)
goto out;
nbd_dev[i].disk = disk;
--
2.6.2
Powered by blists - more mailing lists