]> git.itanic.dy.fi Git - linux-stable/commit
powerpc/sysdev/fsl_msi: Add missing of_node_put()
authorLiang He <windhl@126.com>
Mon, 4 Jul 2022 14:52:33 +0000 (22:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 11:19:34 +0000 (13:19 +0200)
commitc3ee7dbdcf515673f58c9cae030b60a6c7e16a76
tree27dd44c9042e11f4da7af2f18e65ee47e530cc64
parent3b081557ac47187ba8ff48ee98cbcf683c443ffd
powerpc/sysdev/fsl_msi: Add missing of_node_put()

[ Upstream commit def435c04ee984a5f9ed2711b2bfe946936c6a21 ]

In fsl_setup_msi_irqs(), use of_node_put() to drop the reference
returned by of_parse_phandle().

Fixes: 895d603f945ba ("powerpc/fsl_msi: add support for the fsl, msi property in PCI nodes")
Co-authored-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220704145233.278539-1-windhl@126.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/sysdev/fsl_msi.c