aboutsummaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorLuca Weiss <[email protected]>2021-01-30 15:23:49 +0100
committerBjorn Andersson <[email protected]>2021-02-02 15:39:13 -0600
commit01f937ffc4686837d6c43dea80c6ade6cbd2940a (patch)
treec061c89ffb783579811cff10deef9b5e9c2955d0 /net/unix/unix_bpf.c
parentaec8535edccb943adc067d184af1a3370f5b9568 (diff)
soc: qcom: ocmem: don't return NULL in of_get_ocmem
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 <[email protected]> Fixes: 88c1e9404f1d ("soc: qcom: add OCMEM driver") Signed-off-by: Luca Weiss <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions