Jiri Slaby 536a3440a2 TTY: ttyprintk, initialize tty_port earlier
After tty_register_driver is called, it is too late to initialize a
guy with which we operate in open. When a process already called
open(2) on that node, the structures may be in use uninitialized.

Move the initialization prior to tty_register_driver.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Samo Pogacnik <samo_pogacnik@t-2.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-10 13:29:57 -07:00
..
2012-05-16 08:06:37 -07:00
2012-05-16 08:06:37 -07:00
2012-03-28 18:30:03 +01:00
2011-03-31 11:26:23 -03:00
2011-02-02 15:28:19 +01:00
2012-03-28 18:30:03 +01:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:03 +01:00
2011-01-10 08:51:44 -08:00
2010-10-15 15:53:27 +02:00
2012-02-09 23:09:37 +01:00