summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorYuho Choi <dbgh9129@gmail.com>2026-06-30 15:52:34 -0400
committerManivannan Sadhasivam <mani@kernel.org>2026-07-15 08:11:33 +0200
commit4869db344e76c9adfb1d9654df442db5371fac71 (patch)
tree1a3cdf3aa6e5e17a3f2686988b801f6937cacf32 /scripts/patch-kernel
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
downloadlinux-4869db344e76c9adfb1d9654df442db5371fac71.tar.gz
linux-4869db344e76c9adfb1d9654df442db5371fac71.zip
PCI: xgene: Drop unnecessary OF node reference
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. Fixes: 5f6b6ccdbe1c ("PCI: xgene: Add APM X-Gene PCIe driver") Signed-off-by: Yuho Choi <dbgh9129@gmail.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://patch.msgid.link/20260630195234.1871951-1-dbgh9129@gmail.com
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions