USB: mos7840: fix null-pointer dereference
authorJohan Hovold <jhovold@gmail.com>
Wed, 19 May 2010 20:13:17 +0000 (22:13 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:16:18 +0000 (13:16 -0700)
commitb41709f1263bb1ad37efc43fea0bb0b670c12e78
treef3dbaa9d588dc1e76b79463960599d37936e5d7f
parentad8456361fa19068cf49b50a4f98e41b73c08e76
USB: mos7840: fix null-pointer dereference

Fix null-pointer dereference on error path.

Cc: stable <stable@kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7840.c