aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-06-14 10:58:53 +0000
committerOded Gabbay <[email protected]>2017-06-14 10:58:53 +0000
commitb312b2b25b6ac9e2eb03f4ca651b33108752de3a (patch)
tree6549aa9e2ff136e9b6dfe4c5d5675c725cc673c6 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentMerge tag 'drm-misc-next-2017-06-19_0' of git://anongit.freedesktop.org/git/d... (diff)
downloadkernel-b312b2b25b6ac9e2eb03f4ca651b33108752de3a.tar.gz
kernel-b312b2b25b6ac9e2eb03f4ca651b33108752de3a.zip
drm/amdkfd: NULL dereference involving create_process()
We accidentally return ERR_PTR(0) which is NULL. The caller is not expecting that and it leads to an Oops. Fixes: dd59239a9862 ("amdkfd: init aperture once per process") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions