WSL2-Linux-Kernel/drivers/dma
Christophe Jaillet eccf2144e1 iop-adma: fixup some kzalloc/memset confusions
1) Remove an explicit memset(.., 0, ...) to a variable allocated with
kzalloc (i.e. 'dest').

2) Allocate 'src' with kmalloc instead of kzalloc as all elements of the
'src' buffer are initialized in a 'for(...)' loop just after.

3) remove useless 'sizeof(u8)', which always returns 1, when computing the
size of the memory to be allocated.

Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2008-05-20 13:51:20 -07:00
..
Kconfig fsldma: Remove CONFIG_FSL_DMA_SELFTEST, keep fsl_dma_self_test() running always. 2008-04-17 13:22:15 -07:00
Makefile dmaengine: add driver for Freescale MPC85xx DMA controller 2008-03-04 10:16:46 -07:00
dmaengine.c DMA engine: typo fixes 2008-04-21 22:38:45 +00:00
fsldma.c dmaengine: ack to flags: make use of the unused bits in the 'ack' field 2008-04-17 13:25:54 -07:00
fsldma.h fix the broken annotations in fsldma 2008-03-30 14:20:24 -07:00
ioat.c I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioat_dca.c ioat_dca __iomem annotations 2008-03-30 14:18:41 -07:00
ioat_dma.c dmaengine: ack to flags: make use of the unused bits in the 'ack' field 2008-04-17 13:25:54 -07:00
ioatdma.h I/OAT: fixups from code comments 2007-12-17 19:28:17 -08:00
ioatdma_hw.h I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioatdma_registers.h I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
iop-adma.c iop-adma: fixup some kzalloc/memset confusions 2008-05-20 13:51:20 -07:00
iovlock.c [NET_DMA]: remove unused dma_memcpy_to_kernel_iovec 2007-07-31 02:28:03 -07:00