From cf3e913bf41d4aa4b89d8f1323ee8371be912261 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Tue, 18 Jul 2023 14:32:03 -0600 Subject: [PATCH] dt-bindings: net: dsa: Fix JSON pointer references A JSON pointer reference to the entire document must not have a trailing "/" and should be just a "#". The existing jsonschema package allows these, but changes in 4.18 make allowed "$ref" URIs stricter and throw errors on these references. Signed-off-by: Rob Herring Link: https://lore.kernel.org/r/20230718203202.1761304-1-robh@kernel.org Signed-off-by: Paolo Abeni --- Documentation/devicetree/bindings/net/dsa/dsa.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml index 8d97181..ec74a66 100644 --- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml +++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml @@ -36,7 +36,7 @@ additionalProperties: true $defs: ethernet-ports: description: A DSA switch without any extra port properties - $ref: '#/' + $ref: '#' patternProperties: "^(ethernet-)?ports$": -- 2.7.4