linux/drivers/dma/ti
Gustavo A. R. Silva ace52a8c2d dmaengine: ti: k3-udma: Use struct_size() in kzalloc()
Make use of the struct_size() helper instead of an open-coded version
in order to avoid any potential type mistakes.

This code was detected with the help of Coccinelle and, audited and
fixed manually.

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83
Link: https://lore.kernel.org/r/20200619224334.GA7857@embeddedor
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-07-15 11:51:05 +05:30
..
cppi41.c dmaengine: cppi41: Fix cppi41_dma_prep_slave_sg() when idle 2019-10-23 21:15:21 +05:30
dma-crossbar.c dmaengine: ti: dma-crossbar: convert to devm_platform_ioremap_resource() 2020-02-13 20:47:52 +05:30
edma.c dmaengine: ti: edma: fix null dereference because of a typo in pointer name 2020-03-02 15:39:15 +05:30
k3-psil-am654.c dmaengine: ti: k3-psil: make symbols static 2020-01-21 13:10:24 +05:30
k3-psil-j721e.c dmaengine: ti: k3-psil: make symbols static 2020-01-21 13:10:24 +05:30
k3-psil-priv.h dmaengine: ti: k3-psil: make symbols static 2020-01-21 13:10:24 +05:30
k3-psil.c dmaengine: ti: k3-psil: fix deadlock on error path 2020-04-15 21:38:28 +05:30
k3-udma-glue.c dmaengine: ti: k3-udma: Use common defines for TCHANRT/RCHANRT registers 2020-07-15 11:36:55 +05:30
k3-udma-private.c dmaengine: ti: k3-udma-private: Use udma_read/write for register access 2020-07-15 11:36:55 +05:30
k3-udma.c dmaengine: ti: k3-udma: Use struct_size() in kzalloc() 2020-07-15 11:51:05 +05:30
k3-udma.h dmaengine: ti: k3-udma: Use common defines for TCHANRT/RCHANRT registers 2020-07-15 11:36:55 +05:30
Kconfig dmaengine: ti: k3-udma: Drop COMPILE_TEST for the drivers for now 2020-04-15 21:25:25 +05:30
Makefile dmaengine: ti: k3-udma: Add glue layer for non DMAengine users 2020-01-21 11:06:12 +05:30
omap-dma.c dmaengine: ti: omap-dma: Replace zero-length array with flexible-array member 2020-02-13 20:16:00 +05:30