Files
linux/drivers/gpu/drm/mgag200
Archit Taneja 728f86607d 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]>
2015-09-24 08:10:44 +10:00
..
2013-06-17 19:42:48 +10:00