summaryrefslogtreecommitdiff
path: root/drivers/gpu/vga
diff options
context:
space:
mode:
authorArchit Taneja <architt@codeaurora.org>2015-09-17 14:00:55 +0300
committerDave Airlie <airlied@redhat.com>2015-09-24 01:10:44 +0300
commit728f86607d47f7d2d24d61fd30852faa66ca5aa9 (patch)
tree69ae962bc6493482bdcf5ee9ea206df17e9b00f7 /drivers/gpu/vga
parentaec9e12953e777f62acdab069656ebd9bcb6c9ba (diff)
downloadlinux-728f86607d47f7d2d24d61fd30852faa66ca5aa9.tar.xz
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/55F6E68D.8070800@codeaurora.org Reported-by: Ingo Molnar <mingo@kernel.org> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Dave Airlie <airlied@gmail.com> Cc: David Airlie <airlied@linux.ie> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: dri-devel <dri-devel@lists.freedesktop.org> Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/vga')
0 files changed, 0 insertions, 0 deletions