staging: comedi: drivers: usbduxsigma.c: fix DMA buffers on stack
authorKumar Amit Mehta <gmate.amit@gmail.com>
Fri, 22 Feb 2013 06:07:08 +0000 (22:07 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:38:37 +0000 (09:38 -0700)
commitb5ae11463a67a5e468dd67482ab2308994da9b2b
tree4468d02d4c5ddc60712df24520996624471ffe70
parent47b1be5c0f4ed4991f3d956dbd7ba69cb5bc521f
staging: comedi: drivers: usbduxsigma.c: fix DMA buffers on stack

This patch fixes an instance of DMA buffer on stack(being passed to
usb_control_msg)for the USB-DUXsigma Board driver. Found using smatch.

Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbduxsigma.c