Messages in this thread | | | Subject | Re: [PATCH] dt-bindings: Fix JSON pointers | From | Guenter Roeck <> | Date | Fri, 18 Dec 2020 06:48:15 -0800 |
| |
On 12/17/20 2:34 PM, 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"` > > Cc: Maxime Ripard <mripard@kernel.org> > Cc: Vinod Koul <vkoul@kernel.org> > Cc: Guenter Roeck <linux@roeck-us.net> > Cc: Jonathan Cameron <jic23@kernel.org> > Cc: Lars-Peter Clausen <lars@metafoo.de> > Cc: Lee Jones <lee.jones@linaro.org> > Cc: Daniel Thompson <daniel.thompson@linaro.org> > Cc: Jingoo Han <jingoohan1@gmail.com> > Cc: Pavel Machek <pavel@ucw.cz> > Cc: "David S. Miller" <davem@davemloft.net> > Cc: Jakub Kicinski <kuba@kernel.org> > Cc: Andrew Lunn <andrew@lunn.ch> > Cc: Florian Fainelli <f.fainelli@gmail.com> > Cc: Sebastian Reichel <sre@kernel.org> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Cc: Mark Brown <broonie@kernel.org> > Cc: netdev@vger.kernel.org > Signed-off-by: Rob Herring <robh@kernel.org> > ---
> .../bindings/hwmon/moortec,mr75203.yaml | 2 +- > .../bindings/hwmon/sensirion,shtc1.yaml | 4 +- > .../devicetree/bindings/hwmon/ti,tmp513.yaml | 2 +-
Acked-by: Guenter Roeck <linux@roeck-us.net>
| |