Skip to content

Commit 6a0061b

Browse files
rob-wardgregkh
authored andcommitted
drivers: char: mem: Fix Missing blank line issues
Fixes "Missing a blank line after declarations" reported by checkpatch. This patch introduces no functional changes. Signed-off-by: Rob Ward <robert.ward114@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 35b6c7e commit 6a0061b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/char/mem.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@ static ssize_t write_port(struct file *file, const char __user *buf,
570570
return -EFAULT;
571571
while (count-- > 0 && i < 65536) {
572572
char c;
573+
573574
if (__get_user(c, tmp)) {
574575
if (tmp > buf)
575576
break;
@@ -625,6 +626,7 @@ static ssize_t read_iter_zero(struct kiocb *iocb, struct iov_iter *iter)
625626

626627
while (iov_iter_count(iter)) {
627628
size_t chunk = iov_iter_count(iter), n;
629+
628630
if (chunk > PAGE_SIZE)
629631
chunk = PAGE_SIZE; /* Just for latency reasons */
630632
n = iov_iter_zero(chunk, iter);

0 commit comments

Comments
 (0)