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

From
Wolfram Sang <wsa@kernel.org>
Date
2020-10-05 20:29:27
Also in
dmaengine, dri-devel, linux-can, linux-clk, linux-devicetree, linux-gpio, linux-hwmon, linux-i2c, linux-ide, linux-iio, linux-leds, linux-media, linux-mips, linux-mmc, linux-pci, linux-pm, linux-pwm, linux-riscv, linux-rtc, linux-serial, linux-spi, linux-usb, linux-watchdog, lkml
Reply to
Rob Herring, 2020-10-05
On Mon, Oct 05, 2020 at 01:38:27PM -0500, 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.

Signed-off-by: Rob Herring <robh@kernel.org>
I trust you, so for I2C:

Acked-by: Wolfram Sang <wsa@kernel.org>

Attachments

Thread (37 messages) 37 messages, 17 authors, last reply 2020-10-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help