[PATCH 08/15] platform: goldfish: pipe: Add a blank line to separate varibles and code
From: rkir
Date: Tue Oct 02 2018 - 18:20:38 EST
From: Roman Kiryanov <rkir@xxxxxxxxxx>
checkpacth: Missing a blank line after declarations
Signed-off-by: Roman Kiryanov <rkir@xxxxxxxxxx>
---
drivers/platform/goldfish/goldfish_pipe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c
index 1822d4146778..a1fbbf49cc3f 100644
--- a/drivers/platform/goldfish/goldfish_pipe.c
+++ b/drivers/platform/goldfish/goldfish_pipe.c
@@ -713,6 +713,7 @@ static int goldfish_pipe_open(struct inode *inode, struct file *file)
/* Allocate new pipe kernel object */
struct goldfish_pipe *pipe = kzalloc(sizeof(*pipe), GFP_KERNEL);
+
if (!pipe)
return -ENOMEM;
--
2.19.0.605.g01d371f741-goog