Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp976126rdb; Fri, 20 Oct 2023 05:17:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF21WudLlguJwvsrfV/A2c4AjDOlrvm4LmhsoXpbwe1naDPbwDlOxO6mC5bPcR+nmrp6aeB X-Received: by 2002:a17:90a:194:b0:27d:5964:4ef0 with SMTP id 20-20020a17090a019400b0027d59644ef0mr1782688pjc.10.1697804236455; Fri, 20 Oct 2023 05:17:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697804236; cv=none; d=google.com; s=arc-20160816; b=RX+/8EEJhOmLdsUeTGGGB7JQYnsfS5loIBHZ0MuhxMvU0B+B1EsPbMihcfqFLPovM9 eAb8BHJY16wlEpoHesDsz+YIQ+aupN5FF62Usoc50WvaH4VRgOqQziBP0kBpIW4Cl0Sx f/O3ar/g+xowIzR9n4SB1VtXajYFD7dtVRKOUMVIqkT8yNAFzmb6cXgKHBqiEXPzSVCk ZmhUzyVF38y7Lm5nZfarufn+T5F7FnWsgEPSPi7BgwLikyWQhLuL3Xna++rb7+IGwNnt QLGCkyTIZfNVZ3GgBYFg/TimaeOVyywU5wAAgdeuJT9pJEfxkhhHEMAwaMLwfn+SnqCb 7rVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:content-language:references:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=l0oxjU+Bw9G0ubgdzjKtkjk5hVoESSK3F5LmSH9BDiA=; fh=g9FkIWWFa6Wx9bSPtwv1ZBpQP31ChsWnag0UbRx0zlU=; b=cw438M/MYNMgHa4Q0nLDgYrlxmzbrryVzXel50wY2RApGRcoE6AP0yY7ApaBAdTofi A8P9Lu2w7fGdZEksiqIG69D0Mko9AsREEJRY5sMZmIs3VgNHCkyDi2nKSaM76zhsC+Bm 1FCMNgxlYJjWoxD0uaO1yaORac0PsAmvEhrCidOdfWZODCMcTiiGKCMq2lJQjr38/BU/ j/Tyz/nEpXM6I4UuM2R39t/VdauDRpBoTrNvkOzSSGtonWGbMU/fQVO/n0Cap/B4wCZl 2GyaxtyAfyV2opWzg2skuB0jusfKyFO28jcFpx6TAau/7N7zPXfjVvBnHUs9o7LNRlXL koSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kv9jsNAz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id bf20-20020a17090b0b1400b0027921228848si4289414pjb.133.2023.10.20.05.17.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 05:17:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kv9jsNAz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 112A883AEFD6; Fri, 20 Oct 2023 05:17:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377084AbjJTMRG (ORCPT + 99 others); Fri, 20 Oct 2023 08:17:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376941AbjJTMRE (ORCPT ); Fri, 20 Oct 2023 08:17:04 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D69189E for ; Fri, 20 Oct 2023 05:17:01 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2c17de836fbso10412911fa.1 for ; Fri, 20 Oct 2023 05:17:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697804220; x=1698409020; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=l0oxjU+Bw9G0ubgdzjKtkjk5hVoESSK3F5LmSH9BDiA=; b=Kv9jsNAzpJv90gm2XL0KpbmKOqYuIyGrEEwlB89z04uGXpZmYPR+dKfBFpD4lS1dDO 9fv2JeowlqCkB25NpZSzr6ptV6gcH/6RjHOWe0qEeV5TLvGpRgBZiP6LyFf3itZdG5nh MrdgP4JG2ujkEiDZpIy9+cQSN2uaEijbsLJNUgcutPqc3M1iqbQPd5URx98fjCJ1FVtL o6PHNhkccTHaghIzJ8H9zG98iLAMxbD498dmhuRHZIEZffRFKKXyBkR8WG5r1IUBS57L j57sK/feinfVuxk+smCOYhSwOZbsujKCeDBsXuRl9Ri9aduiH1ysr8DkuLcZx2a1f53D EAHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697804220; x=1698409020; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=l0oxjU+Bw9G0ubgdzjKtkjk5hVoESSK3F5LmSH9BDiA=; b=IdgdUh+HtQyCaD0Ck9w2g83epqsLnFf4iKVr2U/rFJ3JoPxq5q1/NbzJPObZiIhCuf vqsQw1UEtahmxLm9+/lXVcGhCAJbp93Nc53ZxM7BAt5NMvnHBcsclfwUYvhw9K9DUn1I yClX91ETwMddYTP29CTrMxeGoNtcAXAMe4BSDgiyOJ6zv9vuLSMQIEEFLedahC8ARr2S BrB16ZXxHXcfNDQDJJnfYPtYJ/iRkL/zPUDv3lTLNOHG+VXiCeWfNnz9LglkY3ivGemq q8SwNkgRuYicSYAmyRe4dJANlcDQMnD2sWalojVSqTjL+c0yhk3b98iswANrPwmpLav1 /TcA== X-Gm-Message-State: AOJu0Yz1bk91H2g7+//UDu0vOuQPQbSpq5NnEav7xMDoPNjapOo94vyp FOpbpULhrFGs09CXrbda23L9rw== X-Received: by 2002:a05:651c:4d4:b0:2c5:1abb:7077 with SMTP id e20-20020a05651c04d400b002c51abb7077mr2002878lji.1.1697804220076; Fri, 20 Oct 2023 05:17:00 -0700 (PDT) Received: from [192.168.1.20] ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id p15-20020a05600c1d8f00b00402d34ea099sm6879209wms.29.2023.10.20.05.16.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Oct 2023 05:16:59 -0700 (PDT) Message-ID: <46872f25-fc3c-40ee-8f76-ed83f44a4f76@linaro.org> Date: Fri, 20 Oct 2023 14:16:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v4 1/7] dt-bindings: net: dsa: Require ports or ethernet-ports To: Linus Walleij Cc: Rob Herring , 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 References: <20231018-marvell-88e6152-wan-led-v4-0-3ee0c67383be@linaro.org> <20231018-marvell-88e6152-wan-led-v4-1-3ee0c67383be@linaro.org> <169762516670.391804.7528295251386913602.robh@kernel.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GG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== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 20 Oct 2023 05:17:14 -0700 (PDT) On 20/10/2023 13:41, Linus Walleij wrote: > On Fri, Oct 20, 2023 at 1:10 PM Krzysztof Kozlowski > wrote: >> On 18/10/2023 13:11, Linus Walleij wrote: >>> On Wed, Oct 18, 2023 at 12:32 PM Rob Herring wrote: >>>> On Wed, 18 Oct 2023 11:03:40 +0200, Linus Walleij wrote: > > >>>> 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) >>> >>> Really? >>> >>> + oneOf: >>> + - required: >>> + - ports >> >> .........^ here >> >>> + - required: >>> + - ethernet-ports >>> >>> Two spaces after the oneOf, 2 spaces after a required as usual. >>> I don't get it. >> >> Although YAML accepts your indentation, yamllint does not and we always, >> always, expected yamllint flavor of syntax. > > That's chill, however I can't reproduce this, make dt_bindings_check in the > mainline kernel does not yield this warning (after pip install > --upgrade --user dtschema > and yamllint is installed and all), so right now my only way of testing this > patch is to mail it to the mailing list and have it tested by Rob's bot. Just tried on top of next/master and v6.5: correctly report this warning from yamllint. Maybe you do not have yamlling installed or you have Python mismatches (e.g. yamllint installed for Python2 but use Python3 here). > > I just don't understand what I'm supposed to do... drop the dash-space "- " in > front of "- ports"? Then the bot will be happy? Missing two spaces, so 6 -> 8 spaces. Best regards, Krzysztof