projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16d15f7
)
tty: tty_port: Add a blank line after declarations
author
Xiaofei Tan
<tanxiaofei@huawei.com>
Wed, 12 May 2021 09:26:24 +0000
(17:26 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 13 May 2021 16:29:13 +0000
(18:29 +0200)
Add a blank line after declarations, reported by checkpatch.pl.
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Link:
https://lore.kernel.org/r/1620811585-18582-17-git-send-email-tanxiaofei@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_port.c
patch
|
blob
|
history
diff --git
a/drivers/tty/tty_port.c
b/drivers/tty/tty_port.c
index 7557bcd84b27c6bbafdd2db07042985ceed3d844..189c2fa09c6de6b2847ea1e87cdc1d52486f74b1 100644
(file)
--- a/
drivers/tty/tty_port.c
+++ b/
drivers/tty/tty_port.c
@@
-688,6
+688,7
@@
int tty_port_open(struct tty_port *port, struct tty_struct *tty,
clear_bit(TTY_IO_ERROR, &tty->flags);
if (port->ops->activate) {
int retval = port->ops->activate(port, tty);
+
if (retval) {
mutex_unlock(&port->mutex);
return retval;