Commit 782ebd23 authored by Liang He's avatar Liang He Committed by Jialin Zhang
Browse files

powerpc/sysdev/fsl_msi: Add missing of_node_put()

stable inclusion
from stable-v5.10.150
commit 718e2d802388749e35d6213651f19db1818dbf97
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0XA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=718e2d802388749e35d6213651f19db1818dbf97



--------------------------------

[ Upstream commit def435c0 ]

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

Fixes: 895d603f ("powerpc/fsl_msi: add support for the fsl, msi property in PCI nodes")
Co-authored-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Signed-off-by: default avatarLiang He <windhl@126.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220704145233.278539-1-windhl@126.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parent e2f34d14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment