commit | da7800a88c5a3b798f763d6f9f343e9a49860c4f | [log] [tgz] |
---|---|---|
author | Rex Zhu <Rex.Zhu@amd.com> | Mon Nov 14 16:36:08 2016 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Nov 16 14:26:17 2016 -0500 |
tree | de398d00481f3a7cfe880359dc774e9c74889e46 | |
parent | 1da2c326e43b0834105993d13610647337bbad67 [diff] |
drm/amd/powerplay: avoid out of bounds access on array ps. check array index first and then visit the array. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>