diff options
author | Rob Herring <robh@kernel.org> | 2023-09-15 23:16:20 +0300 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2023-09-25 09:51:16 +0300 |
commit | 52bb69be6790bafbbbf57b714445704e82d4a97a (patch) | |
tree | 109ab0637b5c78f4e1679f28e0146b8b79dfd116 /Documentation/devicetree/bindings/ata | |
parent | 6465e260f48790807eef06b583b38ca9789b6072 (diff) | |
download | linux-52bb69be6790bafbbbf57b714445704e82d4a97a.tar.xz |
dt-bindings: ata: pata-common: Add missing additionalProperties on child nodes
The PATA child node schema is missing constraints to prevent unknown
properties. As none of the users of this common binding extend the child
nodes with additional properties, adding "additionalProperties: false"
here is sufficient.
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/ata')
-rw-r--r-- | Documentation/devicetree/bindings/ata/pata-common.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ata/pata-common.yaml b/Documentation/devicetree/bindings/ata/pata-common.yaml index 337ddf1113c4..4e867dd4d402 100644 --- a/Documentation/devicetree/bindings/ata/pata-common.yaml +++ b/Documentation/devicetree/bindings/ata/pata-common.yaml @@ -38,6 +38,7 @@ patternProperties: ID number 0 and the slave drive will have ID number 1. The PATA port nodes will be named "ide-port". type: object + additionalProperties: false properties: reg: |