Explorar o código

intr_remapping: fix typo

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar %!s(int64=16) %!d(string=hai) anos
pai
achega
cc8e920aaf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/pci/intr_remapping.c

+ 1 - 1
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)
 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)
 static struct irq_2_iommu *irq_2_iommu_alloc(unsigned int irq)