[PATCH v2 0/6] dtc: dt-check-style: Improvements for handling continued lines

Krzysztof Kozlowski posted 6 patches 2 weeks, 2 days ago
There is a newer version of this series
scripts/dtc/dt-check-style                         | 103 ++++++++++++---------
.../dtc/dt-style-selftest/bad/dts-cont-align.dts   |   1 +
.../dtc/dt-style-selftest/bad/dts-line-length.dts  |   3 +-
.../dtc/dt-style-selftest/bad/dts-trailing-ws.dts  |   8 ++
.../dtc/dt-style-selftest/bad/yaml-cont-align.yaml |   1 +
.../dtc/dt-style-selftest/bad/yaml-hex-case.yaml   |   5 +-
.../dt-style-selftest/bad/yaml-line-length.yaml    |   3 +-
.../dt-style-selftest/bad/yaml-trailing-ws.yaml    |   5 +-
.../expected/dts-cont-align.dts.txt                |  11 ++-
.../expected/dts-line-length.dts.txt               |   1 +
.../expected/dts-trailing-ws.dts.txt               |   1 +
.../expected/yaml-cont-align.yaml.txt              |   3 +-
.../expected/yaml-hex-case.yaml.txt                |   2 +
.../expected/yaml-line-length.yaml.txt             |   1 +
.../expected/yaml-trailing-ws.yaml.txt             |   2 +
.../dtc/dt-style-selftest/good/dts-cont-align.dts  |   1 +
.../dt-style-selftest/good/yaml-cont-align.yaml    |   1 +
17 files changed, 99 insertions(+), 53 deletions(-)
[PATCH v2 0/6] dtc: dt-check-style: Improvements for handling continued lines
Posted by Krzysztof Kozlowski 2 weeks, 2 days ago
Changes in v2:
1. Four new commits 1-4
2. Drop last commit
v1: https://lore.kernel.org/all/20260906180437.166760-6-krzysztof.kozlowski@oss.qualcomm.com/

Best regards,
Krzysztof

---
Krzysztof Kozlowski (6):
      dtc: dt-check-style: Handle continued lines in check_hex_case()
      dtc: dt-check-style: Handle continued lines in check_line_length()
      dtc: dt-check-style: Handle continued lines in check_trailing_whitespace()
      dtc: dt-check-style: Unduplicate checks in check_mixed_indent_chars()
      dtc: dt-check-style: Right strip whitespaces, leftovers before comments
      dtc: dt-check-style: Properly detect comments in multi-line properties

 scripts/dtc/dt-check-style                         | 103 ++++++++++++---------
 .../dtc/dt-style-selftest/bad/dts-cont-align.dts   |   1 +
 .../dtc/dt-style-selftest/bad/dts-line-length.dts  |   3 +-
 .../dtc/dt-style-selftest/bad/dts-trailing-ws.dts  |   8 ++
 .../dtc/dt-style-selftest/bad/yaml-cont-align.yaml |   1 +
 .../dtc/dt-style-selftest/bad/yaml-hex-case.yaml   |   5 +-
 .../dt-style-selftest/bad/yaml-line-length.yaml    |   3 +-
 .../dt-style-selftest/bad/yaml-trailing-ws.yaml    |   5 +-
 .../expected/dts-cont-align.dts.txt                |  11 ++-
 .../expected/dts-line-length.dts.txt               |   1 +
 .../expected/dts-trailing-ws.dts.txt               |   1 +
 .../expected/yaml-cont-align.yaml.txt              |   3 +-
 .../expected/yaml-hex-case.yaml.txt                |   2 +
 .../expected/yaml-line-length.yaml.txt             |   1 +
 .../expected/yaml-trailing-ws.yaml.txt             |   2 +
 .../dtc/dt-style-selftest/good/dts-cont-align.dts  |   1 +
 .../dt-style-selftest/good/yaml-cont-align.yaml    |   1 +
 17 files changed, 99 insertions(+), 53 deletions(-)
---
base-commit: 694b801ceb1bea205878f2136e8b25c888e51be7
change-id: 20260909-b4-dts-style-checker-continued-lines-c6895bacb860

Best regards,
--  
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>