diff options
author | Rob Herring <robh@kernel.org> | 2023-07-18 23:32:03 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-07-20 12:56:37 +0300 |
commit | cf3e913bf41d4aa4b89d8f1323ee8371be912261 (patch) | |
tree | b048a702ad23cb9cae78e8d7fd4a2c230ae9cb31 /Documentation | |
parent | 2d6d7d6ce257e3ea00e1524fdb138a3201df46ed (diff) | |
download | linux-cf3e913bf41d4aa4b89d8f1323ee8371be912261.tar.xz |
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 <robh@kernel.org>
Link: https://lore.kernel.org/r/20230718203202.1761304-1-robh@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/net/dsa/dsa.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml index 8d971813bab6..ec74a660beda 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$": |