drm/radeon: fix array out of bounds

When the initial value of i is greater than zero,
it may cause endless loop, resulting in array out
of bounds, fix it.

Signed-off-by: tom will <os@iscas.ac.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
tom will 2016-05-15 21:58:11 -07:00 • committed by Alex Deucher
commit a8efd58815