Re: [PATCH v1] PCI: keystone: Fix OF node reference leak in init
From: Manivannan Sadhasivam
Date: Wed Jul 15 2026 - 02:16:01 EST
On Tue, 30 Jun 2026 16:29:38 -0400, Yuho Choi wrote:
> of_find_matching_node() returns a device node with its reference count
> incremented. ks_pcie_init() only uses the returned node to decide whether
> to register the ARM external abort fault handler, but never drops the
> reference.
>
> Store the lookup result in a temporary variable and release it with
> of_node_put() once the existence check has been made.
>
> [...]
Applied, thanks!
[1/1] PCI: keystone: Fix OF node reference leak in init
commit: 3260336defeb292a91de29e4d1d93469e3cec663
Best regards,
--
மணிவண்ணன் சதாசிவம்