Skip to content
Commit 0d4dca10 authored by Martí Bolívar's avatar Martí Bolívar Committed by Kumar Gala
Browse files

scripts: edtlib: child binding compatibles match parents



Fixes: #29758

Commit 7165b77a ("scripts: edtlib:
refactor for first class bindings") introduced a Binding class.

Its child_binding instance attribute has a compatible which can be
None. Adjust this behavior so the child Binding object has the same
compatible as the parent binding which ultimately has a compatible.

Without this, sanitycheck's expr_parser is doing some matching on
compatibles in child nodes that is producing unexpected results.

Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent 2522eec5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment