Skip to content

Commit

Permalink
dt-bindings: ata: pata-common: Add missing additionalProperties on ch…
Browse files Browse the repository at this point in the history
…ild 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>
  • Loading branch information
Rob Herring authored and Damien Le Moal committed Sep 25, 2023
1 parent 6465e26 commit 52bb69b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/ata/pata-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 52bb69b

Please sign in to comment.