Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7151251rdb; Wed, 3 Jan 2024 06:21:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWTqrkqVbSEvvw3bnN4zpejjClWy+SDkTQ5t0w9GdhTX1PEwFW/1Bl2t5kvZ8bEZ5b0G29 X-Received: by 2002:a50:d783:0:b0:552:2646:7349 with SMTP id w3-20020a50d783000000b0055226467349mr7623728edi.29.1704291669465; Wed, 03 Jan 2024 06:21:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704291669; cv=none; d=google.com; s=arc-20160816; b=TapBhNB2ZZ14THLRzPBKpJ6A4nXpMnA6g+C5sp8KRe3oVOGfV7Zx8u/X3wHn75sjZB K8fa9VjarIlHzA1BnZQVDS+VDJ7DxUpuK22S9NzXzM4eSwkNnjg50eBufsAapBZ9LA7G NS9ZTjHxbIy4bwBVCVRKzt8ePHCnJfXSIHQjjv54VDLUbNrxe/DibGtvFnM0kK8dL4Ip 9/Y1YV93lUYrhI+37xOURTSyEKeQMaQzpAG+Ahvj5cn2Pn8+hI0xLS/l5kClo3X4rKDY PJTEf7Atl5550FAos9TWzIqZxiXjhv1IktF3wZ6E3a5rD1y/k7vPSVoOB+ADs1nKv6aJ 4/Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Bvb45RnFS+kEP29Py4mFpvqfYdOepUjValoNOpE4LSM=; fh=mBTSLllSnLwpEnbbrBV/96fk3s8vYFqa5MpIs70coNo=; b=MmsosbmroqEddLnA9KIINuTllnsHxsEuvC4i9u+eguN+jY5vZeAM9eUUc6vqOkKDlu fiIYRNRbjNJSTJsqD2noNEkAMjCzO1zZiC4ujDe9BltDB+x6kTuRgBT+EmY8dwHilVGH /xbTk4/NDJ2JBaoK3lIcKdiofO5eTigjAIGzBVEMJMbgK3fy5aSuJPmwLeAumTpAJ8sN 2is+yDa7Gx46KFaNYt+fyQ/e1rBoZ3p0VP9otK0Hbl1SN047a41aV2l8tdfqzNiJ2Zfp TxZ3wlOukLjS1fXXwrWxUBurk19EG6X+Z31C5ipk/+t/CKn42qMVbhZh0WO0pAH2sezc p4wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hNp/NtiO"; spf=pass (google.com: domain of linux-kernel+bounces-15641-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15641-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w20-20020a056402269400b0055489a1e26csi10470451edd.270.2024.01.03.06.21.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 06:21:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15641-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hNp/NtiO"; spf=pass (google.com: domain of linux-kernel+bounces-15641-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15641-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2BB541F246B2 for ; Wed, 3 Jan 2024 14:21:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 13EB11A5A3; Wed, 3 Jan 2024 14:21:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hNp/NtiO" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACBF31A585 for ; Wed, 3 Jan 2024 14:20:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a22f59c6ae6so1224521166b.1 for ; Wed, 03 Jan 2024 06:20:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704291655; x=1704896455; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Bvb45RnFS+kEP29Py4mFpvqfYdOepUjValoNOpE4LSM=; b=hNp/NtiOQtzccHHjdpw2r09WJiL5xuh9EBIvPBrj4WAVE028+NCWgXSP9tB3VrsN/5 gNDkhFZfoXD2DOqM4p/rQL+q4LxNq5At5ngOBvZSw/qq/WbdJnBL50rh64Mh/xxP9PsK TJ8GSSze4mi60G9gPFAgVlDVAF8wsRDFdL4cUq+mwtvJ+1pNepb+raBkWCd/p6Tsge27 n7ZCFclh0EQ8UZ46ckixFOrt0XaaDmjXL+AbDe8eqtyMqYb3wwiSQJUoSkzlkpJr3Z0r So/0CQtwPl0/Yei4nwiUc3Ias3jiXNIXDM/gFte+1TL8elUkleAACcCADKMraVl7w5xD z9Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704291655; x=1704896455; 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=Bvb45RnFS+kEP29Py4mFpvqfYdOepUjValoNOpE4LSM=; b=ZoWtjGoPm7clDQ1LBoEbfA5plFIP0xLY0eZ+l5UOsZBjygh9LIZBdOIos+qj1n3/jo G629UXFI2ubBJ3zLDEjshAHTntWDwFC8hS2YGTdWJ6+CrYf6uVflvn2Mm/CiOj0Cz179 2CIQO3zOmmf9nrHMX3CPKoP15LPIPEs1ifG3tG2BG3L4P48VmtiCNlYOf9VMG+CJyErP 6YaZJkWiM3q80nhNINK6dtV+7yZ0n5C8er2KaqLOZX+N036HbRtBSks5GNpg7raIyHE3 H/eo3UequJ288oDBJ0LHofVQ+A9O/cLvOFHkKQgkdm2TeQJ/P7W5M7zLRtSw9gTmGFzS Wymg== X-Gm-Message-State: AOJu0YyRUX2Ds0kT2iXpFnewIQP5rXXJW3DoOiJK+pBLGoHZeaCwdPY2 DMvJP/cNbtCkC5UHID+eR4Jh1Q99iG14Yw== X-Received: by 2002:a17:906:3:b0:a27:908b:e6b2 with SMTP id 3-20020a170906000300b00a27908be6b2mr1793479eja.35.1704291655000; Wed, 03 Jan 2024 06:20:55 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id ka24-20020a170907921800b00a26abf393d0sm12229325ejb.138.2024.01.03.06.20.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 06:20:54 -0800 (PST) From: Krzysztof Kozlowski To: "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Amit Kucheria , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski , Rob Herring , stable@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: thermal: correct thermal zone node name limit Date: Wed, 3 Jan 2024 15:20:50 +0100 Message-Id: <20240103142051.111717-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Linux kernel uses thermal zone node name during registering thermal zones and has a hard-coded limit of 20 characters, including terminating NUL byte. The bindings expect node names to finish with '-thermal' which is eight bytes long, thus we have only 11 characters for the reset of the node name, not 12. Reported-by: Rob Herring Closes: https://lore.kernel.org/all/CAL_JsqKogbT_4DPd1n94xqeHaU_J8ve5K09WOyVsRX3jxxUW3w@mail.gmail.com/ Fixes: 1202a442a31f ("dt-bindings: thermal: Add yaml bindings for thermal zones") Cc: Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/thermal/thermal-zones.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml index 4a8dabc48170..bbc883fd4044 100644 --- a/Documentation/devicetree/bindings/thermal/thermal-zones.yaml +++ b/Documentation/devicetree/bindings/thermal/thermal-zones.yaml @@ -49,7 +49,7 @@ properties: to take when the temperature crosses those thresholds. patternProperties: - "^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$": + "^[a-zA-Z][a-zA-Z0-9\\-]{1,11}-thermal$": type: object description: Each thermal zone node contains information about how frequently it -- 2.34.1