commit: ab3951eb74e7c33a2f5b7b64d72e82f1eea61571 From: Eugeni Dodonov <[email protected]> Date: Mon, 18 Jun 2012 19:03:38 -0300 Subject: drm/i915: prevent possible pin leak on error path
We should not hit this under any sane conditions, but still, this does not looks right. CC: Chris Wilson <[email protected]> CC: Daniel Vetter <[email protected]> CC: [email protected] Reported-by: Herton Ronaldo Krzesinski <[email protected]> Reviewed-by: Chris Wlison <[email protected]> Signed-off-by: Eugeni Dodonov <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 17020cd..2e1f28f 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -6317,7 +6317,7 @@ static int intel_gen7_queue_flip(struct drm_device *dev, default: WARN_ONCE(1, "unknown plane in flip command\n"); ret = -ENODEV; - goto err; + goto err_unpin; } ret = intel_ring_begin(ring, 4); -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
