mirror-linux/drivers/of
Kunihiko Hayashi 628e40a225 of: overlay: Fix missing of_node_put() in error case of init_overlay_changeset()
[ Upstream commit 39affd1fdf ]

In init_overlay_changeset(), the variable "node" is from
of_get_child_by_name(), and the "node" should be discarded in error case.

Fixes: d1651b03c2 ("of: overlay: add overlay symbols to live device tree")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20230602020502.11693-1-hayashi.kunihiko@socionext.com
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-21 16:00:51 +02:00
..
unittest-data
Kconfig
Makefile
address.c of/address: Return an error when no valid dma-ranges are found 2023-02-14 19:11:42 +01:00
base.c
device.c of: Fix modalias string generation 2023-05-11 23:03:28 +09:00
dynamic.c
fdt.c Revert "mm: kmemleak: alloc gray object for reserved region with direct map" 2023-02-09 11:28:20 +01:00
fdt_address.c
irq.c
kexec.c
kobj.c
of_numa.c
of_private.h
of_reserved_mem.c of: reserved_mem: Have kmemleak ignore dynamically allocated reserved mem 2023-02-22 12:59:46 +01:00
overlay.c of: overlay: Fix missing of_node_put() in error case of init_overlay_changeset() 2023-06-21 16:00:51 +02:00
pdt.c
platform.c of: Make OF framebuffer device names unique 2023-02-14 19:11:43 +01:00
property.c
resolver.c
unittest.c