mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 15:38:51 +09:00
![]() Calling calloc() for 0 members does not make any sense. Setting ch_priv->busy_desc = NULL for ch_priv->desc_cnt > 0 is equally unreasonable. The current code will lead to a NULL dereference in bcm6348_iudma_enable(). The assignments for ch_priv->busy_desc are obviously swapped. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> |
||
---|---|---|
.. | ||
ti | ||
apbh_dma.c | ||
bcm6348-iudma.c | ||
dma-uclass.c | ||
fsl_dma.c | ||
Kconfig | ||
keystone_nav_cfg.c | ||
keystone_nav.c | ||
lpc32xx_dma.c | ||
Makefile | ||
MCD_dmaApi.c | ||
MCD_tasks.c | ||
MCD_tasksInit.c | ||
sandbox-dma-test.c | ||
ti-edma3.c |