[PATCH] dt-bindings: net: dsa: sja1105: Fix indentation warnings

Subsystems: networking drivers, networking [dsa], open firmware and flattened device tree bindings, the rest

STALE1855d LANDED

Landed in mainline as d549c66766ee on 2021-07-15.

3 messages, 3 authors, 2021-07-14 · open the first message on its own page

[PATCH] dt-bindings: net: dsa: sja1105: Fix indentation warnings

From: Thierry Reding <hidden>
Date: 2021-06-22 11:31:36

From: Thierry Reding <redacted>

Some of the lines aren't properly indented, causing yamllint to warn
about them:

    .../nxp,sja1105.yaml:70:17: [warning] wrong indentation: expected 18 but found 16 (indentation)

Use the proper indentation to fix those warnings.

Signed-off-by: Thierry Reding <redacted>
---
 Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml b/Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml
index 0b8a05dd52e6..f978f8719d8e 100644
--- a/Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml
@@ -67,8 +67,8 @@ properties:
           reg:
             oneOf:
               - enum:
-                - 0
-                - 1
+                  - 0
+                  - 1
 
         required:
           - compatible
-- 
2.32.0

Re: [PATCH] dt-bindings: net: dsa: sja1105: Fix indentation warnings

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-06-23 12:33:59

On Tue, Jun 22, 2021 at 1:31 PM Thierry Reding [off-list ref] wrote:
From: Thierry Reding <redacted>

Some of the lines aren't properly indented, causing yamllint to warn
about them:

    .../nxp,sja1105.yaml:70:17: [warning] wrong indentation: expected 18 but found 16 (indentation)

Use the proper indentation to fix those warnings.

Signed-off-by: Thierry Reding <redacted>
Fixes: 070f5b701d559ae1 ("dt-bindings: net: dsa: sja1105: add SJA1110 bindings")
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Re: [PATCH] dt-bindings: net: dsa: sja1105: Fix indentation warnings

From: Rob Herring <robh@kernel.org>
Date: 2021-07-14 17:50:59

On Tue, 22 Jun 2021 13:33:27 +0200, Thierry Reding wrote:
From: Thierry Reding <redacted>

Some of the lines aren't properly indented, causing yamllint to warn
about them:

    .../nxp,sja1105.yaml:70:17: [warning] wrong indentation: expected 18 but found 16 (indentation)

Use the proper indentation to fix those warnings.

Signed-off-by: Thierry Reding <redacted>
---
 Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help