aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorArchit Taneja <[email protected]>2015-09-17 16:30:55 +0530
committerDave Airlie <[email protected]>2015-09-24 08:10:44 +1000
commit728f86607d47f7d2d24d61fd30852faa66ca5aa9 (patch)
tree69ae962bc6493482bdcf5ee9ea206df17e9b00f7 /scripts/gdb/linux/modules.py
parentaec9e12953e777f62acdab069656ebd9bcb6c9ba (diff)
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions