[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d0a42b1c-8ddc-fc97-c675-70a5b7601580@nvidia.com>
Date: Fri, 6 Nov 2020 09:18:46 -0800
From: Sowjanya Komatineni <skomatineni@...dia.com>
To: Rob Herring <robh@...nel.org>
CC: <thierry.reding@...il.com>, <linux-kernel@...r.kernel.org>,
<robh+dt@...nel.org>, <linux-tegra@...r.kernel.org>,
<linux-ide@...r.kernel.org>, <devicetree@...r.kernel.org>,
<jonathanh@...dia.com>
Subject: Re: [PATCH v1 1/4] dt-bindings: ata: tegra: Convert binding
documentation to YAML
On 11/6/20 8:41 AM, Sowjanya Komatineni wrote:
>
> On 11/6/20 8:11 AM, Rob Herring wrote:
>> On Thu, 05 Nov 2020 18:16:05 -0800, Sowjanya Komatineni wrote:
>>> This patch converts text based dt-binding document to YAML based
>>> dt-binding document.
>>>
>>> Signed-off-by: Sowjanya Komatineni <skomatineni@...dia.com>
>>> ---
>>> .../devicetree/bindings/ata/nvidia,tegra-ahci.yaml | 152
>>> +++++++++++++++++++++
>>> .../bindings/ata/nvidia,tegra124-ahci.txt | 44 ------
>>> 2 files changed, 152 insertions(+), 44 deletions(-)
>>> create mode 100644
>>> Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.yaml
>>> delete mode 100644
>>> Documentation/devicetree/bindings/ata/nvidia,tegra124-ahci.txt
>>>
>>
>> My bot found errors running 'make dt_binding_check' on your patch:
>>
>> yamllint warnings/errors:
>>
>> dtschema/dtc warnings/errors:
>> Error:
>> Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.example.dts:27.31-32
>> syntax error
>> FATAL ERROR: Unable to parse input tree
>> make[1]: *** [scripts/Makefile.lib:342:
>> Documentation/devicetree/bindings/ata/nvidia,tegra-ahci.example.dt.yaml]
>> Error 1
>> make[1]: *** Waiting for unfinished jobs....
>> make: *** [Makefile:1364: dt_binding_check] Error 2
>>
>>
>> See https://patchwork.ozlabs.org/patch/1395390
>>
>> The base for the patch is generally the last rc1. Any dependencies
>> should be noted.
>>
>> 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.
> Thanks Rob. Will re-try after installing up-to-date.
Somehow running 'make dt_binding_check' gives below error.
I have yamllint newest version (1.2.1-1). Any specific version of
yamllint is needed?
LINT Documentation/devicetree/bindings
invalid config: unknown option "max-spaces-inside-empty" for rule "braces"
xargs: /usr/bin/yamllint: exited with status 255; aborting
Documentation/devicetree/bindings/Makefile:59: recipe for target
'Documentation/devicetree/bindings/processed-schema-examples.json' failed
make[1]: ***
[Documentation/devicetree/bindings/processed-schema-examples.json] Error 124
Makefile:1362: recipe for target 'dt_binding_check' failed
make: *** [dt_binding_check] Error 2
Powered by blists - more mailing lists