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

From: Lorenzo Pieralisi
Date: Fri Apr 08 2022 - 10:30:59 EST


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