drm/i915: clarify error paths in create_stolen_for_preallocated
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 Aug 2013 08:01:32 +0000 (10:01 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 22 Aug 2013 11:31:43 +0000 (13:31 +0200)
commit4a025e26a2979193739f46e391ffc05cf0637d90
treec7026a5e7566572632f548ec669eb4b7ba6323b0
parent4e5aabfd3106cfd68694db416e271996aadf114a
drm/i915: clarify error paths in create_stolen_for_preallocated

Use the standard inversely ordered goto label stack for everything.
Spotted while reviewing place where we might need to to call
vma_destroy but failed to do so.

Cc: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_stolen.c