diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-08-07 21:47:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 13:29:57 -0700 |
commit | 536a3440a27f8687090bdf33468b003bc0f810cf (patch) | |
tree | 76f358685b2838f740df7e293101078177fa46e7 /drivers/s390 | |
parent | ee8b593affdf893012e57f4c54a21984d1b0d92e (diff) | |
download | op-kernel-dev-536a3440a27f8687090bdf33468b003bc0f810cf.zip op-kernel-dev-536a3440a27f8687090bdf33468b003bc0f810cf.tar.gz |
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>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions