[PATCH] drm/gem: fix not to assign error value to gem name

YoungJun Cho yj44.cho at samsung.com
Wed Jun 26 02:07:32 PDT 2013


On Jun 26, 2013 5:56 PM, "Chris Wilson" <chris at chris-wilson.co.uk> wrote:
>
> On Wed, Jun 26, 2013 at 10:42:39AM +0900, Seung-Woo Kim wrote:
> > From: YoungJun Cho <yj44.cho at samsung.com>
> >
> > If idr_alloc() is failed, obj->name can be error value. Also
> > it cleans up duplicated flink processing code.
>
> You should mention that it is a regression from
> commit 2e928815c (drm: convert to idr_alloc())
>
> > Signed-off-by: YoungJun Cho <yj44.cho at samsung.com>
> > Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>
> > Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
>

Thank you for comments!
I'll update commit msg.

Best regards YJ
_______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130626/0185acb7/attachment.html>


More information about the dri-devel mailing list