summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-17 13:24:59 +0000
committerBjorn Helgaas <bhelgaas@google.com>2026-10-14 15:35:45 -0500
commit73d3d81832708137ba6332fc011663feaf97deee (patch)
tree8bbde24cfb5f91ef83d55bd3079b76729c25b114 /tools/perf/scripts/python/syscall-counts.py
parentcee9395acd8043be0644b25c34bfa86623f2b935 (diff)
downloadlwn-73d3d81832708137ba6332fc011663feaf97deee.tar.gz
lwn-73d3d81832708137ba6332fc011663feaf97deee.zip
PCI: xilinx-xdma: Fix device node reference leak in xilinx_pl_dma_pcie_init_irq_domain()
xilinx_pl_dma_pcie_init_irq_domain() takes a reference to the PCIe interrupt-controller child node with of_get_child_by_name(), but the error paths after the two irq_domain_create_linear() calls and after xilinx_pl_dma_pcie_init_msi_irq_domain() return directly without dropping it. irq_domain_create_linear() gets its own reference on the fwnode, so the domains do not consume the caller's one. Add an err_put_node label that drops the reference before returning. Fixes: 8d786149d78c ("PCI: xilinx-xdma: Add Xilinx XDMA Root Port driver") Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20260917132459.2153240-1-vulab@iscas.ac.cn
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions