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] [day] [month] [year] [list]
Message-ID: <20220607124236.GA1786135@roeck-us.net>
Date:   Tue, 7 Jun 2022 05:42:36 -0700
From:   Guenter Roeck <linux@...ck-us.net>
To:     Rob Herring <robh@...nel.org>
Cc:     Jean Delvare <jdelvare@...e.com>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Camel Guo <camel.guo@...s.com>,
        Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
        linux-hwmon@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: hwmon: ti,tmp401: Drop 'items' from
 'ti,n-factor' property

On Mon, Jun 06, 2022 at 04:22:22PM -0500, Rob Herring wrote:
> 'ti,n-factor' is a scalar type, so 'items' should not be used as that is
> for arrays/matrix.
> 
> A pending meta-schema change will catch future cases.
> 
> Fixes: bd90c5b93950 ("dt-bindings: hwmon: Add TMP401, TMP411 and TMP43x")
> Signed-off-by: Rob Herring <robh@...nel.org>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>

Applied.

Thanks,
Guenter

> ---
>  Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml
> index fe0ac08faa1a..0e8ddf0ad789 100644
> --- a/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml
> @@ -40,9 +40,8 @@ properties:
>        value to be used for converting remote channel measurements to
>        temperature.
>      $ref: /schemas/types.yaml#/definitions/int32
> -    items:
> -      minimum: -128
> -      maximum: 127
> +    minimum: -128
> +    maximum: 127
>  
>    ti,beta-compensation:
>      description:

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ