]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 3 Jun 2014 14:35:57 +0000 (16:35 +0200)
commit3595a9d59f0a8c729fce83ecab4bf0339a65977c
treedfac0d349d30b801eb0854d115c579ceab7dd515
parentb902e2d3c516b814ceef29f0ed5887f3c1172a67
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