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

Vanessa Page Vebpe at outlook.com
Wed Jan 25 18:00:08 CET 2023


You are a disgusting disgraceful piece of shit as human being you deserve to eat yeah and literal human feces until you DIE motherfucker. You dumb fuck. Have nothing better to do. KEEP talking motherfucker KEEP FUCKING talking. YOUR DELUSIONAL. It’s sad

________________________________
From: linux-mtd <linux-mtd-bounces at lists.infradead.org> on behalf of Bartosz Golaszewski <brgl at bgdev.pl>
Sent: Wednesday, January 25, 2023 8:01 AM
To: Rob Herring <robh at kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt at linaro.org>; David Airlie <airlied at gmail.com>; Daniel Vetter <daniel at ffwll.ch>; Jean Delvare <jdelvare at suse.com>; Guenter Roeck <linux at roeck-us.net>; Thomas Gleixner <tglx at linutronix.de>; Marc Zyngier <maz at kernel.org>; Jassi Brar <jassisinghbrar at gmail.com>; Mauro Carvalho Chehab <mchehab at kernel.org>; Lee Jones <lee at kernel.org>; Ulf Hansson <ulf.hansson at linaro.org>; Richard Weinberger <richard at nod.at>; Vignesh Raghavendra <vigneshr at ti.com>; Sebastian Reichel <sre at kernel.org>; Mark Brown <broonie at kernel.org>; Rafael J. Wysocki <rafael at kernel.org>; Daniel Lezcano <daniel.lezcano at linaro.org>; Greg Kroah-Hartman <gregkh at linuxfoundation.org>; linux-arm-kernel at lists.infradead.org <linux-arm-kernel at lists.infradead.org>; dri-devel at lists.freedesktop.org <dri-devel at lists.freedesktop.org>; linux-gpio at vger.kernel.org <linux-gpio at vger.kernel.org>; linux-hwmon at vger.kernel.org <linux-hwmon at vger.kernel.org>; linux-media at vger.kernel.org <linux-media at vger.kernel.org>; openbmc at lists.ozlabs.org <openbmc at lists.ozlabs.org>; linux-mmc at vger.kernel.org <linux-mmc at vger.kernel.org>; linux-mtd at lists.infradead.org <linux-mtd at lists.infradead.org>; linux-pm at vger.kernel.org <linux-pm at vger.kernel.org>; alsa-devel at alsa-project.org <alsa-devel at alsa-project.org>; linux-spi at vger.kernel.org <linux-spi at vger.kernel.org>; linux-usb at vger.kernel.org <linux-usb at vger.kernel.org>
Subject: Re: [PATCH] dt-bindings: Add missing (unevaluated|additional)Properties on child node schemas

On Wed, Jan 25, 2023 at 12:00 AM Rob Herring <robh at kernel.org> 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>
> ---

[...]

>  .../devicetree/bindings/gpio/x-powers,axp209-gpio.yaml |  1 +

[...]

> diff --git a/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml b/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
> index 7f26f6b1eea1..31906c253940 100644
> --- a/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
> +++ b/Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml
> @@ -35,6 +35,7 @@ properties:
>  patternProperties:
>    "^.*-pins?$":
>      $ref: /schemas/pinctrl/pinmux-node.yaml#
> +    additionalProperties: false
>
>      properties:
>        pins:

Acked-by: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>

[...]

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/


More information about the Alsa-devel mailing list