diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2012-10-05 00:01:21 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-05 16:26:01 (GMT) |
commit | 6f5601251d7e306b8a7bf5e674c5307d865c0fa1 (patch) | |
tree | 55f3e550181d02ecc8dfe7d09a292c98ece96469 /arch/avr32/Makefile | |
parent | ecefbd94b834fa32559d854646d777c56749ef1c (diff) | |
download | linux-fsl-qoriq-6f5601251d7e306b8a7bf5e674c5307d865c0fa1.tar.xz |
net, TTY: initialize tty->driver_data before usage
Commit 9c650ffc ("TTY: ircomm_tty, add tty install") split _open() to
_install() and _open(). It also moved the initialization of driver_data
out of open(), but never added it to install() - causing a NULL ptr
deref whenever the driver was used.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/avr32/Makefile')
0 files changed, 0 insertions, 0 deletions