Merge branch 'remotes/lorenzo/pci/xilinx'
- Fix reference count leak on error path (Pan Bian) * remotes/lorenzo/pci/xilinx: PCI: xilinx-cpm: Fix reference count leak on error path
This commit is contained in:
commit
88d2ec1c0d
|
@ -404,6 +404,7 @@ static int xilinx_cpm_pcie_init_irq_domain(struct xilinx_cpm_pcie_port *port)
|
|||
return 0;
|
||||
out:
|
||||
xilinx_cpm_free_irq_domains(port);
|
||||
of_node_put(pcie_intc_node);
|
||||
dev_err(dev, "Failed to allocate IRQ domains\n");
|
||||
|
||||
return -ENOMEM;
|
||||
|
|
Loading…
Reference in New Issue