mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 20:59:10 +07:00
84f9aaa731
[ 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:
|
||
---|---|---|
.. | ||
apr.c | ||
cmd-db.c | ||
cpr.c | ||
Kconfig | ||
kryo-l2-accessors.c | ||
llcc-qcom.c | ||
Makefile | ||
mdt_loader.c | ||
ocmem.c | ||
pdr_interface.c | ||
pdr_internal.h | ||
qcom_aoss.c | ||
qcom_gsbi.c | ||
qcom-geni-se.c | ||
qmi_encdec.c | ||
qmi_interface.c | ||
rmtfs_mem.c | ||
rpmh-internal.h | ||
rpmh-rsc.c | ||
rpmh.c | ||
rpmhpd.c | ||
rpmpd.c | ||
smd-rpm.c | ||
smem_state.c | ||
smem.c | ||
smp2p.c | ||
smsm.c | ||
socinfo.c | ||
trace-rpmh.h | ||
wcnss_ctrl.c |