From: Jiri Slaby Date: Thu, 15 Nov 2012 08:49:48 +0000 (+0100) Subject: TTY: isicom, stop using port->tty X-Git-Tag: v3.8-rc1~177^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7342c59a44ad9e5f30baaa2de84830f40b9f06c0;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Greg Kroah-Hartman --- 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);