mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00: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.c | ||
keystone_nav_cfg.c | ||
lpc32xx_dma.c | ||
Makefile | ||
MCD_dmaApi.c | ||
MCD_tasks.c | ||
MCD_tasksInit.c | ||
sandbox-dma-test.c | ||
ti-edma3.c |