diff options
author | Allen Pais <allen.pais@oracle.com> | 2019-09-18 22:00:31 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-31 16:34:53 +0100 |
commit | 55248674330101fb3ccf7cec8b729e8e067e5f71 (patch) | |
tree | b39ebc6854b881964f692c2ee875b09beb41d559 /tools/testing | |
parent | f88ac1330779c5bfdd79f7d7f7d4d3343c782f92 (diff) | |
download | linux-stable-55248674330101fb3ccf7cec8b729e8e067e5f71.tar.gz linux-stable-55248674330101fb3ccf7cec8b729e8e067e5f71.tar.bz2 linux-stable-55248674330101fb3ccf7cec8b729e8e067e5f71.zip |
drm/amdkfd: fix a potential NULL pointer dereference (v2)
[ Upstream commit 81de29d842ccb776c0f77aa3e2b11b07fff0c0e2 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions