Loading drivers/pci/host/pci-ftpci100.c +3 −3 Original line number Diff line number Diff line Loading @@ -350,12 +350,12 @@ static int faraday_pci_setup_cascaded_irq(struct faraday_pci *p) /* All PCI IRQs cascade off this one */ irq = of_irq_get(intc, 0); if (!irq) { if (irq <= 0) { dev_err(p->dev, "failed to get parent IRQ\n"); return -EINVAL; return irq ?: -EINVAL; } p->irqdomain = irq_domain_add_linear(intc, 4, p->irqdomain = irq_domain_add_linear(intc, PCI_NUM_INTX, &faraday_pci_irqdomain_ops, p); if (!p->irqdomain) { dev_err(p->dev, "failed to create Gemini PCI IRQ domain\n"); Loading Loading
drivers/pci/host/pci-ftpci100.c +3 −3 Original line number Diff line number Diff line Loading @@ -350,12 +350,12 @@ static int faraday_pci_setup_cascaded_irq(struct faraday_pci *p) /* All PCI IRQs cascade off this one */ irq = of_irq_get(intc, 0); if (!irq) { if (irq <= 0) { dev_err(p->dev, "failed to get parent IRQ\n"); return -EINVAL; return irq ?: -EINVAL; } p->irqdomain = irq_domain_add_linear(intc, 4, p->irqdomain = irq_domain_add_linear(intc, PCI_NUM_INTX, &faraday_pci_irqdomain_ops, p); if (!p->irqdomain) { dev_err(p->dev, "failed to create Gemini PCI IRQ domain\n"); Loading