]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: zero all data buffers
authorAlex Elder <elder@linaro.org>
Thu, 16 Oct 2014 11:35:28 +0000 (06:35 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 17 Oct 2014 16:12:00 +0000 (18:12 +0200)
commita7901d5ef7ff6bb6b7fdc500d9383450b23ba059
tree2c443ab8a12ac3ffd1dc808140183faa58f70a32
parent170229d19586955e30604b2de37557e09a70b66c
greybus: zero all data buffers

Don't assume the buffer data area will all be overwritten.  Zero all
buffer space, to avoid sending crap over the wire.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/es1-ap-usb.c