USB: mos7720: fix DMA to stack
commitf856f08e406a4c32e3c60a6e0761027902c44bb1
authorJohan Hovold <jhovold@gmail.com>
Mon, 27 May 2013 12:44:39 +0000 (27 14:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2013 16:44:57 +0000 (13 09:44 -0700)
tree534f57dfb9c5a44c45ab81dacdda996a8e141910
parent30871ae102c41f1695d6de037e13ec40a1d7498a
USB: mos7720: fix DMA to stack

commit 72ea18a558ed7a63a50bb121ba60d73b5b38ae30 upstream.

The read_mos_reg function is called with stack-allocated buffers, which
must not be used for control messages.

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