Skip to content

Commit cf3e913

Browse files
robherringPaolo Abeni
authored andcommitted
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>
1 parent 2d6d7d6 commit cf3e913

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Documentation/devicetree/bindings/net/dsa

Documentation/devicetree/bindings/net/dsa/dsa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ additionalProperties: true
3636
$defs:
3737
ethernet-ports:
3838
description: A DSA switch without any extra port properties
39-
$ref: '#/'
39+
$ref: '#'
4040

4141
patternProperties:
4242
"^(ethernet-)?ports$":

0 commit comments

Comments
 (0)