Re: [Intel-gfx] [PATCH 1/6] drm/i915: remove IS_ERR_OR_NULL check

2016-04-08 Thread Chris Wilson
On Fri, Apr 08, 2016 at 10:32:29AM +0100, Matthew Auld wrote: > A call to i915_gem_alloc_object can only ever return NULL in the event > of an error. We are planning to report the real error back. -Chris -- Chris Wilson, Intel Open Source Technology Centre ___

[Intel-gfx] [PATCH 1/6] drm/i915: remove IS_ERR_OR_NULL check

2016-04-08 Thread Matthew Auld
A call to i915_gem_alloc_object can only ever return NULL in the event of an error. Cc: Joonas Lahtinen Signed-off-by: Matthew Auld --- drivers/gpu/drm/i915/i915_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915