aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2010-01-22 16:40:20 +0100
committerJoerg Roedel <joerg.roedel@amd.com>2010-01-22 16:48:57 +0100
commitd91afd15b041f27d34859c79afa9e172018a86f4 (patch)
tree649ead5c81f1c9d94a584cb4fbe966f1051047b3 /lib/dma-debug.c
parentLinux 2.6.33-rc5 (diff)
downloadlinux-rng-d91afd15b041f27d34859c79afa9e172018a86f4.tar.xz
linux-rng-d91afd15b041f27d34859c79afa9e172018a86f4.zip
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 <joerg.roedel@amd.com>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions