[PATCH] drm: Propagate error code from fb_create()

2010-08-08 Thread Chris Wilson
Change the interface to expect a PTR_ERR specifing the real error code as opposed to assuming a NULL return => -EINVAL. Just once the user may not be at fault! Signed-off-by: Chris Wilson --- drivers/gpu/drm/drm_crtc.c|4 ++-- drivers/gpu/drm/i915/intel_display.c |6

[PATCH] drm: Propagate error code from fb_create()

2010-08-08 Thread Chris Wilson
Change the interface to expect a PTR_ERR specifing the real error code as opposed to assuming a NULL return => -EINVAL. Just once the user may not be at fault! Signed-off-by: Chris Wilson --- drivers/gpu/drm/drm_crtc.c|4 ++-- drivers/gpu/drm/i915/intel_display.c |6