diff options
author | 2019-09-18 22:00:31 +0530 | |
---|---|---|
committer | 2019-10-03 09:11:00 -0500 | |
commit | 81de29d842ccb776c0f77aa3e2b11b07fff0c0e2 (patch) | |
tree | 06f5b3914d84cafeb507bd75fd3923dd8a8cbf39 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | drm/amdgpu/ras: fix and update the documentation for RAS (diff) | |
download | linux-dev-81de29d842ccb776c0f77aa3e2b11b07fff0c0e2.tar.xz linux-dev-81de29d842ccb776c0f77aa3e2b11b07fff0c0e2.zip |
drm/amdkfd: fix a potential NULL pointer dereference (v2)
alloc_workqueue is not checked for errors and as a result,
a potential NULL dereference could occur.
v2 (Felix Kuehling):
* Fix compile error (kfifo_free instead of fifo_free)
* Return proper error code
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions