aboutsummaryrefslogtreecommitdiff
path: root/ipc/util.c
diff options
context:
space:
mode:
authorHersen Wu <hersenxs.wu@amd.com>2024-04-23 19:14:16 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-05-02 16:18:16 -0400
commit6e41709eb1d9207d88e46026baf9cc850206b374 (patch)
tree4b72743fd593c04091b1a48aa2483d242eb1c727 /ipc/util.c
parent2a5626eeb3b5eec7a36886f9556113dd93ec8ed6 (diff)
drm/amd/display: Add NULL pointer and OVERRUN check within amdgpu_dm irq register
[WHY] Coverity reports OVERRUN issues within amdgpu_dm interrupt registers. Do not check index value before access array. Do not check NULL pointer. [HOW] Add index value check for array. Add check for pointer from amdgpu_dm_irq_register_interrupt. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Hersen Wu <hersenxs.wu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions