You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: 814ccee ("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]>
0 commit comments