commit | 7d1de851632d013023cd7c89eb8664f62e5beb2c | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Aug 12 17:00:30 2015 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Aug 12 17:39:47 2015 +0200 |
tree | d162a424ad975352f7005bd33b084ad7acae19fa | |
parent | 2a7d3d6d5ddbd202c09f228829cd03609a8efb23 [diff] |
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 <treding@nvidia.com> [danvet: Squash in my own whitespace ocd fixup in drm_vblank_count.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>