]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Propagate error code from fb_create()
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 8 Aug 2010 12:36:38 +0000 (13:36 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Aug 2010 00:46:51 +0000 (10:46 +1000)
commite93dd5042268f9796fe4ad77b7fdc3cd9904383a
treec60bf375aa1e59727979466ef69804211ac03db9
parent497a94ce3cce1d53fe03614320da47a88bdf5f35
drm: Propagate error code from fb_create()

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 <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_fb.c
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c