Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3697257rdg; Wed, 18 Oct 2023 03:33:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMPT3fTwHfJ84duyrnvDx3Ju9dZnnloJZoy0z2bZKxol86SpwKgB4p75df7Rk7GCU/KQb4 X-Received: by 2002:a05:6a20:841e:b0:141:69d:8041 with SMTP id c30-20020a056a20841e00b00141069d8041mr6307584pzd.48.1697625184612; Wed, 18 Oct 2023 03:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697625184; cv=none; d=google.com; s=arc-20160816; b=AUHKj0ogLOTWZPLtMFYlGPjspUCWkX27KdpQZFiWxYbhjqZn1vqCquRylojqKhJ/du 1LezBaLv2t590TzpRhFnGdZEOW0imLgfBq+d/bE8FmtqdDicTuqIIFFcvAoZVWTknxS5 sWZyueOE49nyfFDJEycWyoIZlGnrAp0ZfL6+dYtKsUhqKdnc5WOETjDzzxGveXRlZI53 P3KD6xJOUGiqy74UFfwQgRhabjw5DfmnW4zdw9REke+rUsO9q+AWj/2tw2QrLr+gT14v VFIEgVVDAXQkH3L5YeAULLyaWeqOJCOgYeQZt3OwYJYIGd32vos5Zs8Wb5nMyjZGjha6 sNVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:subject:message-id:references:in-reply-to :cc:to:from:mime-version:content-transfer-encoding; bh=Dg5d8SDlSlp62Ln+IjkIa1gYxVR7adVppGs8QF8Exl4=; fh=Sm3RuQwIShxZqkcdkYBd1gt0whf2eF7/xmclh+BgQ0A=; b=S36910SkPYF1uodAhAptQBEbd3Ln/FuRfdBSJrwmBmFd3hTk5qpb5nlO3BrZLIlTY0 QEktd1OLS9M3yg6/UR9jcObFtuIGp8TkKfthAM9KiljAJgOYnPoRkXEIBEknSUvJAElp 5C162vuZtFr8YzOo1aUtLMUgYR6cUJ4aw47fF1tRUbTPId5wztt5izvbiVRhwSi86cdG TaVjIf9KRpJDWWVeOz6r5q/aHO3g+yex/GmuuwAk/1R2/kbcfu4NFdWfMCj/OOOlwfgL QZ8owKRj/jsHjFsaHDs7FNcfMuJLfcO+tiBfPRTtZVz3JqbrvbdHVktcMz9oz0E77xX3 7TgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id t24-20020a17090aae1800b0027cf74c2526si1229476pjq.0.2023.10.18.03.33.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 03:33:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 0C70A803C44D; Wed, 18 Oct 2023 03:33:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230047AbjJRKcy (ORCPT + 99 others); Wed, 18 Oct 2023 06:32:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjJRKcw (ORCPT ); Wed, 18 Oct 2023 06:32:52 -0400 Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9A15BA; Wed, 18 Oct 2023 03:32:50 -0700 (PDT) Received: by mail-oi1-f169.google.com with SMTP id 5614622812f47-3b2b1af09c5so2710888b6e.0; 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=K3pAfIWVRAhldE4tHtTLVoY503rA/kuzDmW0/8YZlVjOrsbcZeMCBghwUsoPoY5MMZ bW6EdD4M+Wu3fKtgHDaC6f/g/yJnXYibLnEjBLLsh061KHbvHX+a8YsV5u6baRZnOLFn Esao7dAigHk9mX3qYkzg3GCAtp2sPH9rIggZjTNDp5OtrzRHBKlIr81MdIbQGH5OqxmS V11Dimrap+Nj/tnj4pKe7jrqL8qfZagkP7+PXbxI9fEc9wVPlbKCOsUDBN3AUrj/rKB1 q6MvVJsV9KvlLSgE2OcbHwHOugHW9D+dYXaJgJG7sVTZKw+uP4X6YbcgV1q66EHroQP2 ETzw== X-Gm-Message-State: AOJu0YwoQ6k/MMPt8Cj6QhLctAKILQiNBBEctwhqCMKZZzoBLTllnGA3 U3GdDJToMSo1uLvZMpqSkg== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 18 Oct 2023 03:33:02 -0700 (PDT) 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.