lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 26 Jul 2023 11:32:52 -0600
From:   Rob Herring <robh@...nel.org>
To:     Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc:     Saravanan Sekar <sravanhome@...il.com>,
        Liam Girdwood <lgirdwood@...il.com>,
        Mark Brown <broonie@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Conor Dooley <conor+dt@...nel.org>,
        Andy Gross <agross@...nel.org>,
        Bjorn Andersson <andersson@...nel.org>,
        Konrad Dybcio <konrad.dybcio@...aro.org>,
        Maxime Coquelin <mcoquelin.stm32@...il.com>,
        Alexandre Torgue <alexandre.torgue@...s.st.com>,
        Robin Gong <yibin.gong@....com>,
        ChiYuan Huang <cy_huang@...htek.com>,
        Pascal Paillet <p.paillet@...s.st.com>,
        - <patches@...nsource.cirrus.com>, linux-kernel@...r.kernel.org,
        devicetree@...r.kernel.org, linux-arm-msm@...r.kernel.org,
        linux-stm32@...md-mailman.stormreply.com,
        linux-arm-kernel@...ts.infradead.org,
        Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Subject: Re: [PATCH v2] regulator: dt-bindings: add missing
 unevaluatedProperties for each regulator

On Wed, Jul 26, 2023 at 09:49:40AM +0200, Krzysztof Kozlowski wrote:
> Each regulator node, which references common regulator.yaml schema,
> should disallow additional or unevaluated properties.  Otherwise
> mistakes in properties will go unnoticed.
> 
> Reported-by: Konrad Dybcio <konrad.dybcio@...aro.org>
> Closes: https://git.codelinaro.org/linaro/qcomlt/kernel/-/commit/1c8aeef8a6e84520b77f0c270d99c8bf692c5933
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>

Humm, I have a meta-schema to check this and did a pass fixing them, but 
seems some of them I missed. I'll have to check the meta-schema (still 
some false positives in it, so I haven't committed it)

> 
> ---
> 
> Cc: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
> 
> Changes in v2:
> 1. Rebase, drop patches from work-in-progress branch
> ---
>  Documentation/devicetree/bindings/regulator/mps,mp5416.yaml   | 2 ++
>  Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml  | 2 ++
>  Documentation/devicetree/bindings/regulator/pfuze100.yaml     | 4 ++++
>  .../devicetree/bindings/regulator/qcom,rpmh-regulator.yaml    | 2 ++
>  .../devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml | 1 +
>  .../bindings/regulator/richtek,rt4831-regulator.yaml          | 1 +
>  .../bindings/regulator/richtek,rtmv20-regulator.yaml          | 1 +
>  .../bindings/regulator/richtek,rtq6752-regulator.yaml         | 1 +
>  .../devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml    | 2 +-
>  Documentation/devicetree/bindings/regulator/wlf,arizona.yaml  | 2 ++
>  10 files changed, 17 insertions(+), 1 deletion(-)

Reviewed-by: Rob Herring <robh@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ