summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorYuho Choi <dbgh9129@gmail.com>2026-06-30 16:29:38 -0400
committerManivannan Sadhasivam <mani@kernel.org>2026-07-15 08:13:46 +0200
commit3260336defeb292a91de29e4d1d93469e3cec663 (patch)
tree97e8ad44d8278b1906e9fee50518ac250ed477e0 /scripts/patch-kernel
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
downloadlinux-3260336defeb292a91de29e4d1d93469e3cec663.tar.gz
linux-3260336defeb292a91de29e4d1d93469e3cec663.zip
PCI: keystone: Fix OF node reference leak in init
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. Fixes: bc10d0ad540d ("PCI: keystone: Add support to build as a loadable module") Signed-off-by: Yuho Choi <dbgh9129@gmail.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://patch.msgid.link/20260630202938.1877632-1-dbgh9129@gmail.com
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions