From 6254e1c06231259357b811c934ded22a2fd9f763 Mon Sep 17 00:00:00 2001 From: Gulsah Kose Date: Tue, 30 Sep 2014 20:32:05 +0300 Subject: [PATCH] staging: ft1000: ft1000-usb: Added new line after declarations. This patch fixes "Missing a blank line after declarations" checkpatch.pl warning in ft1000_hw.c Signed-off-by: Gulsah Kose Signed-off-by: Greg Kroah-Hartman --- drivers/staging/ft1000/ft1000-usb/ft1000_hw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c index 7012e09a1599..fa82d4f3523e 100644 --- a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c +++ b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c @@ -1153,6 +1153,7 @@ static int ft1000_proc_drvmsg(struct ft1000_usb *dev, u16 size) } convert; char *cmdbuffer = kmalloc(1600, GFP_KERNEL); + if (!cmdbuffer) return -ENOMEM; -- 2.39.5