Files
linux/arch/powerpc/sysdev
Nicholas Mc Guire fb752fe9de powerpc/icp-hv: Fix missing of_node_put() in success path
[ Upstream commit d3e669f31e ]

Both of_find_compatible_node() and of_find_node_by_type() will return
a refcounted node on success - thus for the success path the node must
be explicitly released with a of_node_put().

Fixes: 0b05ac6e24 ("powerpc/xics: Rewrite XICS driver")
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1530691407-3991-1-git-send-email-hofrat@osadl.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:05:37 +01:00
..
2016-09-20 20:57:12 +10:00
2017-12-14 09:28:21 +01:00
2016-08-07 23:50:09 -04:00
2016-09-20 20:57:12 +10:00
2016-09-20 20:57:12 +10:00
2016-09-20 20:57:12 +10:00
2016-09-20 20:57:12 +10:00
2016-03-04 23:50:27 -06:00
2016-03-04 23:50:27 -06:00
2013-10-09 20:04:11 -05:00
2016-09-20 20:57:12 +10:00
2013-11-06 14:13:50 +11:00
2014-09-25 23:14:46 +10:00