[PATCH] PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup
Lorenzo Pieralisi
lorenzo.pieralisi at arm.com
Fri Apr 8 07:30:48 PDT 2022
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
More information about the Linux-mediatek
mailing list