summaryrefslogtreecommitdiff
path: root/drivers/usb/core/devices.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2010-12-15 20:44:03 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-15 23:26:44 (GMT)
commitac563cfd528033ee6e3bb4801b5c73468d0145c8 (patch)
treeb9643166fb82ae2ac3afa89c12526ff5bcfc94ac /drivers/usb/core/devices.c
parent4400ef311e10666a2e5acf97d040df89cb880cb2 (diff)
downloadlinux-fsl-qoriq-ac563cfd528033ee6e3bb4801b5c73468d0145c8.tar.xz
USB: uas: Use kzalloc instead of kmalloc
The IUs are not being fully initialised by the driver (due to the reserved space). Since we should be zeroing reserved fields, use kzalloc to do it for us. Reported-by: Luben Tuikov <ltuikov@yahoo.com> Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/devices.c')
0 files changed, 0 insertions, 0 deletions