]> git.baikalelectronics.ru Git - kernel.git/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)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Sep 2022 07:30:18 +0000 (17:30 +1000)
commitb827be425a93d87698ddd7c4fd19c23f6ec03cc3
tree09094a4f70edb6a31467dd6ec7e31a776231c597
parent00b2ca0af3842902096bd58a02a43047bae4824e
powerpc/sysdev/fsl_msi: Add missing of_node_put()

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

Fixes: 2399f7b2cc58a ("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
arch/powerpc/sysdev/fsl_msi.c