commit | 0de66d5b35ee148455e268b2782873204ffdef4b | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Mon Jun 06 16:04:02 2011 +0200 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Mon Jun 06 16:10:15 2011 +0200 |
tree | 536f0c7ef7d7378e4482903b932502c463e3fc2e | |
parent | 59c5f46fbe01a00eedf54a23789634438bb80603 [diff] |
x86/amd-iommu: Fix 3 possible endless loops The driver contains several loops counting on an u16 value where the exit-condition is checked against variables that can have values up to 0xffff. In this case the loops will never exit. This patch fixed 3 such loops. Cc: stable@kernel.org Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>