Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fb7b73cd authored by Bixuan Cui's avatar Bixuan Cui Committed by Greg Kroah-Hartman
Browse files

powerpc/44x/fsp2: add missing of_node_put



[ Upstream commit 290fe8aa69ef5c51c778c0bb33f8ef0181c769f5 ]

Early exits from for_each_compatible_node() should decrement the
node reference counter.  Reported by Coccinelle:

./arch/powerpc/platforms/44x/fsp2.c:206:1-25: WARNING: Function
"for_each_compatible_node" should have of_node_put() before return
around line 218.

Fixes: 7813043e ("powerpc/44x/fsp2: Add irq error handlers")
Signed-off-by: default avatarBixuan Cui <cuibixuan@linux.alibaba.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1635406102-88719-1-git-send-email-cuibixuan@linux.alibaba.com


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