diff options
author | Frank Rowand <frowand.list@gmail.com> | 2023-02-13 21:57:01 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-02-21 00:37:19 +0300 |
commit | ec0b7e24d566a843e3cfba21a6471170fdb0f810 (patch) | |
tree | fdb2db20af328846479dca1267ef77ad9f73b23c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 23522dd7033ad8dcd818f75469907a8fdac8e8a4 (diff) | |
download | linux-ec0b7e24d566a843e3cfba21a6471170fdb0f810.tar.xz |
of: add consistency check to of_node_release()
Add an additional consistency check to of_node_release(), which is
called when the reference count of a devicetree node is decremented
to zero. The node's children should have been deleted before the
node is deleted so check that no children exist.
Signed-off-by: Frank Rowand <frowand.list@gmail.com>
Link: https://lore.kernel.org/r/20230213185702.395776-7-frowand.list@gmail.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions