In dts-check-format we were checking if the linter was updating the tree, but we were not picking up the return value in case an unfixable error would be raised.
Signed-off-by: Luca Vizzarro <luca.vizza...@arm.com> Reviewed-by: Paul Szczepanek <paul.szczepa...@arm.com> --- devtools/dts-check-format.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/devtools/dts-check-format.sh b/devtools/dts-check-format.sh index 44501f6d3b..907eed1293 100755 --- a/devtools/dts-check-format.sh +++ b/devtools/dts-check-format.sh @@ -84,6 +84,7 @@ if $lint; then heading "Linting in $directory/" if command -v ruff > /dev/null; then ruff check --fix + errors=$((errors + $?)) git update-index --refresh retval=$? -- 2.43.0