]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: Fix wrong check for ARRAY_SIZE()
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Aug 2012 09:34:08 +0000 (11:34 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 10 Aug 2012 09:34:08 +0000 (11:34 +0200)
commitdc1514ac41c7d9d8d9a512703d09436d8b8bbc50
treedf5a32eb1eab5aa4d4adb40ba744b02ef76aa8f8
parent29b4e0a4e5cc03444b127bcf1d40f6e9e7ce4008
iommu/amd: Fix wrong check for ARRAY_SIZE()

The check in the for-loop is broken. Fix it and the
boot-crash it causes in AMD IOMMUv2 systems.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu_init.c