From: Joerg Roedel Date: Fri, 22 Jan 2010 15:40:20 +0000 (+0100) Subject: x86/amd-iommu: Fix possible integer overflow X-Git-Tag: v2.6.33-rc7~53^2~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d91afd15b041f27d34859c79afa9e172018a86f4;p=pandora-kernel.git x86/amd-iommu: Fix possible integer overflow The variable i in this function could be increased to over 2**32 which would result in an integer overflow when using int. Fix it by changing i to unsigned long. Cc: stable@kernel.org Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed