diff options
author | Edward O'Callaghan <funfunctor@folklore1984.net> | 2016-09-17 15:01:43 +1000 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2016-09-19 20:58:35 +0300 |
commit | 1d602430d335c88d4b5a4def4464e9d3a59cdcca (patch) | |
tree | 945e75418efe8b76971925cc69145dd3770a8b0c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | ad16a469ffa1f1bbf8f31e110b4d68cee39757d2 (diff) |
drm/amdkfd: Fix possible infinite loop
When the loop predicating timeout parameter passed happens to
not be a multiple of 20 the unsigned integer will overflow and
the loop will become unbounded.
Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions