Thread (15 messages) 15 messages, 2 authors, 1d ago

Re: [PATCH 6/7] ARM: dts: axis: artpec6: put inline comments on same line as entries

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2026-09-30 05:29:15
Also in: linux-devicetree, lkml

On 28/09/2026 14:04, Henrik Grimler wrote:
quoted hunk ↗ jump to hunk
By having the comments next to the data they describe it is easier to
read the property. This fixes indent-consistent and
continuation-alignment warnings from dt-check-style in strict mode,
e.g. warnings like:

  axis/artpec6.dtsi:170: [indent-consistent] indent mismatch (expected depth 2 * '\t')
  axis/artpec6.dtsi:172: [continuation-alignment] continuation should align to column 26 (to < or ")

Also shorten one of the comments a bit so that the entire line fits
under 100 chars.

Signed-off-by: Henrik Grimler <redacted>
---
 arch/arm/boot/dts/axis/artpec6.dtsi | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/axis/artpec6.dtsi b/arch/arm/boot/dts/axis/artpec6.dtsi
index 146a5fd98528..c9f671fd685a 100644
--- a/arch/arm/boot/dts/axis/artpec6.dtsi
+++ b/arch/arm/boot/dts/axis/artpec6.dtsi
@@ -167,10 +167,8 @@ pcie: pcie@f8050000 {
 		      <0xf8040000 0x1000>,
 		      <0xc0000000 0x2000>;
 		reg-names = "dbi", "phy", "config";
-			  /* downstream I/O */
-		ranges = <0x81000000 0 0 0xc0002000 0 0x00010000>,
-			  /* non-prefetchable memory */
-			 <0x82000000 0 0xc0012000 0xc0012000 0 0x1ffee000>;
+		ranges = <0x81000000 0 0 0xc0002000 0 0x00010000>,          /* downstream I/O */
+			 <0x82000000 0 0xc0012000 0xc0012000 0 0x1ffee000>; /* non-prefetchable */
Squash with the #3 patch.

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help