From: Rob Ward <robert.ward...@googlemail.com>

Fixes "Missing a blank line after declarations" reported by
checkpatch.

This patch introduces no functional changes.

Signed-off-by: Rob Ward <robert.ward...@googlemail.com>
---
 drivers/char/mem.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index a04ce78..6029d1f 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -575,6 +575,7 @@ static ssize_t write_port(struct file *file, const char 
__user *buf,
                return -EFAULT;
        while (count-- > 0 && i < 65536) {
                char c;
+
                if (__get_user(c, tmp)) {
                        if (tmp > buf)
                                break;
@@ -631,6 +632,7 @@ static ssize_t read_iter_zero(struct kiocb *iocb, struct 
iov_iter *iter)
 
        while (iov_iter_count(iter)) {
                size_t chunk = iov_iter_count(iter), n;
+
                if (chunk > PAGE_SIZE)
                        chunk = PAGE_SIZE;      /* Just for latency reasons */
                n = iov_iter_zero(chunk, iter);
-- 
2.0.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to