mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-15 07:43:33 +08:00
4908067b8f
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 |