1
0
Fork 0
alistair23-linux/drivers/mxc/mlb
Clark Wang d229e2c9b5 MLK-23000-1 mxc: mlb: fix kernel dump when use gen_pool_dma_alloc
If use dma pool when iram does not exist, the iram_pool will be NULL.
The previous version of lib/genalloc.c will check the pointer status
first. In 5.4, it will not check NULL pointer.
Therefore, add NULL check here.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
2019-11-25 15:48:11 +08:00
..
Kconfig mxc mlb: Allow compilation on imx8 2019-11-25 15:48:11 +08:00
Makefile MLK-11442 mlb: imx: add mlb support on imx_4.1.y 2019-11-25 15:48:04 +08:00
mxc_mlb.c MLK-23000-1 mxc: mlb: fix kernel dump when use gen_pool_dma_alloc 2019-11-25 15:48:11 +08:00