aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-01-19 20:04:53 -0600
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-01-30 17:03:46 +0100
commitc705e63a323a1a6c8d5830c2c3992586ef5fba26 (patch)
tree8748fd87a25c450b241177b07c0f3d55ee1f6ed5
parentmtd: dataflash: remove duplicate SPI ID table (diff)
downloadwireguard-linux-c705e63a323a1a6c8d5830c2c3992586ef5fba26.tar.xz
wireguard-linux-c705e63a323a1a6c8d5830c2c3992586ef5fba26.zip
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
-rw-r--r--Documentation/devicetree/bindings/mtd/partitions/partitions.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/mtd/partitions/partitions.yaml b/Documentation/devicetree/bindings/mtd/partitions/partitions.yaml
index 9aca4e6c6047..2edc65e0e361 100644
--- a/Documentation/devicetree/bindings/mtd/partitions/partitions.yaml
+++ b/Documentation/devicetree/bindings/mtd/partitions/partitions.yaml
@@ -32,7 +32,7 @@ properties:
enum: [1, 2]
patternProperties:
- "partition(-.+|@[0-9a-f]+)":
+ "^partition(-.+|@[0-9a-f]+)$":
$ref: partition.yaml
required: