aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-06-01 08:12:58 +0400
committerBjorn Helgaas <[email protected]>2022-06-09 12:23:59 -0500
commitbf038503d5fe90189743124233fe7aeb0984e961 (patch)
treef71aadb82126400a860b35e8d85971c294d5313b /scripts/gdb/linux/tasks.py
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
PCI: mediatek-gen3: Fix refcount leak in mtk_pcie_init_irq_domains()
of_get_child_by_name() returns a node pointer with refcount incremented, so we should use of_node_put() on it when we don't need it anymore. Add missing of_node_put() to avoid refcount leak. Fixes: 814cceebba9b ("PCI: mediatek-gen3: Add INTx support") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miaoqian Lin <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Miles Chen <[email protected]> Acked-by: Jianjun Wang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions