mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
dt-bindings: mtd: partitions: Fix partition node name pattern
The 'partition' node name pattern is missing start and end anchors, so anything is allowed before or after the regex pattern. There's no in tree users needing that, so add anchors to the pattern. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Pratyush Yadav <ptyadav@amazon.de> Reviewed-by: Dhruva Gole <d-gole@ti.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230120020454.3225796-1-robh@kernel.org
This commit is contained in:
parent
a30144c02c
commit
c705e63a32
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ properties:
|
|||
enum: [1, 2]
|
||||
|
||||
patternProperties:
|
||||
"partition(-.+|@[0-9a-f]+)":
|
||||
"^partition(-.+|@[0-9a-f]+)$":
|
||||
$ref: partition.yaml
|
||||
|
||||
required:
|
||||
|
|
Loading…
Reference in a new issue