commit | 0cbfc8269b980adafa7b529bb529a2fc316c5405 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Thu Feb 14 16:42:13 2013 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 15 10:17:55 2013 -0800 |
tree | d540d500b73c201a7fe9dac3a7e676ae7272b704 | |
parent | d489082ac690f7cf784e66cfd74f076a361740ba [diff] |
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>