[PATCH] drm: Fix error handling in drm_connector_register

Chris Wilson chris at chris-wilson.co.uk
Wed May 18 08:47:37 UTC 2016


On Fri, May 06, 2016 at 02:55:02PM +0200, Daniel Vetter wrote:
> When debugfs or sysfs registration failed, we failed to clean up the
> idr registration. Reorder to fix this.
> 
> Cc: Dave Airlie <airlied at gmail.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>

Had to check that we could do the idr_replace after exposing
sysfs/debugfs objects and came to the conclusion that those objects do
not depend upon the idr, so
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list