TTY: check if tty->port is assigned
authorJiri Slaby <jslaby@suse.cz>
Fri, 17 Aug 2012 12:27:52 +0000 (14:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Aug 2012 13:39:06 +0000 (06:39 -0700)
commit5d4121c04b3577e37e389b3553d442f44bb346d7
tree099321b0f69a095760379152248029db023d13e0
parent63d486964cbd0d8556f28bf215c37b0d63f6bbba
TTY: check if tty->port is assigned

And if not, complain loudly. None in-kernel module should trigger
that, but let us find out for sure. On the other hand, all the
out-of-tree modules will hit that. Give them some time (maybe one
release) to catch up.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c