Message ID | 20230718203202.1761304-1-robh@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1999492vqt; Tue, 18 Jul 2023 13:45:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlH+PMFSZOBCHvySL7q+obLXGIjIrp0EvK0RMpLc4KCGAlDVUsZ3cka34EEGmISydT4ZYN6J X-Received: by 2002:a17:90b:4ac3:b0:263:7d57:814e with SMTP id mh3-20020a17090b4ac300b002637d57814emr13202266pjb.45.1689713113760; Tue, 18 Jul 2023 13:45:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689713113; cv=none; d=google.com; s=arc-20160816; b=oRVP9ZxdWy0JDFgPPMRfyVEaWc/RyQZaeTGotnrKoovPKJzyEarzhM0LOu6wef8gZr 2lh+KsJv5Tp53eoOdt99MP1oJsmGodwxp6XIo9yNUUeOQTbiNOpB6KYiXwn4TxnaLfeG pqdX+0mhW1tP0XPdTu/hH6i1N1l3qleeE8YTOrPHdTYWR/xTSjykUeC23vmr5nSPHZB1 hL8rLjgjK0jMx5R6b7IGSu0TmUyxWJ+WSWzw7xfvbeh2uYkCjZ6uLzlI3KrFeml0ESYM dfhzi4z+hf6fwErWMNXiJ8F3PH9ZdUmC7qFsT0TqGlpw+jF99swSBm4GJijkxe2uasQd AFvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HlUZD3UHc3/7L1NR+L+YT9TpVNLHZ78uR9wf93SHta4=; fh=JZuqv7NePU3aE10blNsB7+t1GyiaN2+TPbVfQZ8g6AM=; b=cly1/W5p9wKloGZaM7KOkRCMxOFM8n1MtSOux7KDhZ/N2OwMcBkigB8JxgNhwtntds UP9/SqWIhaVejxq8KWpA4UE8c/swwRiYv9z1QeofcFhivc7juERbJMxeBqMPsHS8YC6Y CaXpRlCF5iibmxa8EOs2+SnMUOz6uHv/SQUuAGcF9+nssKiKU4iofJPchs47nepy2P/9 CRqjSLLJdV8paJm3P1t9D3jrOH698JwknROWaOrXrtbWF98kRcu2gt6O1KeSwXQlfLHS TlE2rVujbP4Rk9+URS+DTLe2+ZD89iPWiSXjTEP7VWSNd48gBunrVKLlhCmHmVmHBZKR gguA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QyklfGbt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n13-20020a170903110d00b001b52e5751c8si2165646plh.102.2023.07.18.13.44.35; Tue, 18 Jul 2023 13:45:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QyklfGbt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230155AbjGRUcl (ORCPT <rfc822;assdfgzxcv4@gmail.com> + 99 others); Tue, 18 Jul 2023 16:32:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjGRUcj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Jul 2023 16:32:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CE5E19A4; Tue, 18 Jul 2023 13:32:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0A2D760DDA; Tue, 18 Jul 2023 20:32:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8393FC433C8; Tue, 18 Jul 2023 20:32:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689712353; bh=FLSmACyrVItJxGL2yS/j6SnE6NSUcX7aKrzHK7k9U3E=; h=From:To:Cc:Subject:Date:From; b=QyklfGbtk3VN1ylhAY7Qw8wPNB49l2zLLLb2XZTsD7k+TbHniEmA69uxamN67xBTd AsZK/PkMW/bL0ZH7T1EaR899r0Q0GGqxkArQnuzKvPcyZDFx52gtzE7jnYRkQ6vSXz IIy5u4GQY5SqlucvIQizDc3sCEYEldKGa+so2wBr9PpLEOGWaizlR3DMsttrZZorwH mnzxFudb6Pr27N5Ol90+AEDir5xFUQ+eoeJVCrNmo+GXg9iM/chPilca1MdApzURS4 s+HHIE4BO/P/UDn+dfcqGajLjpcqM5SwGu11LJgbJFNqKSMfWrMSVOfEEz/YLmi4hp Zm+x1fVwMUC/Q== Received: (nullmailer pid 1761854 invoked by uid 1000); Tue, 18 Jul 2023 20:32:31 -0000 From: Rob Herring <robh@kernel.org> To: Andrew Lunn <andrew@lunn.ch>, Florian Fainelli <f.fainelli@gmail.com>, Vladimir Oltean <olteanv@gmail.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next] dt-bindings: net: dsa: Fix JSON pointer references Date: Tue, 18 Jul 2023 14:32:03 -0600 Message-Id: <20230718203202.1761304-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771792618290535716 X-GMAIL-MSGID: 1771792618290535716 |
Series |
[net-next] dt-bindings: net: dsa: Fix JSON pointer references
|
|
Commit Message
Rob Herring
July 18, 2023, 8:32 p.m. UTC
A JSON pointer reference to the entire document must not have a trailing
"/" and should be just a "#". The existing jsonschema package allows
these, but changes in 4.18 make allowed "$ref" URIs stricter and throw
errors on these references.
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/net/dsa/dsa.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni <pabeni@redhat.com>: On Tue, 18 Jul 2023 14:32:03 -0600 you wrote: > A JSON pointer reference to the entire document must not have a trailing > "/" and should be just a "#". The existing jsonschema package allows > these, but changes in 4.18 make allowed "$ref" URIs stricter and throw > errors on these references. > > Signed-off-by: Rob Herring <robh@kernel.org> > > [...] Here is the summary with links: - [net-next] dt-bindings: net: dsa: Fix JSON pointer references https://git.kernel.org/netdev/net-next/c/cf3e913bf41d You are awesome, thank you!
diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml index 8d971813bab6..ec74a660beda 100644 --- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml +++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml @@ -36,7 +36,7 @@ additionalProperties: true $defs: ethernet-ports: description: A DSA switch without any extra port properties - $ref: '#/' + $ref: '#' patternProperties: "^(ethernet-)?ports$":