drm/i915: Prevent uninitialised reads during error state capture
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jan 2011 12:34:00 +0000 (12:34 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jan 2011 18:28:29 +0000 (18:28 +0000)
commit8e934dbf264418afe4d1dff34ce074ecc14280db
tree6fcbbafc58a1f444b065905a2b3a3e5427cc6c92
parentb705120e4198315f4ae043de06c62f65e0851fd3
drm/i915: Prevent uninitialised reads during error state capture

error_bo and pinned_bo could be used uninitialised if there were no
active buffers.

Caught by kmemcheck.

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