From: Joerg Roedel Date: Mon, 6 Jun 2011 14:04:02 +0000 (+0200) Subject: x86/amd-iommu: Fix 3 possible endless loops X-Git-Tag: v3.0-rc3~39^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0de66d5b35ee148455e268b2782873204ffdef4b;p=pandora-kernel.git 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 --- Reading git-diff-tree failed