[PATCH] dt-bindings: Add missing (unevaluated|additional)Properties on child node schemas

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Jan 25 06:35:25 PST 2023


On Tue, Jan 24, 2023 at 05:02:28PM -0600, Rob Herring wrote:
> Just as unevaluatedProperties or additionalProperties are required at
> the top level of schemas, they should (and will) also be required for
> child node schemas. That ensures only documented properties are
> present.
> 
> Add unevaluatedProperties or additionalProperties as appropriate, and
> then add any missing properties flagged by the addition.
> 
> Signed-off-by: Rob Herring <robh at kernel.org>

Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>



More information about the linux-mtd mailing list