diff options
author | Roman Kiryanov <rkir@google.com> | 2018-10-03 10:17:13 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-15 20:36:46 +0200 |
commit | 6d7d725b2e62b00f6b0b36639ba597efe9cc8ea9 (patch) | |
tree | ca7f8ac84fff32eb3943d69f9679864380dbcc87 /drivers | |
parent | e6fb3193307dc6bd1de9354a7937385e73fd06cb (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/platform/goldfish/goldfish_pipe.c | 1 |
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; |