diff options
author | Rob Herring <robh@kernel.org> | 2023-04-18 18:06:27 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-04-20 04:41:55 +0300 |
commit | 84ce730f82dfe62f6f3e76b059ce0f7178322fb9 (patch) | |
tree | 66cf932dfd9f6fa3259bcde4d24e5f60bd63fcc5 /Documentation/devicetree/bindings/net/ethernet-controller.yaml | |
parent | 3e9c0700bf42b6170ae6b6e616cdc2e75a21b506 (diff) | |
download | linux-84ce730f82dfe62f6f3e76b059ce0f7178322fb9.tar.xz |
dt-bindings: net: ethernet: Fix JSON pointer references
A JSON pointer reference (the part after the "#") must start with a "/".
Conversely, references to the entire document must not have a trailing "/"
and should be just a "#". The existing jsonschema package allows these,
but coming changes 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/20230418150628.1528480-1-robh@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/net/ethernet-controller.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/net/ethernet-controller.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index ebc2646ab5ff..6b0d359367da 100644 --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml @@ -205,7 +205,7 @@ properties: duplex is assumed. pause: - $ref: /schemas/types.yaml#definitions/flag + $ref: /schemas/types.yaml#/definitions/flag description: Indicates that pause should be enabled. |