Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp340612pxb; Fri, 15 Apr 2022 00:23:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz23yw6zQIjwQAImNCC5PKPJY6vFGjc20nePBqCY7ZCWFXbN9GBdWbxliB226rFmZ5kgwJ4 X-Received: by 2002:a17:906:a005:b0:6e8:947b:7530 with SMTP id p5-20020a170906a00500b006e8947b7530mr5261745ejy.320.1650007414959; Fri, 15 Apr 2022 00:23:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650007414; cv=none; d=google.com; s=arc-20160816; b=C7egQ3Rgfuz9y8QL8YTwSW/ujkv8ehCHrpmPFob1sjSEkWSlw7hHdPgsbbDT+vbTYM VLoyGLv3tbGpX8AkbBiBoqAOOtk62bNFvEWds4baN9y8GYG8c8M4K8wxGQPN15isNa2G 1z9psR2+mbvoeVDsLS+M/Ii/T6wHKXfH2c7EhlgoRbLjCpDWm3jFOYXj4kcVYHtDzXqZ uuaPFLnNqqTKGOWyZ7Xtjg21na7jocaJcfMlqRtU1ZKmA4f99OtYhpsGx2i3XXnnaVAX FLmkseKTRoP/+Cx/spSP9dy0hZmuB8jT+ixeGOILXLljGPTRXHfDNP3UVoBimG2lxikI 22fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:references:in-reply-to :cc:to:from; bh=1uOhWs8cm16131L6dfi8BY/Hr1kwqioEhMv1kPjh21A=; b=oZjQpWoFT1PlP+MLrwp3exoV9E2PBIt4nc3jzdv5bVb1vie5wGJX+jr6IhlKXJggKT GGz+CrKAh7phGVPwKeVcmhfPipHLzoSUhog8kD+l4biREh1gj3sP3iW1tBSE5C45a2p7 Ou4g+uZONZ7KEX+XCICRn3sl2Cfrz/RbMfe/Am7xMGtfqDgK85duHcgdADN8cLFUNEuR e/IwTrv6WPbJd8fxsQkuK5sthfoFLPtIqtVovERWj41/Q1QWop1TOnOiraVt9FRwhh+w WNsw2+rOEm/3MFoRWhl0vYrVJGC8B+tDV1xPyimBuB0woNC5KkG+XdondTu5ouWDaFbD 2xZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f6-20020a1709064dc600b006e89cb29660si458545ejw.994.2022.04.15.00.22.54; Fri, 15 Apr 2022 00:23:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 S233980AbiDNNgJ (ORCPT + 99 others); Thu, 14 Apr 2022 09:36:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344150AbiDNNal (ORCPT ); Thu, 14 Apr 2022 09:30:41 -0400 Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BADFE6; Thu, 14 Apr 2022 06:28:16 -0700 (PDT) Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-ddfa38f1c1so5209497fac.11; Thu, 14 Apr 2022 06:28:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject:date :message-id; bh=1uOhWs8cm16131L6dfi8BY/Hr1kwqioEhMv1kPjh21A=; b=n5HIYEo0RplCPe63s7fiDIbFnbQl/vT4PiFq0QMHxuT4cCGZg6fZoCveh01zMR2pYb qvCUC+1b361Vjhzr09bJmwlLJbl3wbP3WnXUIm/7fme8x6Av3I0UmX+DskRV0JAvxEXm hPpfm9bH486vFn0ITdpKeVKLqXDLz6L7KUAkl6TrvDxPaiXJNKDGyROje6bTwzIziknT WMxlSeXeKRtKPlh/FRqhdz4JePFYl+o52e+is6JLKzJPU7dHcHTqiZ+4eMwE7+9k4Hhu HIB7I+ChBKux+ZBx6+XQh3C0HWO3YhYCNHDsnGuNc6OQWUFjT2SSP9hHgt9IzKpbESFS 79vw== X-Gm-Message-State: AOAM531VBeulcAsz02HQ08hu4/4UqmvD4Rtfio0b/tz4Y/ISHI75VVDE ofVO2GxNYL/nzx+qauan0g== X-Received: by 2002:a05:6870:d0ce:b0:de:79e2:7ec7 with SMTP id k14-20020a056870d0ce00b000de79e27ec7mr1224269oaa.245.1649942895544; Thu, 14 Apr 2022 06:28:15 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id o8-20020a05680803c800b00321034c99a6sm8965oie.3.2022.04.14.06.28.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 06:28:15 -0700 (PDT) Received: (nullmailer pid 1863786 invoked by uid 1000); Thu, 14 Apr 2022 13:28:14 -0000 From: Rob Herring To: Corentin Labbe Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, herbert@gondor.apana.org.au, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, heiko@sntech.de, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20220413190713.1427956-25-clabbe@baylibre.com> References: <20220413190713.1427956-1-clabbe@baylibre.com> <20220413190713.1427956-25-clabbe@baylibre.com> Subject: Re: [PATCH v5 24/33] dt-bindings: crypto: convert rockchip-crypto to YAML Date: Thu, 14 Apr 2022 08:28:14 -0500 Message-Id: <1649942894.398402.1863785.nullmailer@robh.at.kernel.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, 13 Apr 2022 19:07:04 +0000, Corentin Labbe wrote: > Convert rockchip-crypto to YAML. > > Signed-off-by: Corentin Labbe > --- > .../crypto/rockchip,rk3288-crypto.yaml | 66 +++++++++++++++++++ > .../bindings/crypto/rockchip-crypto.txt | 28 -------- > 2 files changed, 66 insertions(+), 28 deletions(-) > create mode 100644 Documentation/devicetree/bindings/crypto/rockchip,rk3288-crypto.yaml > delete mode 100644 Documentation/devicetree/bindings/crypto/rockchip-crypto.txt > 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/crypto/rockchip,rk3288-crypto.yaml:30:7: [error] duplication of key "const" in mapping (key-duplicates) ./Documentation/devicetree/bindings/crypto/rockchip,rk3288-crypto.yaml:31:7: [error] duplication of key "const" in mapping (key-duplicates) ./Documentation/devicetree/bindings/crypto/rockchip,rk3288-crypto.yaml:32:7: [error] duplication of key "const" in mapping (key-duplicates) dtschema/dtc warnings/errors: make[1]: *** Deleting file 'Documentation/devicetree/bindings/crypto/rockchip,rk3288-crypto.example.dts' Documentation/devicetree/bindings/crypto/rockchip,rk3288-crypto.yaml: found duplicate key "const" with value "hclk" (original value: "aclk") make[1]: *** [Documentation/devicetree/bindings/Makefile:26: Documentation/devicetree/bindings/crypto/rockchip,rk3288-crypto.example.dts] Error 1 make[1]: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "/usr/local/bin/dt-doc-validate", line 25, in check_doc testtree = dtschema.load(filename, line_number=line_number) File "/usr/local/lib/python3.8/dist-packages/dtschema/lib.py", line 912, in load return yaml.load(f.read()) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/main.py", line 434, in load return constructor.get_single_data() File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 121, in get_single_data return self.construct_document(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 131, in construct_document for _dummy in generator: File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 674, in construct_yaml_map value = self.construct_mapping(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 445, in construct_mapping return BaseConstructor.construct_mapping(self, node, deep=deep) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 263, in construct_mapping if self.check_mapping_key(node, key_node, mapping, key, value): File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 294, in check_mapping_key raise DuplicateKeyError(*args) ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping in "", line 29, column 7 found duplicate key "const" with value "hclk" (original value: "aclk") in "", line 30, column 7 To suppress this check see: http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/dt-doc-validate", line 74, in ret = check_doc(f) File "/usr/local/bin/dt-doc-validate", line 30, in check_doc print(filename + ":", exc.path[-1], exc.message, file=sys.stderr) AttributeError: 'DuplicateKeyError' object has no attribute 'path' /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/crypto/rockchip,rk3288-crypto.yaml: ignoring, error parsing file make: *** [Makefile:1401: dt_binding_check] Error 2 doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/patch/ This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. 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.