diff options
author | Thierry Reding <treding@nvidia.com> | 2015-08-12 17:00:30 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-08-12 17:39:47 +0200 |
commit | 7d1de851632d013023cd7c89eb8664f62e5beb2c (patch) | |
tree | d162a424ad975352f7005bd33b084ad7acae19fa /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions