linux-stable/drivers/of
Kunihiko Hayashi 602c66f753 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:02:05 +02:00
..
unittest-data of: unittest: add node lifecycle tests 2023-02-20 15:36:51 -06:00
Kconfig of: update kconfig unittest help 2023-02-17 15:46:20 -06:00
Makefile of: net: move of_net under net/ 2021-10-07 13:39:51 +01:00
address.c Merge branches 'apple/dart', 'arm/exynos', 'arm/renesas', 'arm/smmu', 'x86/vt-d', 'x86/amd' and 'core' into next 2023-02-18 15:43:04 +01:00
base.c of: base: use strscpy() to instead of strncpy() 2023-01-05 21:23:14 -06:00
device.c of: Fix modalias string generation 2023-05-11 23:17:25 +09:00
dynamic.c Devicetree fixes for v6.2, part 3: 2023-04-13 15:21:56 -07:00
fdt.c Revert "mm: kmemleak: alloc gray object for reserved region with direct map" 2023-01-31 16:44:09 -08:00
fdt_address.c
irq.c of/irq: add missing of_node_put() for interrupt parent node 2023-01-18 11:31:42 -06:00
kexec.c of/kexec: Fix reading 32-bit "linux,initrd-{start,end}" values 2022-12-06 14:50:36 -06:00
kobj.c of: make of_node_ktype constant 2023-02-06 11:03:00 -06:00
of_numa.c of, numa: Fetch empty NUMA node ID from distance map 2021-10-04 13:13:44 -05:00
of_private.h of: Fix "dma-ranges" handling for bus controllers 2022-09-30 14:35:43 -05:00
of_reserved_mem.c Devicetree updates for v6.3: 2023-02-24 13:31:53 -08:00
overlay.c of: overlay: Fix missing of_node_put() in error case of init_overlay_changeset() 2023-06-21 16:02:05 +02:00
pdt.c
platform.c Devicetree fixes for v6.2, part 3: 2023-04-13 15:21:56 -07:00
property.c Devicetree updates for v6.3: 2023-02-24 13:31:53 -08:00
resolver.c
unittest.c of: unittest: add node lifecycle tests 2023-02-20 15:36:51 -06:00