Jiri Slaby f7d7aedfcd USB: serial/keyspan_pda, fix potential tty NULL dereferences
Make sure that we check the return value of tty_port_tty_get.
Sometimes it may return NULL and we later dereference that.

There are several places to check. For easier handling,
tty_port_tty_get is moved directly to the palce where needed in
keyspan_pda_rx_interrupt.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-28 19:24:54 -08:00
..
2011-02-17 09:56:55 -08:00
2010-05-20 13:21:46 -07:00
2010-03-02 14:54:16 -08:00
2010-05-20 13:21:47 -07:00
2010-05-20 13:21:47 -07:00
2010-10-22 10:22:07 -07:00
2011-02-17 10:51:13 -08:00
2010-05-20 13:21:47 -07:00
2010-05-20 13:21:32 -07:00