linux-stable/drivers/soc
Alexandre Belloni 64e9e22e68 soc: fsl: qbman: qman: avoid allocating from non existing gen_pool
If the qman driver didn't probe, calling qman_alloc_fqid_range,
qman_alloc_pool_range or qman_alloc_cgrid_range (as done in dpaa_eth) will
pass a NULL pointer to gen_pool_alloc, leading to a NULL pointer
dereference.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
(cherry picked from commit f72487a2788aa70c3aee1d0ebd5470de9bac953a)
Signed-off-by: Olof Johansson <olof@lixom.net>
2018-09-25 13:57:25 -07:00
..
actions
amlogic
atmel
bcm
dove
fsl soc: fsl: qbman: qman: avoid allocating from non existing gen_pool 2018-09-25 13:57:25 -07:00
gemini
imx ARM: SoC driver updates 2018-08-23 13:52:46 -07:00
lantiq
mediatek
qcom remoteproc updates for v4.19 2018-08-18 16:42:04 -07:00
renesas Second Round of Renesas ARM Based SoC Updates for v4.19 2018-07-21 14:19:37 -07:00
rockchip
samsung
sunxi
tegra
ti ARM: Device-tree updates 2018-08-23 14:02:22 -07:00
ux500
versatile
xilinx
zte
Kconfig
Makefile