Ubuntu-focal-kernel/drivers/of
Geert Uytterhoeven 924fcbfaab of: unittest: Fix overlay type in apply/revert check
BugLink: https://bugs.launchpad.net/bugs/2040284

[ Upstream commit 6becf8f845ae1f0b1cfed395bbeccbd23654162d ]

The removal check in of_unittest_apply_revert_overlay_check()
always uses the platform device overlay type, while it should use the
actual overlay type, as passed as a parameter to the function.

This has no impact on any current test, as all tests calling
of_unittest_apply_revert_overlay_check() use the platform device overlay
type.

Fixes: d5e75500ca ("of: unitest: Add I2C overlay unit tests.")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/ba0234c41ba808f10112094f88792beeb6dbaedf.1690533838.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2023-10-30 11:42:11 +01:00
..
unittest-data
Kconfig
Makefile
address.c
base.c
device.c of: Fix modalias string generation 2023-08-09 12:25:19 +02:00
dynamic.c
fdt.c
fdt_address.c
irq.c
kobj.c
of_mdio.c of: mdio: Add of_node_put() when breaking out of for_each_xx 2022-11-24 10:28:48 +01:00
of_net.c
of_numa.c
of_private.h
of_reserved_mem.c
overlay.c of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop() 2023-02-01 15:22:40 +01:00
pdt.c
platform.c
property.c of: property: decrement node refcount in of_fwnode_get_reference_args() 2023-02-01 15:21:37 +01:00
resolver.c
unittest.c of: unittest: Fix overlay type in apply/revert check 2023-10-30 11:42:11 +01:00