linux_dsm_epyc7002/drivers/soc
Luca Weiss 84f9aaa731 soc: qcom: ocmem: don't return NULL in of_get_ocmem
[ Upstream commit 01f937ffc4686837d6c43dea80c6ade6cbd2940a ]

If ocmem probe fails for whatever reason, of_get_ocmem returned NULL.
Without this, users must check for both NULL and IS_ERR on the returned
pointer - which didn't happen in drivers/gpu/drm/msm/adreno/adreno_gpu.c
leading to a NULL pointer dereference.

Reviewed-by: Brian Masney <masneyb@onstation.org>
Fixes: 88c1e9404f ("soc: qcom: add OCMEM driver")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20210130142349.53335-1-luca@z3ntu.xyz
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:37:27 +01:00
..
actions
amlogic soc: amlogic: canvas: add missing put_device() call in meson_canvas_get() 2020-12-30 11:53:27 +01:00
aspeed
atmel drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[] 2021-02-03 23:28:40 +01:00
bcm
dove
fsl soc: fsl: dpio: Get the cpumask through cpumask_of(cpu) 2020-11-23 19:27:45 -06:00
gemini
imx ARM: imx: fix imx8m dependencies 2021-02-03 23:28:45 +01:00
ixp4xx
kendryte
lantiq
mediatek soc: mediatek: Check if power domains can be powered on at boot time 2020-12-30 11:52:56 +01:00
qcom soc: qcom: ocmem: don't return NULL in of_get_ocmem 2021-03-04 11:37:27 +01:00
renesas soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains() 2020-12-30 11:52:56 +01:00
rockchip soc: rockchip: io-domain: Fix error return code in rockchip_iodomain_probe() 2020-12-30 11:53:34 +01:00
samsung ARM: SoC platform updates 2020-10-24 10:33:08 -07:00
sifive
sunxi
tegra soc/tegra: fuse: Fix index bug in get_process_id 2020-12-26 16:02:38 +01:00
ti soc: ti: pm33xx: Fix some resource leak in the error handling paths of the probe function 2021-03-04 11:37:25 +01:00
ux500
versatile
xilinx
zte
Kconfig
Makefile