aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <[email protected]>2017-10-17 16:09:08 +0100
committerTvrtko Ursulin <[email protected]>2017-10-18 09:25:39 +0100
commitcb8d50dfb341e9615c8d203a3e6513dae9ff901d (patch)
tree0c1d9aa4c26c37fed29ce5e98030105b2742c2ce /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
parent930a784d02339be437fec07b3bb7213bde0ed53b (diff)
drm/i915: Fixup userptr mmu notifier registration error handling
Avoid dereferencing the error pointer and also avoid returning NULL from i915_mmu_notifier_find since the callers do not expect that. Signed-off-by: Tvrtko Ursulin <[email protected]> Reported-by: Dan Carpenter <[email protected]> Fixes: 7741b547b6e0 ("drm/i915: Preallocate our mmu notifier workequeu to unbreak cpu hotplug deadlock") Cc: Dan Carpenter <[email protected]> Cc: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Cc: Joonas Lahtinen <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions