On Tue, 27 May 2014, Dave Airlie <airlied@xxxxxxxxx> wrote: >> Reference: http://lkml.kernel.org/r/645ee6e22cad47d38a2b35c21c8d5fe3@xxxxxxxxxxxxxxxxxxxxxxxx >> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> > > >> @@ -834,9 +824,17 @@ int drm_connector_init(struct drm_device *dev, >> ida_simple_get(connector_ida, 1, 0, GFP_KERNEL); >> if (connector->connector_type_id < 0) { >> ret = connector->connector_type_id; >> - drm_mode_object_put(dev, &connector->base); >> - goto out; >> + goto out_out; > > ^^ one of these things is not like the other, > > >> } >> + connector->name = >> + kasprintf(GFP_KERNEL, "%s-%d", >> + drm_connector_enum_list[connector_type].name, >> + connector->connector_type_id); >> + if (!connector->name) { >> + ret = -ENOMEM; >> + goto out_put; > > ^^, > > I've merged this fixed into my tree, I'm sure Daniel won't mind :) Thanks. I'll hide behind the "RFC PATCH" subject. ;) BR, Jani. -- Jani Nikula, Intel Open Source Technology Center _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel