aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-07-04 09:46:15 +0000
committerAlex Deucher <[email protected]>2018-07-05 21:40:02 +0000
commit5d908944c5ba4fc8d301e1332635c64c1b77d843 (patch)
tree1a778aa2cccf6e55c50e7957251129777a894cbd /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amd/pp: Remove the same struct define in powerplay (diff)
downloadkernel-5d908944c5ba4fc8d301e1332635c64c1b77d843.tar.gz
kernel-5d908944c5ba4fc8d301e1332635c64c1b77d843.zip
drm/amd/display: off by one in find_irq_source_info()
The ->info[] array has DAL_IRQ_SOURCES_NUMBER elements so this condition should be >= instead of > or we could read one element beyond the end of the array. Fixes: 4562236b3bc0 ("drm/amd/dc: Add dc display driver (v2)") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions