diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-05-13 17:09:38 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-14 12:37:47 (GMT) |
commit | fefe1ed1398b81e3fadc92d11d91162d343c8836 (patch) | |
tree | 4d3a4bb29e7afc03ab7f1669727bb1e082ce8226 /lib/kstrtox.c | |
parent | c558df4a01a9ec7b02303aba808d1e5044822add (diff) | |
download | linux-fsl-qoriq-fefe1ed1398b81e3fadc92d11d91162d343c8836.tar.xz |
iommu: Fix off by one in dmar_get_fault_reason()
fault_reason - 0x20 == ARRAY_SIZE(irq_remap_fault_reasons) is
one past the end of the array.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Joerg Roedel <joerg.roedel@amd.com>
Cc: Youquan Song <youquan.song@intel.com>
Cc: walter harms <wharms@bfs.de>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: <stable@kernel.org>
Link: http://lkml.kernel.org/r/20120513170938.GA4280@elgon.mountain
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/kstrtox.c')
0 files changed, 0 insertions, 0 deletions