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>
This commit is contained in:
parent
2d6d7d6ce2
commit
cf3e913bf4
@ -36,7 +36,7 @@ additionalProperties: true
|
||||
$defs:
|
||||
ethernet-ports:
|
||||
description: A DSA switch without any extra port properties
|
||||
$ref: '#/'
|
||||
$ref: '#'
|
||||
|
||||
patternProperties:
|
||||
"^(ethernet-)?ports$":
|
||||
|
Loading…
Reference in New Issue
Block a user