Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2001507rwb; Thu, 19 Jan 2023 19:14:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXtJpXKT34v44aX7yPV0REOT41lGn5SZkE1QziVP6Vx73f3v2lid6xvnFdrp2GF9koPNuy7f X-Received: by 2002:a17:902:8b83:b0:194:ab28:3268 with SMTP id ay3-20020a1709028b8300b00194ab283268mr10896914plb.34.1674184458682; Thu, 19 Jan 2023 19:14:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674184458; cv=none; d=google.com; s=arc-20160816; b=BzIeO7yTuBvYGtKAMhfQYc8blQNBP/37PcBcOvHB6LFglQm7AIacMIjlKwwp1p7joz RujZp8755vnozJkh1CgPpzgyccACi7joyDeVtmDBJV/yVbfQRbZLkolmhgdLuPPx2Svh LQbxHxBty9Nqw4nQTgvfDKlCndokvS7gWqQFDM262xQE/KzhC9EAVAl6s0Y+oBruKF6A wPxv5ZOSWvrfo9/sB2gcvA0AzoRweHfBqvOdDSq42HvxLJscXjbzNwX2aweFX4d3Rpsr thlc+wPZfqbd0DPcq6Wn65N4/nFuZT4PTq6jjGoTk8QMwPqXYsuq4GddbIKactgAkDbs bRYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=8k15q3/S51QoDxMMcUo+FnVDcwFKQKTHuY334sTG8sM=; b=TBBmkAEqwnKc45ySuFr3eVE5FMdKr3Kex1+8irfCdq5KVJ4i42321wopHnkLfqM3+3 Jy1LfFqIkxiELtxICpKuTHAxrJF07MIjdaeZt9J7FOF2rrchPgMSqac5dpaqL9jnfFvJ +u2Y2JTqWSe+BmxDN5oBpPlXtcHrEkn/WgIzoqeNOkiaEMKAb2lD3DG0LrnBU4kodK0T osQiJG4eAJyoo9pi0mYuEqQJQMCflUjNNUsZsXjSgkfBN3baER37qhKGr3+saalupErf 9ZxdUDlIeDyDxY/7f824NBpQs0l7DysCFIYtVFmdxTS59Fcqsow+lBIXJ8qkfUwhYTQM AY5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k6-20020a170902c40600b00194c04cded0si6457411plk.189.2023.01.19.19.14.13; Thu, 19 Jan 2023 19:14:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbjATCFD (ORCPT + 46 others); Thu, 19 Jan 2023 21:05:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbjATCFB (ORCPT ); Thu, 19 Jan 2023 21:05:01 -0500 Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A741EA5780; Thu, 19 Jan 2023 18:05:00 -0800 (PST) Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-1322d768ba7so4781583fac.5; Thu, 19 Jan 2023 18:05:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8k15q3/S51QoDxMMcUo+FnVDcwFKQKTHuY334sTG8sM=; b=QN2zFt0lMXVWZA1IHZg7fAsjWO0FRDlTZ21/OD+gTD47RDB9bA6jq3d8bfhYyo/fMY cBWz5BoZ/C8iHGZWyCiwXV82XHQXzLYu4lq9vUDMl/MfA8+fY5bFbVVyRxaSOKSB7jI9 jM97JBo93tNxuy0e4pRvNeddzFAl1WrUePrWorPRbAy0WIpDo35yvxuD7ItpiCsKNaX+ cTkm8dAJkrrqBGFztRKQ7wC8QRMg8+fBOvs10KTmFtI/UwkzC3LuDcbvYMC22ifkLTqB QkogW1pOrK4H8ZAZH30Zmlknp6Ah4kmyMNSYgr0x4ZnWhagor1oBM+rEofb7WvfLqTNX /GfQ== X-Gm-Message-State: AFqh2krFiqytQRZ1mMAvGcGz6Nkc2WAmUhIUJ29OoYymoxjMiPT7a0L+ FDNOa5ubVmBhAy/31SPl+w== X-Received: by 2002:a05:6870:9a88:b0:15e:db7a:cf6a with SMTP id hp8-20020a0568709a8800b0015edb7acf6amr7647755oab.56.1674180299855; Thu, 19 Jan 2023 18:04:59 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id t9-20020a056870f20900b0015f193c86d2sm9507623oao.6.2023.01.19.18.04.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 18:04:59 -0800 (PST) Received: (nullmailer pid 3226249 invoked by uid 1000); Fri, 20 Jan 2023 02:04:58 -0000 From: Rob Herring To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Krzysztof Kozlowski Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: mtd: partitions: Fix partition node name pattern Date: Thu, 19 Jan 2023 20:04:53 -0600 Message-Id: <20230120020454.3225796-1-robh@kernel.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- .../devicetree/bindings/mtd/partitions/partitions.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.0