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

2013-06-26 Thread YoungJun Cho
On Jun 26, 2013 5:56 PM, "Chris Wilson" wrote: > > On Wed, Jun 26, 2013 at 10:42:39AM +0900, Seung-Woo Kim wrote: > > From: YoungJun Cho > > > > 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

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

2013-06-26 Thread Seung-Woo Kim
From: YoungJun Cho If idr_alloc() is failed, obj->name can be error value. Also it cleans up duplicated flink processing code. Signed-off-by: YoungJun Cho Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/drm_gem.c | 18 +++---

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

2013-06-26 Thread Chris Wilson
On Wed, Jun 26, 2013 at 10:42:39AM +0900, Seung-Woo Kim wrote: > From: YoungJun Cho > > 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()) >

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

2013-06-26 Thread Chris Wilson
On Wed, Jun 26, 2013 at 10:42:39AM +0900, Seung-Woo Kim wrote: From: YoungJun Cho yj44@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

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

2013-06-26 Thread YoungJun Cho
On Jun 26, 2013 5:56 PM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Wed, Jun 26, 2013 at 10:42:39AM +0900, Seung-Woo Kim wrote: From: YoungJun Cho yj44@samsung.com If idr_alloc() is failed, obj-name can be error value. Also it cleans up duplicated flink processing code. You

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

2013-06-25 Thread Seung-Woo Kim
From: YoungJun Cho yj44@samsung.com If idr_alloc() is failed, obj-name can be error value. Also it cleans up duplicated flink processing code. Signed-off-by: YoungJun Cho yj44@samsung.com Signed-off-by: Seung-Woo Kim sw0312@samsung.com Signed-off-by: Kyungmin Park