diff options
author | Chris Wright <chrisw@sous-sol.org> | 2009-05-14 02:55:52 +0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-05-14 19:07:37 +0400 |
commit | dd7264355a203c3456dbba04db471947d3b55e7e (patch) | |
tree | 391c6b86f71c78053f7a01c163e27f988ffdefbd /drivers/pci/dmar.c | |
parent | c416daa98a584596df21ee2c26fac6579ee58f57 (diff) | |
download | linux-dd7264355a203c3456dbba04db471947d3b55e7e.tar.xz |
intel-iommu: dmar_set_interrupt return error value
dmar_set_interrupt feigns success when arch_setup_dmar_msi
fails, return error value.
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/pci/dmar.c')
-rw-r--r-- | drivers/pci/dmar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c index faf77a00cafe..f23460a5d106 100644 --- a/drivers/pci/dmar.c +++ b/drivers/pci/dmar.c @@ -1088,7 +1088,7 @@ int dmar_set_interrupt(struct intel_iommu *iommu) set_irq_data(irq, NULL); iommu->irq = 0; destroy_irq(irq); - return 0; + return ret; } ret = request_irq(irq, dmar_fault, 0, iommu->name, iommu); |