dt-bindings: ata: pata-common: Add missing additionalProperties on child nodes
Subsystems (2)
Rob Herring
maintainerPATCH 1/1 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.
--- Documentation/devicetree/bindings/ata/pata-common.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/ata/pata-common.yaml +1 -0
@@ -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:
Signature · 1 line
2.40.1
Quoted 6 lines · Rob Herring
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 <[email protected]>
Thanks,
Conor.
Quoted 19 lines
--- Documentation/devicetree/bindings/ata/pata-common.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/ata/pata-common.yaml +1
-0@@ -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:Signature · 1 line
2.40.1
Quoted 6 lines · Rob Herring
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 <[email protected]>
Applied to for-6.6-fixes. Thanks !
Quoted 16 lines
--- Documentation/devicetree/bindings/ata/pata-common.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/ata/pata-common.yaml +1
-0@@ -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:
Signature · 2 lines
Damien Le Moal Western Digital Research