staging: comedi: vmk80xx: zero buffers on allocation
authorIan Abbott <abbotti@mev.co.uk>
Thu, 14 Feb 2013 16:42:13 +0000 (16:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Feb 2013 18:17:55 +0000 (10:17 -0800)
commit0cbfc8269b980adafa7b529bb529a2fc316c5405
treed540d500b73c201a7fe9dac3a7e676ae7272b704
parentd489082ac690f7cf784e66cfd74f076a361740ba
staging: comedi: vmk80xx: zero buffers on allocation

Zero out `devpriv->usb_tx_buf` and `devpriv->usb_rx_buf` on allocation.
When sending data to the USB device, this ensures any unused part of the
buffer will not contain random crap.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/vmk80xx.c