]> git.baikalelectronics.ru Git - kernel.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)
commit8a3670e8529dae87664020cc24e1304ba17f5f52
treef54fb1fe147861db876b99809ff1cd1a316c45c0
parent91b99204770ce94d9c0bd0e98fc862ff4e2636a6
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