aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorArchit Taneja <[email protected]>2015-09-17 11:00:55 +0000
committerDave Airlie <[email protected]>2015-09-23 22:10:44 +0000
commit728f86607d47f7d2d24d61fd30852faa66ca5aa9 (patch)
tree69ae962bc6493482bdcf5ee9ea206df17e9b00f7 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/mgag200: Fix error handling paths in fbdev driver (diff)
downloadkernel-728f86607d47f7d2d24d61fd30852faa66ca5aa9.tar.gz
kernel-728f86607d47f7d2d24d61fd30852faa66ca5aa9.zip
drm/mgag200: Fix driver_load error handling
mgag200_driver_load's error path just calls the drm driver's driver_unload op. It isn't safe to call this because it doesn't handle things well if driver_load fails somewhere mid way. Replace the call to mgag200_driver_unload with a more finegrained error handling path. Link: http://lkml.kernel.org/r/[email protected] Reported-by: Ingo Molnar <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Dave Airlie <[email protected]> Cc: David Airlie <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sudip Mukherjee <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: dri-devel <[email protected]> Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions