From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F132C3526C for ; Sat, 19 Dec 2020 17:51:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 09BF52388E for ; Sat, 19 Dec 2020 17:51:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727171AbgLSRup (ORCPT ); Sat, 19 Dec 2020 12:50:45 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:48894 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725562AbgLSRuo (ORCPT ); Sat, 19 Dec 2020 12:50:44 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 952E11C0B77; Sat, 19 Dec 2020 18:49:46 +0100 (CET) Date: Sat, 19 Dec 2020 18:49:45 +0100 From: Pavel Machek To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Maxime Ripard , Vinod Koul , Guenter Roeck , Jonathan Cameron , Lars-Peter Clausen , Lee Jones , Daniel Thompson , Jingoo Han , "David S. Miller" , Jakub Kicinski , Andrew Lunn , Florian Fainelli , Sebastian Reichel , Greg Kroah-Hartman , Mark Brown , netdev@vger.kernel.org Subject: Re: [PATCH] dt-bindings: Fix JSON pointers Message-ID: <20201219174945.GA25643@amd> References: <20201217223429.354283-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <20201217223429.354283-1-robh@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2020-12-17 16:34:29, 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. >=20 > Converted with: > perl -p -i -e 's/yaml#definitions/yaml#\/definitions/g' `find Documentati= on/devicetree/bindings/ -name "*.yaml"` > Acked-by: Pavel Machek --=20 http://www.livejournal.com/~pavelmachek --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl/ePTgACgkQMOfwapXb+vIsEwCgoqapZig1frJsLt79Dd1jHccN 75EAoLe+6pWK3uzfpcvabTuRJpWKz3ku =1T8V -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--