aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-07-23 14:23:12 +0000
committerAlex Deucher <[email protected]>2019-07-31 04:18:53 +0000
commit87abff77880da827b8c9acb37e241999183b406f (patch)
tree2f122433a6cb29f501287d68c3519eafa653db04 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/radeon: Use dev_get_drvdata where possible (diff)
downloadkernel-87abff77880da827b8c9acb37e241999183b406f.tar.gz
kernel-87abff77880da827b8c9acb37e241999183b406f.zip
drm/amd/display: fix a missing null check on a failed kzalloc
Currently the allocation of config may fail and a null pointer dereference on config can occur. Fix this by added a null check on a failed allocation of config. Addresses-Coverity: ("Dereference null return") Fixes: c2cd9d04ecf0 ("drm/amd/display: Hook up calls to do stereo mux and dig programming to stereo control interface") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions