summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Kiryanov <rkir@google.com>2018-10-03 10:17:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-15 20:36:46 +0200
commit6d7d725b2e62b00f6b0b36639ba597efe9cc8ea9 (patch)
treeca7f8ac84fff32eb3943d69f9679864380dbcc87
parente6fb3193307dc6bd1de9354a7937385e73fd06cb (diff)
downloadlinux-6d7d725b2e62b00f6b0b36639ba597efe9cc8ea9.tar.gz
linux-6d7d725b2e62b00f6b0b36639ba597efe9cc8ea9.tar.bz2
linux-6d7d725b2e62b00f6b0b36639ba597efe9cc8ea9.zip
platform: goldfish: pipe: Add a blank line to separate varibles and code
checkpacth: Missing a blank line after declarations Signed-off-by: Roman Kiryanov <rkir@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/platform/goldfish/goldfish_pipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c
index bc431f04c4cf..7c639006252e 100644
--- a/drivers/platform/goldfish/goldfish_pipe.c
+++ b/drivers/platform/goldfish/goldfish_pipe.c
@@ -715,6 +715,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;