Re: [PATCH v1] PCI: xgene: Drop unnecessary OF node reference

From: Manivannan Sadhasivam

Date: Wed Jul 15 2026 - 02:13:11 EST



On Tue, 30 Jun 2026 15:52:34 -0400, Yuho Choi wrote:
> xgene_pcie_probe() stores dev->of_node in port->node with
> of_node_get(), but the cached node is only used during probe by
> xgene_pcie_parse_map_dma_ranges(). The driver never releases the extra
> reference, so the node reference is leaked.
>
> There is no need for private OF node ownership here. Use the device's
> existing of_node directly in xgene_pcie_parse_map_dma_ranges() and remove
> the cached port->node pointer.
>
> [...]

Applied, thanks!

[1/1] PCI: xgene: Drop unnecessary OF node reference
commit: 4869db344e76c9adfb1d9654df442db5371fac71

Best regards,
--
மணிவண்ணன் சதாசிவம்