diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-10-16 17:05:27 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 17:05:27 +0200 |
commit | cc8e920aaf5558f87851169b33c420cc4516c253 (patch) | |
tree | 9b43296b49e9b42071c53d9a696c536cc6bc3407 /drivers/pci/intr_remapping.c | |
parent | io_apic: make irq_mis_count available on 64-bit too (diff) | |
download | linux-cc8e920aaf5558f87851169b33c420cc4516c253.tar.xz linux-cc8e920aaf5558f87851169b33c420cc4516c253.zip |
intr_remapping: fix typo
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/pci/intr_remapping.c')
-rw-r--r-- | drivers/pci/intr_remapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/intr_remapping.c b/drivers/pci/intr_remapping.c index 950769e87475..d6040dd3ff5b 100644 --- a/drivers/pci/intr_remapping.c +++ b/drivers/pci/intr_remapping.c @@ -23,7 +23,7 @@ static struct irq_2_iommu irq_2_iommuX[NR_IRQS]; static struct irq_2_iommu *irq_2_iommu(unsigned int irq) { - return (irq < nr_irqs) ?: irq_2_iommuX + irq : NULL; + return (irq < nr_irqs) ? irq_2_iommuX + irq : NULL; } static struct irq_2_iommu *irq_2_iommu_alloc(unsigned int irq) |