Patch "dt-bindings: serial: fix regex pattern for matching serial node children" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    dt-bindings: serial: fix regex pattern for matching serial node children

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     dt-bindings-serial-fix-regex-pattern-for-matching-se.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 0d98192cf4e0a90078193daabe6d48f32040dc8a
Author: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Date:   Thu Oct 5 11:32:46 2023 +0200

    dt-bindings: serial: fix regex pattern for matching serial node children
    
    [ Upstream commit 42851dfd4dbe38e34724a00063a9fad5cfc48dcd ]
    
    The regular expression pattern for matching serial node children should
    accept only nodes starting and ending with the set of words: bluetooth,
    gnss, gps or mcu.  Add missing brackets to enforce such matching.
    
    Fixes: 0c559bc8abfb ("dt-bindings: serial: restrict possible child node names")
    Reported-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>
    Closes: https://lore.kernel.org/all/20231004170021.36b32465@aktux/
    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
    Acked-by: Rob Herring <robh@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20231005093247.128166-1-krzysztof.kozlowski@xxxxxxxxxx
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml
index ea277560a5966..5727bd549deca 100644
--- a/Documentation/devicetree/bindings/serial/serial.yaml
+++ b/Documentation/devicetree/bindings/serial/serial.yaml
@@ -96,7 +96,7 @@ then:
     rts-gpios: false
 
 patternProperties:
-  "^bluetooth|gnss|gps|mcu$":
+  "^(bluetooth|gnss|gps|mcu)$":
     if:
       type: object
     then:



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux