linux-yocto/drivers/of
Dan Carpenter 64f8f2a933 of: unittest: Unlock on error in unittest_data_add()
[ Upstream commit 493e6cb63a ]

The of_overlay_mutex_unlock() was accidentally deleted if "of_root" is
NULL.  Change this to a goto unlock.

Fixes: d1eabd218e ("of: unittest: treat missing of_root as error instead of fixing up")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/aBHZ1DvXiBcZkWmk@stanley.mountain
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-19 15:31:48 +02:00
..
unittest-data
.kunitconfig
address.c
base.c
cpu.c
device.c
dynamic.c
empty_root.dts
fdt_address.c
fdt.c
irq.c of/irq: Fix device node refcount leakages in of_irq_init() 2025-04-20 10:15:57 +02:00
Kconfig
kexec.c
kobj.c
kunit_overlay_test.dtso
Makefile
module.c
of_kunit_helpers.c
of_numa.c
of_private.h
of_reserved_mem.c
of_test.c
overlay_test.c
overlay.c
pdt.c
platform.c
property.c
resolver.c of: resolver: Fix device node refcount leakage in of_resolve_phandles() 2025-05-02 07:58:55 +02:00
unittest.c of: unittest: Unlock on error in unittest_data_add() 2025-06-19 15:31:48 +02:00