aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChris Wright <chrisw@sous-sol.org>2009-05-13 18:55:52 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-05-14 11:07:37 -0400
commitdd7264355a203c3456dbba04db471947d3b55e7e (patch)
tree391c6b86f71c78053f7a01c163e27f988ffdefbd /drivers
parentc416daa98a584596df21ee2c26fac6579ee58f57 (diff)
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')
-rw-r--r--drivers/pci/dmar.c2
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)
1088 set_irq_data(irq, NULL); 1088 set_irq_data(irq, NULL);
1089 iommu->irq = 0; 1089 iommu->irq = 0;
1090 destroy_irq(irq); 1090 destroy_irq(irq);
1091 return 0; 1091 return ret;
1092 } 1092 }
1093 1093
1094 ret = request_irq(irq, dmar_fault, 0, iommu->name, iommu); 1094 ret = request_irq(irq, dmar_fault, 0, iommu->name, iommu);