]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
intel-iommu: fault_reason index cleanup
authormark gross <mgross@linux.intel.com>
Fri, 8 Feb 2008 12:18:39 +0000 (04:18 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:24 +0000 (09:22 -0800)
commitd94afc6ccf6690b30ae112ec8101b3f10d50114e
treef54fb1fe147861db876b99809ff1cd1a316c45c0
parentf8bab73515ca5b392680bb033dceeb37b8463e95
intel-iommu: fault_reason index cleanup

Fix an off by one bug in the fault reason string reporting function, and
clean up some of the code around this buglet.

[akpm@linux-foundation.org: cleanup]
Signed-off-by: mark gross <mgross@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pci/intel-iommu.c
include/linux/dmar.h