From efdc43130cdb3dbcd25d1586e93181abbc714ea5 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 24 Mar 2015 20:34:02 +0100 Subject: [PATCH] greybus: es1: fix checkpatch warning about blank lines needed Add a blank line in apb1_log_enable_read() to make checkpatch happy. Oh, and it makes the code more readable too... Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/es1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/greybus/es1.c b/drivers/staging/greybus/es1.c index a7fb4b52991b..225ef3ff1181 100644 --- a/drivers/staging/greybus/es1.c +++ b/drivers/staging/greybus/es1.c @@ -573,6 +573,7 @@ static ssize_t apb1_log_enable_read(struct file *f, char __user *buf, { char tmp_buf[3]; int enable = apb1_log_task != NULL; + sprintf(tmp_buf, "%d\n", enable); return simple_read_from_buffer(buf, count, ppos, tmp_buf, 3); } -- 2.11.0