commit | 7bbecd8c37bb6fd1ba952449fc411444017026f6 | [log] [tgz] |
---|---|---|
author | Mathieu Choplain <mathieu.choplain-ext@st.com> | Wed Oct 08 18:51:54 2025 +0200 |
committer | Chris Friedt <chrisfriedt@gmail.com> | Fri Oct 10 20:51:13 2025 -0400 |
tree | da2fb17e153545c095438e7487cf569abba98306 | |
parent | 48d3aef043876d8a42413e04a235906fdeacf0bf [diff] |
scripts: kconfig: fix dt_nodelabel_int_prop crash if prop doesn't exist dt_nodelabel_int_prop did not check if the property existed on the node before accessing it, which would result in a build-time crash (and thus build error) if used on a node which lacked the requested property. Fix by using the common _node_int_prop() helper which handles all edge cases properly. Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>