Daniel Thompson 06d1828925 serial: kgdb_nmi: Use container_of() to locate private data
This corrects a crash in kgdb_nmi_tty_shutdown() which occurs when
the function is called with port->tty set to NULL.

All conversions between struct tty_port and struct kgdb_nmi_tty_priv
have been switched to direct calls to container_of() to improve code
clarity and consistancy.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-29 11:28:05 -07:00
..
2014-02-28 16:31:00 -08:00
2013-01-15 22:30:15 -08:00
2013-03-18 16:24:29 -07:00
2013-12-08 16:56:05 -08:00
2014-02-13 10:18:48 -08:00
2013-10-16 13:08:16 -07:00
2013-07-24 15:12:53 -07:00
2014-03-17 16:13:23 -07:00
2014-03-17 16:13:23 -07:00
2014-04-16 14:31:13 -07:00