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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B12D4CDB47E for ; Wed, 18 Oct 2023 10:33:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:Subject:Message-Id:References: In-Reply-To:Cc:To:From:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nnMe5iFSHEiPhbwu0eygmDsnmfhvNXskbF4vTHGxb3U=; b=E7TuSlOlXUBZRn 8l4SlgySFOJ7WG/iZQnccm7urCOLzPIS4/tx732YyE2B1lTTVQ6HvLAwp23MYENaCkupZqMI/ehys XE9gfbMf4sZFkjwPHBolEUrLtdJU5L5B1cb6qwSV1uerunXDDZhld/fzH5urCvof6nUZEwCki/vbd J99Ujm82B7mxBu5C069IcOYFWPeAiVl9ZpHoejRyQ+LWdf8IdP56/M4ta9uY00nZqL/92kG0SOTJ9 wxg9IkgFGA6Ru2M9BLfArdophUBa7AXiNnyDyXse4TB7nABnGFnuQq9FbebFSx1xbh7sS2MKA1EPw TRWVyNXjhsw5WIA/lqQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qt3rC-00ERli-0B; Wed, 18 Oct 2023 10:32:54 +0000 Received: from mail-oi1-f176.google.com ([209.85.167.176]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qt3r9-00ERkh-1A for linux-arm-kernel@lists.infradead.org; Wed, 18 Oct 2023 10:32:53 +0000 Received: by mail-oi1-f176.google.com with SMTP id 5614622812f47-3add37de892so3644614b6e.1 for ; Wed, 18 Oct 2023 03:32:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697625170; x=1698229970; h=date:subject:message-id:references:in-reply-to:cc:to:from :mime-version:content-transfer-encoding:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Dg5d8SDlSlp62Ln+IjkIa1gYxVR7adVppGs8QF8Exl4=; b=kJ3NQFYM5Z/Lmkv1XlCdrQX0yiq+KN/pim1sTXeFVIcnmyBBPsum6X6OzWnEl1Xo+l hupiXlNa2QAFod6BBpuL4s/s5F+oshUTMAzA3yq5rMHmB6UalbAA2IiLXpSOmttEUIE5 4wrwImjVFvBzHcYnppDJo2oXsFvT7amcXtt7XOzON8/T32/3ZmhrFbghAWGrttC4suqX TN2PPG+2Tc9OIS6/xw8agXRZLnw6MAT+FvafZ9w4wwsxxBCVw3rjZ0n9W5t4rMKsa9Y1 /khrzTNGdXpx3vwHDewH7S3EC88Q++yNSKk4B1xOeGZ4eHTDrkL6RtduaHzyaZxXCkyO 3DSA== X-Gm-Message-State: AOJu0Yx33IVgE13pl/El9LHPgzoex6o44GGXO5yvdXOv6tHAL4shDaqZ Upcet/7uRIbhik3+4VNwyQ== X-Google-Smtp-Source: AGHT+IHviX6UrIwh06mLdMonHxveecpCE8DWO90wIhrcz1SbC/uPTFpaZVLY5Sw4GTzxzyU2gDNwHA== X-Received: by 2002:a54:4693:0:b0:3a7:52b9:cbfe with SMTP id k19-20020a544693000000b003a752b9cbfemr4462272oic.32.1697625169886; Wed, 18 Oct 2023 03:32:49 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id r24-20020a056808211800b003b2e2d134a5sm390772oiw.35.2023.10.18.03.32.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 03:32:49 -0700 (PDT) Received: (nullmailer pid 391914 invoked by uid 1000); Wed, 18 Oct 2023 10:32:48 -0000 MIME-Version: 1.0 From: Rob Herring To: Linus Walleij Cc: Christian Marangi , Andrew Lunn , Florian Fainelli , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Russell King , devicetree@vger.kernel.org, Conor Dooley , Sebastian Hesselbarth , Eric Dumazet , Vladimir Oltean , Rob Herring , netdev@vger.kernel.org, Jakub Kicinski , Paolo Abeni , "David S. Miller" , linux-kernel@vger.kernel.org, Gregory Clement In-Reply-To: <20231018-marvell-88e6152-wan-led-v4-1-3ee0c67383be@linaro.org> References: <20231018-marvell-88e6152-wan-led-v4-0-3ee0c67383be@linaro.org> <20231018-marvell-88e6152-wan-led-v4-1-3ee0c67383be@linaro.org> Message-Id: <169762516670.391804.7528295251386913602.robh@kernel.org> Subject: Re: [PATCH net-next v4 1/7] dt-bindings: net: dsa: Require ports or ethernet-ports Date: Wed, 18 Oct 2023 05:32:48 -0500 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_033251_402160_0D7A6463 X-CRM114-Status: GOOD ( 14.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 18 Oct 2023 11:03:40 +0200, Linus Walleij wrote: > Bindings using dsa.yaml#/$defs/ethernet-ports specify that > a DSA switch node need to have a ports or ethernet-ports > subnode, and that is actually required, so add requirements > using oneOf. > > Suggested-by: Rob Herring > Signed-off-by: Linus Walleij > --- > Documentation/devicetree/bindings/net/dsa/dsa.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: ./Documentation/devicetree/bindings/net/dsa/dsa.yaml:60:7: [warning] wrong indentation: expected 8 but found 6 (indentation) ./Documentation/devicetree/bindings/net/dsa/dsa.yaml:62:7: [warning] wrong indentation: expected 8 but found 6 (indentation) dtschema/dtc warnings/errors: Traceback (most recent call last): File "/usr/local/bin/dt-doc-validate", line 64, in ret |= check_doc(f) ^^^^^^^^^^^^ File "/usr/local/bin/dt-doc-validate", line 32, in check_doc for error in sorted(dtsch.iter_errors(), key=lambda e: e.linecol): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/dtschema/schema.py", line 125, in iter_errors self.annotate_error(scherr, meta_schema, scherr.schema_path) File "/usr/local/lib/python3.11/dist-packages/dtschema/schema.py", line 104, in annotate_error schema = schema[p] ~~~~~~^^^ KeyError: 'type' doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231018-marvell-88e6152-wan-led-v4-1-3ee0c67383be@linaro.org The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel