]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86_64: Calgary IOMMU - fix off by one error
authorMuli Ben-Yehuda <muli@il.ibm.com>
Sat, 29 Jul 2006 19:42:40 +0000 (21:42 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Jul 2006 03:59:55 +0000 (20:59 -0700)
commit089bbbcb36979166131868a89ca5f4e695d6637d
tree4f9b9f3d966a27e96596ca9a0b441ed85dedb296
parent0e5f61b00c577da698fb00cd9c91a96b79044dfd
[PATCH] x86_64: Calgary IOMMU - fix off by one error

Fixed off-by-one error in detect_calgary and calgary_init which will
cause arrays to overflow.  Also, removed impossible to hit BUG_ON.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/pci-calgary.c