[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180914175122.21036-14-rkir@google.com>
Date: Fri, 14 Sep 2018 10:51:15 -0700
From: rkir@...gle.com
To: gregkh@...uxfoundation.org
Cc: tkjos@...gle.com, linux-kernel@...r.kernel.org,
Roman Kiryanov <rkir@...gle.com>
Subject: [PATCH 14/21] platform: goldfish: pipe: Add a blank line to separate
varibles and code
From: Roman Kiryanov <rkir@...gle.com>
checkpacth: Missing a blank line after declarations
Signed-off-by: Roman Kiryanov <rkir@...gle.com>
---
drivers/platform/goldfish/goldfish_pipe_v2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/goldfish/goldfish_pipe_v2.c b/drivers/platform/goldfish/goldfish_pipe_v2.c
index d653e5a2ffcc..6a8641c7c36e 100644
--- a/drivers/platform/goldfish/goldfish_pipe_v2.c
+++ b/drivers/platform/goldfish/goldfish_pipe_v2.c
@@ -747,6 +747,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.397.gdd90340f6a-goog
Powered by blists - more mailing lists