linux/drivers/usb/renesas_usbhs
Thomas Meyer 87763842b7 usb: gadget: renesas_usbhs: Use kcalloc instead of kzalloc to allocate array
The advantage of kcalloc is, that will prevent integer overflows which could
result from the multiplication of number of elements and size and it is also
a bit nicer to read.

The semantic patch that makes this change is available
in https://lkml.org/lkml/2011/11/25/107

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-09 16:18:19 -08:00
..
common.c usb: convert drivers/usb/* to use module_platform_driver() 2011-11-28 06:48:32 +09:00
common.h usb: gadget: renesas_usbhs: bugfix: don't modify platform data 2011-10-13 20:41:53 +03:00
fifo.c usb: gadget: renesas_usbhs: fixup bogus conversion 2011-11-14 11:51:22 -08:00
fifo.h usb: gadget: renesas_usbhs: add data/status stage handler 2011-10-13 20:41:51 +03:00
Kconfig usb: gadget: renesas_usbhs: drop dependency 2011-10-13 20:41:54 +03:00
Makefile usb: gadget: renesas_usbhs: fixup driver compile style 2011-10-13 20:41:54 +03:00
mod.c usb: gadget: renesas_usbhs: bugfix: don't modify platform data 2011-10-13 20:41:53 +03:00
mod.h usb: gadget: renesas_usbhs: fixup section mismatch warning 2011-11-14 11:51:23 -08:00
mod_gadget.c usb: gadget: renesas_usbhs: fixup section mismatch warning 2011-11-14 11:51:23 -08:00
mod_host.c usb: gadget: renesas_usbhs: Use kcalloc instead of kzalloc to allocate array 2011-12-09 16:18:19 -08:00
pipe.c usb: gadget: renesas_usbhs: usbhs_dcp_control_transfer_done() cares mod_host 2011-10-13 20:41:51 +03:00
pipe.h usb: gadget: renesas_usbhs: modify pipe sequence settings 2011-10-13 20:41:46 +03:00