linux/drivers/of/unittest-data
Frank Rowand 74df14cd30 of: unittest: add node lifecycle tests
Add tests to exercise the actions that occur when the reference count
of devicetree nodes decrement to zero and beyond.  Decrementing to
zero triggers freeing memory allocated for the node.

This commit will expose a pr_err() issue in of_node_release(), resulting
in some kernal warnings and stack traces.

When scripts/dtc/of_unittest_expect processes the console messages,
it will also report related problems for EXPECT messages due to the
pr_err() issue:
   **     missing EXPECT begin      :    5

Signed-off-by: Frank Rowand <frowand.list@gmail.com>
Link: https://lore.kernel.org/r/20230213185702.395776-5-frowand.list@gmail.com
[robh: Fix !CONFIG_OF_DYNAMIC build]
Signed-off-by: Rob Herring <robh@kernel.org>
2023-02-20 15:36:51 -06:00
..
Makefile
overlay.dtso
overlay_0.dtso
overlay_1.dtso
overlay_2.dtso
overlay_3.dtso
overlay_4.dtso
overlay_5.dtso
overlay_6.dtso
overlay_7.dtso
overlay_8.dtso
overlay_9.dtso
overlay_10.dtso
overlay_11.dtso
overlay_12.dtso
overlay_13.dtso
overlay_15.dtso
overlay_16.dtso
overlay_17.dtso
overlay_18.dtso
overlay_19.dtso
overlay_20.dtso
overlay_bad_add_dup_node.dtso
overlay_bad_add_dup_prop.dtso
overlay_bad_phandle.dtso
overlay_bad_symbol.dtso
overlay_base.dtso
overlay_common.dtsi
overlay_gpio_01.dtso
overlay_gpio_02a.dtso
overlay_gpio_02b.dtso
overlay_gpio_03.dtso
overlay_gpio_04a.dtso
overlay_gpio_04b.dtso
static_base_1.dts
static_base_2.dts
testcases.dtso
testcases_common.dtsi of: unittest: add node lifecycle tests 2023-02-20 15:36:51 -06:00
tests-address.dtsi
tests-interrupts.dtsi
tests-lifecycle.dtsi of: unittest: add node lifecycle tests 2023-02-20 15:36:51 -06:00
tests-match.dtsi
tests-overlay.dtsi
tests-phandle.dtsi
tests-platform.dtsi