[PATCH] gpu:drm:radeon:fix array out fo bouds

2016-05-16 Thread Alex Deucher
On Mon, May 16, 2016 at 12:58 AM, Heloise NH wrote: > From: tom will > > When the initial value of i is greater than zero, > it may cause endless loop, resulting in array out > of bouds, fix it. > > Signed-off-by: tom will Applied to both radeon and amgpu. Thanks! Alex > --- > drivers/gpu/d

[PATCH] gpu:drm:radeon:fix array out fo bouds

2016-05-15 Thread Heloise NH
From: tom will When the initial value of i is greater than zero, it may cause endless loop, resulting in array out of bouds, fix it. Signed-off-by: tom will --- drivers/gpu/drm/radeon/kv_dpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/kv_dpm.c b