diff options
| author | Dan Carpenter <[email protected]> | 2019-08-26 13:20:12 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-08-27 13:16:08 +0000 |
| commit | 5556b9fed171bbfb53b08b56aef65201fcc4b4b1 (patch) | |
| tree | 57265b319553cd40b7b5fb4e248e475ae89c2a0f /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
| parent | drm/amd/display: Fix error message (diff) | |
| download | kernel-5556b9fed171bbfb53b08b56aef65201fcc4b4b1.tar.gz kernel-5556b9fed171bbfb53b08b56aef65201fcc4b4b1.zip | |
drm/amd/powerplay: Fix an off by one in navi10_get_smu_msg_index()
The navi10_message_map[] array has SMU_MSG_MAX_COUNT elements so the ">"
has to be changed to ">=" to prevent reading one element beyond the end
of the array.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
0 files changed, 0 insertions, 0 deletions
