diff options
author | Rob Herring <robh@kernel.org> | 2022-11-19 01:37:27 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-12-06 23:50:35 +0300 |
commit | 7621aabdae410cfc0c28358baab7ae13c551aa7c (patch) | |
tree | 886b916d2ce200c4a633f5cbf7b9cb28734c19f3 /Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml | |
parent | f980520b0747e5621930e0420cd0be54cbdddeb3 (diff) | |
download | linux-7621aabdae410cfc0c28358baab7ae13c551aa7c.tar.xz |
dt-bindings: Add missing start and/or end of line regex anchors
json-schema patterns by default will match anywhere in a string, so
typically we want at least the start or end anchored. Fix the obvious
cases where the anchors were forgotten.
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20221118223728.1721589-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml b/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml index d60f43fd9c5a..e63e6458cea8 100644 --- a/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/mediatek,mt7621-pcie.yaml @@ -31,7 +31,7 @@ properties: maxItems: 2 patternProperties: - 'pcie@[0-2],0': + '^pcie@[0-2],0$': type: object $ref: /schemas/pci/pci-bus.yaml# |