projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dff8ad
)
TTY: isicom, stop using port->tty
author
Jiri Slaby
<jslaby@suse.cz>
Thu, 15 Nov 2012 08:49:48 +0000
(09:49 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 01:18:55 +0000
(17:18 -0800)
Do not access unsafe port->tty pointer when we have a safe tty
already. Use the safe one.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/isicom.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/isicom.c
b/drivers/tty/isicom.c
index d7492e18360768c683c86b4359c6173d8ae1310f..5f3ecbc2713e03bb1b7a7c748a66d0a2ed44be3c 100644
(file)
--- a/
drivers/tty/isicom.c
+++ b/
drivers/tty/isicom.c
@@
-603,7
+603,7
@@
static irqreturn_t isicom_interrupt(int irq, void *dev_id)
if (tty_port_cts_enabled(&port->port)) {
if (tty->hw_stopped) {
if (header & ISI_CTS) {
-
port->port.
tty->hw_stopped = 0;
+ tty->hw_stopped = 0;
/* start tx ing */
port->status |= (ISI_TXOK
| ISI_CTS);