lkml.org 
[lkml]   [2018]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    Subject[PATCH v3 08/15] platform: goldfish: pipe: Add a blank line to separate varibles and code
    From
    From: Roman Kiryanov <rkir@google.com>

    checkpacth: Missing a blank line after declarations

    Signed-off-by: Roman Kiryanov <rkir@google.com>
    ---
    Changes in v3:
    - No change.
    Changes in v2:
    - No change.

    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
    \
     
     \ /
      Last update: 2018-10-03 19:19    [W:2.073 / U:1.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site