drm/i915: Check for a NULL shared dpll before dereferencing
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 28 May 2014 15:16:42 +0000 (16:16 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Jun 2014 14:57:34 +0000 (16:57 +0200)
commitbe19f0ff482bd5f800d916683784a7e1474d5d6b
tree860ed8cc8aafdeb9ab1eab87e40770cadff04b61
parent4328633d6553558471c260137019c245c2e9d7c6
drm/i915: Check for a NULL shared dpll before dereferencing

This doesn't look possible but a little extra defense against the
improbable is worth it - an oops here could lockup the machine.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c