USB: wusb: don't use the stack to read security descriptor
authorStefano Panella <stefano.panella@csr.com>
Mon, 12 Oct 2009 15:45:14 +0000 (15:45 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 14 Oct 2009 21:54:42 +0000 (14:54 -0700)
commitb41ecf9a80a55406eb4bf90c1ba260785002e103
tree069ffc368a0eb1b405f53b1adb7a6b41ff37ae94
parent99b830aa553668a2c433e4cbff130224a75c74bb
USB: wusb: don't use the stack to read security descriptor

An urb's transfer buffer must be kmalloc'd memory and not point to the
stack or a DMA API warning results.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/wusbcore/security.c