diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-11-15 09:49:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-15 17:18:55 -0800 |
commit | 7342c59a44ad9e5f30baaa2de84830f40b9f06c0 (patch) | |
tree | 57cb023fce5ab3da54bea7a1d00c3aeb4f5220b6 /drivers/tty/isicom.c | |
parent | 2dff8ad92661b6c99e9ba8b5918e43b522551556 (diff) | |
download | kernel_goldelico_gta04-7342c59a44ad9e5f30baaa2de84830f40b9f06c0.zip kernel_goldelico_gta04-7342c59a44ad9e5f30baaa2de84830f40b9f06c0.tar.gz kernel_goldelico_gta04-7342c59a44ad9e5f30baaa2de84830f40b9f06c0.tar.bz2 |
TTY: isicom, stop using port->tty
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>
Diffstat (limited to 'drivers/tty/isicom.c')
-rw-r--r-- | drivers/tty/isicom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/isicom.c b/drivers/tty/isicom.c index d7492e1..5f3ecbc 100644 --- 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); |