aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-04-03 18:41:39 +0000
committerAlex Deucher <[email protected]>2017-04-04 18:42:21 +0000
commit486a68f5449521edf5ea8a198481fc021da4a3e0 (patch)
tree2be73569bcfa46e2ecae4c7761fc4bfe2960deeb /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amd/powerplay: fix a couple locking issues (diff)
downloadkernel-486a68f5449521edf5ea8a198481fc021da4a3e0.tar.gz
kernel-486a68f5449521edf5ea8a198481fc021da4a3e0.zip
drm/amdgpu: Fix a NULL deref in amdgpu_vm_add_prt_cb()
We accidentally dereference "cb" if the kmalloc() fails. Fixes: 451bc8eb8fe6 ("drm/amdgpu: fix PRT teardown on VM fini v3") Reviewed-by: Christian König <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions