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)
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>

No differences found