]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
dt-bindings: i3c: silvaco,i3c-master: fix missing schema restriction
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 9 Jun 2023 14:11:07 +0000 (16:11 +0200)
committerRob Herring <robh@kernel.org>
Fri, 9 Jun 2023 22:14:00 +0000 (16:14 -0600)
Each device schema must end with unevaluatedProperties: false, if it
references other common schema.  Otherwise it would allow any properties
to be listed.

Fixes: b8b0446f1f1a ("dt-bindings: i3c: Describe Silvaco master binding")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230609141107.66128-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml

index 62f3ca66274feb7ea39b74f847ab773c5e1e0711..32c821f97779b7ea95ae2e16ab68698eff8ac8d2 100644 (file)
@@ -44,7 +44,7 @@ required:
   - clock-names
   - clocks
 
-additionalProperties: true
+unevaluatedProperties: false
 
 examples:
   - |