aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_bios.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-03-06 23:27:52 +0000
committerEric Anholt <eric@anholt.net>2009-03-27 15:12:17 -0700
commit98787c057fdefdce6230ff46f2c1105835005a4c (patch)
tree867347ab1bf0fb289cc6f7a18039d43b6a174e06 /drivers/gpu/drm/i915/intel_bios.h
parentbf5a269a4cc966f783b9faaf3fffd8fa31b53383 (diff)
drm/i915: Check for dev->primary->master before dereference.
I've hit the occasional oops inside i915_wait_ring() with an indication of a NULL derefence of dev->primary->master. Adding a NULL check is consistent with the other potential users of dev->primary->master. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_bios.h')
0 files changed, 0 insertions, 0 deletions