]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
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>
Tue, 13 Nov 2012 18:45:16 +0000 (10:45 -0800)
commitf0e3e35c9049087172c65302b42da8fe7ebb63a8
tree335058e049cdb14578e3db412451a9e491795c60
parentd99e65bda806f49e192dd31e9b01959974dea3cd
USB: keyspan: fix typo causing GPF on open

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>
Cc: stable <stable@vger.kernel.org>
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