]> git.itanic.dy.fi Git - linux-stable/commit
USB: mos7840: fix DMA to stack
authorJohan Hovold <jhovold@gmail.com>
Mon, 27 May 2013 12:44:40 +0000 (14:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2013 17:49:09 +0000 (10:49 -0700)
commit1014760f7c4db93f0980e19c9249dd248e0ff2bf
treefb2ed80d56d1febb17c7b2ece27ed70235551dfe
parent8d0504d37c716d8e2f48beb1d7a560074d5f6d9c
USB: mos7840: fix DMA to stack

commit 15ee89c3347fbf58a4361011eda5ac2731e45126 upstream.

Fix regression introduced by commit 0eafe4de1a ("USB: serial: mos7840:
add support for MCS7810 devices") which used stack-allocated buffers for
control messages.

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