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>
This commit is contained in:
Chris Wright 2009-05-13 15:55:52 -07:00 committed by David Woodhouse
parent c416daa98a
commit dd7264355a

View File

@ -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);