drm/i915: Fix use-before-null-check in i915_irq_emit().
authorEric Anholt <eric@anholt.net>
Wed, 25 Feb 2009 06:14:12 +0000 (22:14 -0800)
committerDave Airlie <airlied@linux.ie>
Mon, 2 Mar 2009 23:53:05 +0000 (09:53 +1000)
commit299eb93c5f651b2bc368ada67d8471e4c575fa21
tree342c43be5b83b399a80b9a1f2e9b4ff1f0cd6eca
parentfda714c29cdf360464059044b221450decb4b913
drm/i915: Fix use-before-null-check in i915_irq_emit().

This could be triggered by a client asking to emit an irq when the device
wasn't initialized.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/i915/i915_irq.c