From: Thierry Reding Date: Wed, 12 Aug 2015 15:00:30 +0000 (+0200) Subject: drm/irq: Check for valid VBLANK before dereference X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~32^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d1de851632d013023cd7c89eb8664f62e5beb2c;p=pandora-kernel.git drm/irq: Check for valid VBLANK before dereference When accessing the array of per-CRTC VBLANK structures we must always check that the index into the array is valid before dereferencing to avoid crashing. Signed-off-by: Thierry Reding [danvet: Squash in my own whitespace ocd fixup in drm_vblank_count.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed