Messages in this thread | | | Date | Tue, 7 Jun 2022 08:34:31 +0200 | Subject | Re: [PATCH] dt-bindings: Drop more redundant 'maxItems/minItems' in if/then schemas | From | Krzysztof Kozlowski <> |
| |
On 07/06/2022 00:51, Rob Herring wrote: > Another round from new cases in 5.19-rc of removing redundant > minItems/maxItems when 'items' list is specified. This time it is in > if/then schemas as the meta-schema was failing to check this case. > > If a property has an 'items' list, then a 'minItems' or 'maxItems' with the > same size as the list is redundant and can be dropped. Note that is DT > schema specific behavior and not standard json-schema behavior. The tooling > will fixup the final schema adding any unspecified minItems/maxItems. > > Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards, Krzysztof
| |