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=-16.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 47BE8C3526B for ; Fri, 18 Dec 2020 07:11:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 191C023A62 for ; Fri, 18 Dec 2020 07:11:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732917AbgLRHLk (ORCPT ); Fri, 18 Dec 2020 02:11:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:37398 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726520AbgLRHLj (ORCPT ); Fri, 18 Dec 2020 02:11:39 -0500 Date: Fri, 18 Dec 2020 12:40:54 +0530 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608275459; bh=6YeZzN3KmE++VpIfogg173kMKgVjRsWI8P+AiUlw2QY=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=WsCg0hJL3D1lSK62EPjwfPee6qkg1MEOA6f6AM98JtHDFbdg6CqmKI+l2IJcX7EcY hiQi1wY1Nsx9G7kTfCw9KXMyrliT8sfqsa0D/MxyRzcs8l4S1reR28ghFM1irRE0on cwZjYItI2E/qFXze0h+mbYUzjU7lagvgBA/8uAFJ41UZWFSR0HHkpsqzcoI/g7q//L tku3ee0HrsJrcMZiHSK1krf8vwWdybOhFjIleqPPoyhdlPo27dltZpCOvkAsAK3bzw h1EexmFE12d+BqXJ2pLBU3ID1bmI6sAbL/wQMS73LlyoD0hbHheDVUh8PA+8A4hV83 WE+RqBJne2dMg== From: Vinod Koul To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Maxime Ripard , Guenter Roeck , Jonathan Cameron , Lars-Peter Clausen , Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , "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: <20201218071054.GH8403@vkoul-mobl> References: <20201217223429.354283-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201217223429.354283-1-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 -- ~Vinod