commit | 81de29d842ccb776c0f77aa3e2b11b07fff0c0e2 | [log] [tgz] |
---|---|---|
author | Allen Pais <allen.pais@oracle.com> | Wed Sep 18 22:00:31 2019 +0530 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Oct 03 09:11:00 2019 -0500 |
tree | 06f5b3914d84cafeb507bd75fd3923dd8a8cbf39 | |
parent | f77c7109c071edc148dc6c71dcf927059516235f [diff] |
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>