992b0dc5c3
Add tests for overlay apply and remove notifiers. Trigger errors for each of the notifier actions. These tests will reveal a memory leak problem when a notifier returns an error for action OF_OVERLAY_POST_APPLY. The pr_err() message is: OF: ERROR: memory leak, expected refcount 1 instead of 3, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node /testcase-data/overlay-node/test-bus/test-unittest17 Signed-off-by: Frank Rowand <frank.rowand@sony.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220502181742.1402826-3-frowand.list@gmail.com |
||
---|---|---|
.. | ||
Makefile | ||
overlay_0.dts | ||
overlay_1.dts | ||
overlay_2.dts | ||
overlay_3.dts | ||
overlay_4.dts | ||
overlay_5.dts | ||
overlay_6.dts | ||
overlay_7.dts | ||
overlay_8.dts | ||
overlay_9.dts | ||
overlay_10.dts | ||
overlay_11.dts | ||
overlay_12.dts | ||
overlay_13.dts | ||
overlay_15.dts | ||
overlay_16.dts | ||
overlay_17.dts | ||
overlay_18.dts | ||
overlay_19.dts | ||
overlay_20.dts | ||
overlay_bad_add_dup_node.dts | ||
overlay_bad_add_dup_prop.dts | ||
overlay_bad_phandle.dts | ||
overlay_bad_symbol.dts | ||
overlay_base.dts | ||
overlay_common.dtsi | ||
overlay_gpio_01.dts | ||
overlay_gpio_02a.dts | ||
overlay_gpio_02b.dts | ||
overlay_gpio_03.dts | ||
overlay_gpio_04a.dts | ||
overlay_gpio_04b.dts | ||
overlay.dts | ||
static_base_1.dts | ||
static_base_2.dts | ||
testcases_common.dtsi | ||
testcases.dts | ||
tests-address.dtsi | ||
tests-interrupts.dtsi | ||
tests-match.dtsi | ||
tests-overlay.dtsi | ||
tests-phandle.dtsi | ||
tests-platform.dtsi |