aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
diff options
context:
space:
mode:
authorKangjie Lu <[email protected]>2019-03-09 04:36:27 +0000
committerDaniel Vetter <[email protected]>2019-03-25 08:33:42 +0000
commit208c6e8cff1b96eca401adbd544ac00133df9e90 (patch)
treedbf483bcd997ba7a356fb521d70fd867a0ffc616 /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
parentdrm/doc: fix missing verb (diff)
downloadkernel-208c6e8cff1b96eca401adbd544ac00133df9e90.tar.gz
kernel-208c6e8cff1b96eca401adbd544ac00133df9e90.zip
drm: vkms: check status of alloc_ordered_workqueue
alloc_ordered_workqueue may fail and return NULL. The fix returns ENOMEM when it fails to avoid potential NULL pointer dereference. Signed-off-by: Kangjie Lu <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
0 files changed, 0 insertions, 0 deletions