zephyr/scripts/dts/python-devicetree
Martí Bolívar 19bb6b330c edtlib: fix error handling in an internal helper
The error message emitted by _interrupt_parent() is wrong; it
mistakenly says:

  node None has an 'interrupts' property, but [...]

This 'None' is appearing because the same routine overwrites the
'node' argument that the caller is asking about with node parents
until it hits the root, at which point root.parent is None.

Fix it by caching the original node and using that in the error
message instead.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-07-18 17:50:44 -05:00
..
src/devicetree edtlib: fix error handling in an internal helper 2022-07-18 17:50:44 -05:00
tests
.gitignore
requirements.txt
setup.py
tox.ini