Skip to content
Commit 1d9452ae authored by Liang He's avatar Liang He Committed by Greg Kroah-Hartman
Browse files

ARM: OMAP2+: omap4-common: Fix refcount leak bug



[ Upstream commit 7c32919a ]

In omap4_sram_init(), of_find_compatible_node() will return a node
pointer with refcount incremented. We should use of_node_put() when
it is not used anymore.

Signed-off-by: default avatarLiang He <windhl@126.com>
Message-Id: <20220628112939.160737-1-windhl@126.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4a46f52a
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