u-boot/drivers/dma
Heinrich Schuchardt 4908067b8f dma: bcm6348: incorrect buffer allocation
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>
2021-01-18 15:23:06 -05:00
..
ti dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
apbh_dma.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
bcm6348-iudma.c dma: bcm6348: incorrect buffer allocation 2021-01-18 15:23:06 -05:00
dma-uclass.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
fsl_dma.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig mtd: nand: support GPMI NAND driver for i.MX8 2020-05-10 20:55:20 +02:00
keystone_nav.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
keystone_nav_cfg.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lpc32xx_dma.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Makefile dma: ti: add driver to K3 UDMA 2019-04-11 20:07:12 -04:00
MCD_dmaApi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
MCD_tasks.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
MCD_tasksInit.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox-dma-test.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
ti-edma3.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00