aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/intr_remapping.c2
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];
23 23
24static struct irq_2_iommu *irq_2_iommu(unsigned int irq) 24static struct irq_2_iommu *irq_2_iommu(unsigned int irq)
25{ 25{
26 return (irq < nr_irqs) ?: irq_2_iommuX + irq : NULL; 26 return (irq < nr_irqs) ? irq_2_iommuX + irq : NULL;
27} 27}
28 28
29static struct irq_2_iommu *irq_2_iommu_alloc(unsigned int irq) 29static struct irq_2_iommu *irq_2_iommu_alloc(unsigned int irq)