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]
Message-ID:
 <AS8PR02MB92881DA3213861C52AB0EC729B65A@AS8PR02MB9288.eurprd02.prod.outlook.com>
Date: Mon, 26 May 2025 16:42:28 +0000
From: Johan Adolfsson <Johan.Adolfsson@...s.com>
To: Krzysztof Kozlowski <krzk@...nel.org>, Lee Jones <lee@...nel.org>, Pavel
 Machek <pavel@...nel.org>, Rob Herring <robh@...nel.org>, Krzysztof Kozlowski
	<krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, Andrew Davis
	<afd@...com>, Jacek Anaszewski <jacek.anaszewski@...il.com>, Johan Adolfsson
	<Johan.Adolfsson@...s.com>
CC: "linux-leds@...r.kernel.org" <linux-leds@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>, Kernel
	<Kernel@...s.com>
Subject: Re: [PATCH RFC v4 2/2] dt-bindings: leds: lp50xx: Document child reg,
 fix example




>From: Krzysztof Kozlowski <krzk@...nel.org>
>Sent: Monday, May 26, 2025 17:34
>To: Johan Adolfsson; Lee Jones; Pavel Machek; Rob Herring; Krzysztof Kozlowski; Conor Dooley; Andrew Davis; Jacek Anaszewski
>Cc: linux-leds@...r.kernel.org; linux-kernel@...r.kernel.org; devicetree@...r.kernel.org; Kernel
>Subject: Re: [PATCH RFC v4 2/2] dt-bindings: leds: lp50xx: Document child reg, fix example
>
>On 26/05/2025 16:54, Johan Adolfsson wrote:
>> The led child reg node is the index within the bank, document that
>> and update the example accordingly.
>>
>> Signed-off-by: Johan Adolfsson <johan.adolfsson@...s.com>
>> ---
>>  .../devicetree/bindings/leds/leds-lp50xx.yaml         | 19 ++++++++++++-------
>>  1 file changed, 12 insertions(+), 7 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml b/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml
>> index 402c25424525..a7b2d87cc39d 100644
>> --- a/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml
>> +++ b/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml
>> @@ -81,7 +81,12 @@ patternProperties:
>>
>>          properties:
>>            reg:
>> -            maxItems: 1
>> +            minimum: 0
>> +            maximum: 2
>"not compatible with minimum
>  and maximum."
>
>No, it is compatible. Just do:
>
>items:
 > - minimum: 0
  >  maximum: 2

I have tried every variant of that I can think of and can't make it pass the check:
DT_SCHEMA_FILES="Documentation/devicetree/bindings/leds/leds-lp50xx.yaml" make dt_binding_check

Exactly how should it look like? 


>You call this patchset still an RFC, which usually means - do not
>review, not ready. Usually when I review RFC I received negative
>response that why do I review it... Therefore I tend to don't care about
>RFC. Some maintainers completely ignore RFC.
>
>Please EXPLICITLY document in cover letter why this is RFC and what you
>expect from us (IOW, why this is not ready for review).
>
>If dropping RFC, keep versioning (people also tend to do it wrong
>completely messing up the tools), although I see you use b4, so this
>should be without problem.
>
>Best regards,
>Krzysztof

Thank you for your patience!
I think its' ready for review now, If I can figure out the correct syntax for maxItems together with minimum and maximum
(if we need maxItems?) or would v4 be acceptable?

Best regards
/Johan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ