Re: [PATCH] dt-bindings: PCI: ti,am65: Convert PCIe host/endpoint mode dt-bindings to YAML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11:04-20210526, Rob Herring wrote:

[...]

> > > +unevaluatedProperties: false
> >
> > Is it possible to lock this down further with additionalProperties: false?
> 
> unevaluatedProperties is what we want here.
> 
> > I could add some ridiculous property like system-controller; to the
> > example and the checks wont catch it.
> 
> Yes, because unevaluatedProperties is currently unimplemented. Once
> the upstream jsonschema tool supports it[1], there will be warnings.
> The other way we could address this is there are $ref resolving tools
> that flatten schemas.
> 
> [1] https://github.com/Julian/jsonschema/issues/613#issuecomment-636026577


Aha.. Thanks.

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux