aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorAnton Ivanov <[email protected]>2019-02-26 15:55:25 +0000
committerRichard Weinberger <[email protected]>2019-03-06 21:39:18 +0000
commitaea05eb56e47046de1e5b508d40931dca969f1e5 (patch)
tree198e7e45ab8ae97a1a6df74279e8c41133a39a29 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentum: Remove duplicated include from vector_user.c (diff)
downloadkernel-aea05eb56e47046de1e5b508d40931dca969f1e5.tar.gz
kernel-aea05eb56e47046de1e5b508d40931dca969f1e5.zip
um: Fix for a possible OOPS in ubd initialization
If the ubd device failed to allocate a queue during initialization it tried call blk_cleanup_queue resulting in an oops. This patch simplifies the cleanup logic and ensures that blk_queue_cleanup is called only if there is a valid queue. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Anton Ivanov <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions