USB: keyspan: fix typo causing GPF on open
authorBjørn Mork <bjorn@mork.no>
Sat, 10 Nov 2012 09:13:42 +0000 (10:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 20:14:16 +0000 (12:14 -0800)
commit17ca63a0b5ec5e2747ffa1a69f6e28a04b7c9fcb
treee8820cb4c5e1f3db4c56711647c939996c423413
parentfc4cc3fbd6c79a96b38c4d88d07c165e869ef7bf
USB: keyspan: fix typo causing GPF on open

commit f0e3e35c9049087172c65302b42da8fe7ebb63a8 upstream.

Commit f79b2d0f (USB: keyspan: fix NULL-pointer dereferences and
memory leaks) had a small typo which made the driver use wrong
offsets when mapping serial port private data.  This results in
in a GPF when the port is opened.

Reported-by: Richard <richjunk@pacbell.net>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/keyspan.c