commit | 5fd9c581862a4874c0bdaf16231d8873832bbb99 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Sep 28 12:35:31 2013 +0300 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Oct 09 17:13:48 2013 -0400 |
tree | 41a83e11f3a26c9cb6838604b6a2eb2766f575ce | |
parent | 96d8df846f52a720c8ae1fadadfad7c9e733e336 [diff] |
drm/radeon/dpm: off by one in si_set_mc_special_registers() These checks should be ">=" instead of ">". j is used as an offset into the table->mc_reg_address[] array and that has SMC_SISLANDS_MC_REGISTER_ARRAY_SIZE (16) elements. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org