diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-03-21 12:19:57 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-03-21 14:05:26 -0500 |
commit | 8513027a73c2f2d9a4d4c82e3e805b2f9219767f (patch) | |
tree | 7f847048e09bdaf94e98de40bb4f5709194e211e /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 06b61d4a3ccaba6c502f1ff8646ba3579e5755d3 (diff) |
drm/amd/powerplay: Off by one in vega20_get_smu_msg_index()
The > should be >= so that we don't read one element beyond the end of
the vega20_message_map[] array.
Fixes: 78031c2c4dcd ("drm/amd/powerplay: implement smu vega20_message_map for vega20")
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions