[PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'

Vinod Koul vkoul at kernel.org
Tue Oct 6 01:29:40 EDT 2020


On 05-10-20, 13:38, Rob Herring wrote:
> This doesn't yet do anything in the tools, but make it explicit so we can
> check either 'unevaluatedProperties' or 'additionalProperties' is present
> in schemas.
> 
> 'unevaluatedProperties' is appropriate when including another schema (via
> '$ref') and all possible properties and/or child nodes are not
> explicitly listed in the schema with the '$ref'.
> 
> This is in preparation to add a meta-schema to check for missing
> 'unevaluatedProperties' or 'additionalProperties'. This has been a
> constant source of review issues.

Acked-By: Vinod Koul <vkoul at kernel.org>

-- 
~Vinod



More information about the linux-mtd mailing list