drm/i915: Don't overwrite the returned error-code
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 14:05:24 +0000 (15:05 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 14:05:24 +0000 (15:05 +0100)
commit9e0ae53404700f1e4ae1f33b0ff92948ae0e509d
tree5ea1ff3b885ea0fcda2cf9336444e8a5e9d2e16f
parent4fd21dc8ee6fde52a99042186ff94de1b5e8b43c
drm/i915: Don't overwrite the returned error-code

During i915_gem_create_mmap_offset() if the subsystem reports an error
code, use it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c