Files
u-boot/drivers
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
..
2021-01-05 16:20:26 -05:00
2020-12-18 20:32:21 -07:00
2020-11-06 10:18:20 +08:00
2020-11-06 10:18:20 +08:00