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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Jan 25 15:35:02 CET 2023


On Tue, Jan 24, 2023 at 05:00:48PM -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>
> ---
> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt at linaro.org>
> To: David Airlie <airlied at gmail.com>
> To: Daniel Vetter <daniel at ffwll.ch>
> To: Bartosz Golaszewski <brgl at bgdev.pl>
> To: Jean Delvare <jdelvare at suse.com>
> To: Guenter Roeck <linux at roeck-us.net>
> To: Thomas Gleixner <tglx at linutronix.de>
> To: Marc Zyngier <maz at kernel.org>
> To: Jassi Brar <jassisinghbrar at gmail.com>
> To: Mauro Carvalho Chehab <mchehab at kernel.org>
> To: Lee Jones <lee at kernel.org>
> To: Ulf Hansson <ulf.hansson at linaro.org>
> To: Richard Weinberger <richard at nod.at>
> To: Vignesh Raghavendra <vigneshr at ti.com>
> To: Sebastian Reichel <sre at kernel.org>
> To: Mark Brown <broonie at kernel.org>
> To: "Rafael J. Wysocki" <rafael at kernel.org>
> To: Daniel Lezcano <daniel.lezcano at linaro.org>
> To: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: dri-devel at lists.freedesktop.org
> Cc: linux-gpio at vger.kernel.org
> Cc: linux-hwmon at vger.kernel.org
> Cc: linux-media at vger.kernel.org
> Cc: openbmc at lists.ozlabs.org
> Cc: linux-mmc at vger.kernel.org
> Cc: linux-mtd at lists.infradead.org
> Cc: linux-pm at vger.kernel.org
> Cc: alsa-devel at alsa-project.org
> Cc: linux-spi at vger.kernel.org
> Cc: linux-usb at vger.kernel.org

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


More information about the Alsa-devel mailing list