diff options
author | 2009-08-19 15:26:11 -0600 | |
---|---|---|
committer | 2009-08-30 19:05:04 +0100 | |
commit | 8211a7b5857914058c52ae977c96463e419b37ab (patch) | |
tree | 3a3d61d43dd08892d0d1bb1ffa8dc635f634b31e /lib/spinlock_debug.c | |
parent | intel-iommu: Cope with yet another BIOS screwup causing crashes (diff) | |
download | linux-rng-8211a7b5857914058c52ae977c96463e419b37ab.tar.xz linux-rng-8211a7b5857914058c52ae977c96463e419b37ab.zip |
pci/dmar: correct off-by-one error in dmar_fault()
DMAR faults are recorded into a ring of "fault recording registers".
fault_index is a 0-based index into the ring. The code allows the
0-based fault_index to be equal to the total number of fault registers
available from the cap_num_fault_regs() macro, which causes access
beyond the last available register.
Signed-off-by Troy Heber <troy.heber@hp.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions