linux/drivers/dma/ti
Kees Cook 5e5c793c7f dmaengine: ti: omap-dma: Initialize sglen after allocation
With the new __counted_by annocation, the "sglen" struct member must
be set before accessing the "sg" array. This initialization was done in
other places where a new struct omap_desc is allocated, but these cases
were missed. Set "sglen" after allocation.

Fixes: b85178611c ("dmaengine: ti: omap-dma: Annotate struct omap_desc with __counted_by")
Signed-off-by: Kees Cook <kees@kernel.org>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20240716215702.work.802-kees@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-08-05 22:28:13 +05:30
..
cppi41.c dmaengine: ti: cppi41: add missing MODULE_DESCRIPTION() macro 2024-06-28 13:03:59 +05:30
dma-crossbar.c dmaengine: Explicitly include correct DT includes 2023-08-01 23:51:27 +05:30
edma.c dmaengine: ti: edma: Add some null pointer checks to the edma_probe 2024-01-22 16:53:45 +05:30
k3-psil-am62.c dmaengine: ti: k3-psil-am62: Fix SPI PDMA data 2023-11-23 14:15:53 +05:30
k3-psil-am62a.c dmaengine: ti: k3-psil-am62a: Fix SPI PDMA data 2023-11-24 14:14:00 +05:30
k3-psil-am62p.c dmaengine: ti: k3-udma: Add PSIL threads for AM62P and J722S 2023-12-21 21:45:18 +05:30
k3-psil-am64.c dmaengine: ti: k3-psil: Add initial map for AM64 2020-12-11 21:20:09 +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: add additional TX threads for j721e 2022-09-29 21:48:09 +05:30
k3-psil-j721s2.c dmaengine: ti: k3-psil-j721s2: Add entry for CSI2RX 2024-01-30 22:14:28 +05:30
k3-psil-j784s4.c dmaengine: ti: k3-psil: Add PSI-L thread support for J784s4 2023-03-31 18:17:06 +05:30
k3-psil-j7200.c dmaengine: ti: k3-psil: add additional TX threads for j7200 2022-09-29 21:48:09 +05:30
k3-psil-priv.h dmaengine: ti: k3-udma: Add PSIL threads for AM62P and J722S 2023-12-21 21:45:18 +05:30
k3-psil.c dmaengine: ti: add missing MODULE_DESCRIPTION() macros 2024-06-28 13:04:38 +05:30
k3-udma-glue.c dmaengine updates for v6.11 2024-07-24 12:34:47 -07:00
k3-udma-private.c dmaengine: Explicitly include correct DT includes 2023-08-01 23:51:27 +05:30
k3-udma.c dmaengine: ti: add missing MODULE_DESCRIPTION() macros 2024-06-28 13:04:38 +05:30
k3-udma.h dmaengine: ti: k3-udma-glue: Add support for K3 PKTDMA 2020-12-11 21:20:10 +05:30
Kconfig dmaengine: ti: convert PSIL to be buildable as module 2022-10-19 18:58:05 +05:30
Makefile dmaengine: ti: k3-udma: Add PSIL threads for AM62P and J722S 2023-12-21 21:45:18 +05:30
omap-dma.c dmaengine: ti: omap-dma: Initialize sglen after allocation 2024-08-05 22:28:13 +05:30