Re: [PATCH] dt-bindings: Fix JSON pointers
From: Vinod Koul
Date: Fri Dec 18 2020 - 02:12:21 EST
On 17-12-20, 16:34, Rob Herring wrote:
> The correct syntax for JSON pointers begins with a '/' after the '#'.
> Without a '/', the string should be interpretted as a subschema
> identifier. The jsonschema module currently doesn't handle subschema
> identifiers and incorrectly allows JSON pointers to begin without a '/'.
> Let's fix this before it becomes a problem when jsonschema module is
> fixed.
>
> Converted with:
> perl -p -i -e 's/yaml#definitions/yaml#\/definitions/g' `find Documentation/devicetree/bindings/ -name "*.yaml"`
> .../devicetree/bindings/dma/dma-common.yaml | 4 +-
> .../devicetree/bindings/dma/dma-router.yaml | 2 +-
> .../devicetree/bindings/dma/ingenic,dma.yaml | 2 +-
> .../bindings/dma/snps,dma-spear1340.yaml | 10 ++---
Acked-By: Vinod Koul <vkoul@xxxxxxxxxx>
--
~Vinod