USB: mos7720: fix DMA to stack
authorJohan Hovold <jhovold@gmail.com>
Mon, 27 May 2013 12:44:39 +0000 (14:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 May 2013 01:50:41 +0000 (10:50 +0900)
commit72ea18a558ed7a63a50bb121ba60d73b5b38ae30
treed7a4edbe16735e3b426034748af99f9d2bac10d6
parent420021a395ce38b7ab2cceb52dee4038be7d8fa3
USB: mos7720: fix DMA to stack

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

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