summaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr2_nvm.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2018-07-04 10:03:27 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-29 09:03:05 +0100
commit8015c658f167e08303d77c167c6a5644a6e07ba9 (patch)
tree55ec375cdc9866a708bd98f32646e13740b0781e /drivers/mtd/lpddr/lpddr2_nvm.c
parentac3d24dee8e618085df66abc5edeb7a5f4c5d864 (diff)
powerpc/icp-hv: Fix missing of_node_put() in success path
[ Upstream commit d3e669f31ec35856f5e85df9224ede5bdbf1bc7b ] 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: 0b05ac6e2480 ("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>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr2_nvm.c')
0 files changed, 0 insertions, 0 deletions