commit | b670bde0b2497966d76154cfb9706c38cf8348f9 | [log] [tgz] |
---|---|---|
author | Vasiliy Kulikov <segooon@gmail.com> | Sun Sep 05 22:32:22 2010 +0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 22 10:20:03 2010 -0700 |
tree | 0e85f57a2f6b806ec7a79addfc00a23a8d3c9b3c | |
parent | df480518a688f0d28f7e7de69abe6a441d1c2c64 [diff] |
tty_io: check return code of tty_register_device Function tty_register_device may return ERR_PTR(...). Check for it. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>