Re: [PATCH] PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup

Lorenzo Pieralisi
2022-04-08T14:30:59Z

On Wed, 9 Mar 2022 09:19:52 +0000, Miaoqian Lin wrote:
> The of_find_compatible_node() function returns a node pointer with
> refcount incremented, We should use of_node_put() on it when done
> Add the missing of_node_put() to release the refcount.
>
>

Applied to pci/mediatek, thanks!

[1/1] PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup
https://git.kernel.org/lpieralisi/pci/c/214e0d8fe4

Thanks,
Lorenzo