drm/amd/powerplay: fix potential issue of array access violation
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 14 Sep 2016 11:24:25 +0000 (19:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2016 17:22:08 +0000 (13:22 -0400)
commitc07aefc268acf53c551dbd50d4fc08a82bee899f
treef4d3faccf90230fa7cdc2ab753676e27ee4b98f7
parent9716ebc38dfabe6c8e5e3c809e9f3c61dd3740f9
drm/amd/powerplay: fix potential issue of array access violation

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c