]> bbs.cooldavid.org Git - net-next-2.6.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)
commitcce13ff7596985903ad924504562190a2c163a63
treec60bf375aa1e59727979466ef69804211ac03db9
parent0d18abedfadbf462c107b0b782142558896a8ace
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