linux/arch/arm/mach-omap2
Miaoqian Lin debae99ad1 ARM: OMAP2+: Fix refcount leak in omap_gic_of_init
[ Upstream commit 0f83e6b4161617014017a694888dd8743f46f071 ]

The of_find_compatible_node() function returns a node pointer with
refcount incremented, We should use of_node_put() on it when done
Add the missing of_node_put() to release the refcount.

Fixes: fd1c07861491 ("ARM: OMAP4: Fix the init code to have OMAP4460 errata available in DT build")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Message-Id: <20220309104302.18398-1-linmq006@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-12 12:14:55 +02:00
..
2013-06-12 08:00:35 -07:00
2014-01-17 12:35:48 -08:00
2016-06-10 04:14:37 -07:00
2017-01-15 13:42:57 +01:00
2019-12-21 10:41:13 +01:00
2017-01-15 13:42:57 +01:00
2015-07-16 00:06:05 -07:00
2017-01-15 13:42:57 +01:00
2016-06-10 04:15:33 -07:00
2015-07-20 10:52:36 -07:00
2016-06-10 04:17:07 -07:00
2016-02-06 23:13:30 -08:00
2016-05-18 12:35:46 -07:00