projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73b240
)
tty: tty_io: Fix spaces required around that ':'
author
Xiaofei Tan
<tanxiaofei@huawei.com>
Wed, 12 May 2021 09:26:16 +0000
(17:26 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 13 May 2021 16:29:13 +0000
(18:29 +0200)
Fix spaces required around that ':', reported by checkpatch.pl.
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Link:
https://lore.kernel.org/r/1620811585-18582-9-git-send-email-tanxiaofei@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c
patch
|
blob
|
history
diff --git
a/drivers/tty/tty_io.c
b/drivers/tty/tty_io.c
index 1266d45730fe39d8862cff21bdb2d03c3606a616..ff0809d462eb0b469729b732dc8008326c389c06 100644
(file)
--- a/
drivers/tty/tty_io.c
+++ b/
drivers/tty/tty_io.c
@@
-2341,7
+2341,7
@@
static int tiocgwinsz(struct tty_struct *tty, struct winsize __user *arg)
err = copy_to_user(arg, &tty->winsize, sizeof(*arg));
mutex_unlock(&tty->winsize_mutex);
- return err ? -EFAULT: 0;
+ return err ? -EFAULT
: 0;
}
/**