Re: [Intel-gfx] [PATCH] drm/i915: Tidy slab cache allocations

2016-11-02 Thread Joonas Lahtinen
On ke, 2016-11-02 at 14:07 +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > We can use the preferred KMEM_CACHE helper for brevity. > > Also simplifiy error unwind by only setting the ENOMEM > error code once. You did not do this part in this patch. > > Signed-off-by: Tvrtko Ursulin

[Intel-gfx] [PATCH] drm/i915: Tidy slab cache allocations

2016-11-02 Thread Tvrtko Ursulin
From: Tvrtko Ursulin We can use the preferred KMEM_CACHE helper for brevity. Also simplifiy error unwind by only setting the ENOMEM error code once. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/i915_gem.c | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-)