projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69fee68
)
tty: Call hangup method in modern style
author
Peter Hurley
<peter@hurleysoftware.com>
Mon, 16 Jun 2014 13:17:08 +0000
(09:17 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 23:07:46 +0000
(16:07 -0700)
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/tty_io.c
b/drivers/tty/tty_io.c
index 34110719fe03776ee6f989d7efc05d6875339a7f..714320b5e525613908d31fe4f6a77f6be5e6b3a6 100644
(file)
--- a/
drivers/tty/tty_io.c
+++ b/
drivers/tty/tty_io.c
@@
-688,7
+688,7
@@
static void __tty_hangup(struct tty_struct *tty, int exit_session)
for (n = 0; n < closecount; n++)
tty->ops->close(tty, cons_filp);
} else if (tty->ops->hangup)
-
(tty->ops->hangup)
(tty);
+
tty->ops->hangup
(tty);
/*
* We don't want to have driver/ldisc interactions beyond
* the ones we did here. The driver layer expects no