Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1720461pxm; Fri, 4 Mar 2022 02:02:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyEoK8zlmZzAx0adCAZ6iFEKNioFeSVKIkVl5qFvPxeb4nldG9mGLQreaxlr/WYnjofnFWk X-Received: by 2002:aa7:cfd2:0:b0:416:b04:bb60 with SMTP id r18-20020aa7cfd2000000b004160b04bb60mr495506edy.76.1646388126512; Fri, 04 Mar 2022 02:02:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646388126; cv=none; d=google.com; s=arc-20160816; b=kkxxKf9juXXBx2sMPE1l1UalXVGiHLLLCXO8ChxaLP9QR+AKfDMMJb0AajraPMlCut yoPIZPWX5JeGXhYeQ6hWvVNR2nzzhM2p6He27IMdxZC1EkBtkCZ+iUeZngm3SFqMkK/o j4Tx+8aVg0x64C5k1G1kN4uzx3B/chSWaiLVZp0b05vuJuMM3AwrU9Y+KMXrpDoU5M/P hJ/4LcMkyHWjjT4U5RVznSmcKZs5xgQT5jVHEjh154yFne648ph/C/bDWcno4fWk7kxu EOL7/Nq0H3U8zKag3Me/oC/9JgYHjmjjzi+9EXHhQPHDyVfabU9GmEqcNr2DTkvAl2W9 Yd4g== 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=DSkWNUygoFllhMK/e+tGM/T1Vv9qWNlJs5zfF4YOiUE=; b=HSDpd4e/u+gFsSRkt2ayars3f/xQrq83PCzWXBWkPkYyFZeIG3Lbogdu1l0u3bGg9W c0rVSmy5RPm6TORWE5NsKtUMUoJNTLDxzNim2cmKMxl+wCKVraXEVdKCW+BQFOyGqxGO gkQW+2nYjtaQbhcnJ1VfAzpBRWULUGyuHiaV6XlRb+q8AgJnmQ8F6bBoGxtZZT3OIwlQ YzAIsQMbpyINhiXE0hzT1cUOBV/YBod8BAG2HdD1l3qY0Dp1loBqE3NrKPZTLDMnphLr PvwVkvXQNgi+LzIiWCnpzx91O/pEymWXMFz7xx8OKGPXp9QyMH9eHyZVotKTE1alpaX0 URiw== 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 mp16-20020a1709071b1000b006da8a5e5334si3072976ejc.435.2022.03.04.02.01.20; Fri, 04 Mar 2022 02:02:06 -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 S236519AbiCCWQb (ORCPT + 99 others); Thu, 3 Mar 2022 17:16:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230484AbiCCWQa (ORCPT ); Thu, 3 Mar 2022 17:16:30 -0500 Received: from mail-oo1-f42.google.com (mail-oo1-f42.google.com [209.85.161.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A53D879395; Thu, 3 Mar 2022 14:15:44 -0800 (PST) Received: by mail-oo1-f42.google.com with SMTP id h16-20020a4a6f10000000b00320507b9ccfso7400696ooc.7; Thu, 03 Mar 2022 14:15:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DSkWNUygoFllhMK/e+tGM/T1Vv9qWNlJs5zfF4YOiUE=; b=KB3bSyw1Iy4mDLOR/7YUj1ZHLM6sWkmSjXbroe0vaHmd5ndQayq/o45Et9COWwodfc KqVYcaV4xf8mcw6EEZMPQ79jSAeubtUGRYhm+fsWoZWdRvu7NrtTCorabCHKiQhGnKmL gGPP40FQR3npjDX/vbts4h0chbubo9LmitZBd1UeC0QQz9YV7jk9SMFncBXvPria9/oq UO3N2rx+gIx6FAfqyB66wKedt0/OgxJTxJRqY2pcnqTq276JnS8nSC7bXGBXEYEWmO9D IORiHvCy9L29bdMTzy3RQPKxGT0KEExUwa5FVTOhrEhMNmsYM9yqZNex8hHegZEDi3Zy OEoA== X-Gm-Message-State: AOAM531fn8KLCcyoeXxAC9AGQtBKVyMqd8ke3qfkyHyWRSQq24rSFysn iLReAJebEt+jsFoQYsVcaVr/baahNw== X-Received: by 2002:a05:6870:a102:b0:d9:bcaf:7181 with SMTP id m2-20020a056870a10200b000d9bcaf7181mr2808605oae.8.1646345743921; Thu, 03 Mar 2022 14:15:43 -0800 (PST) Received: from xps15.herring.priv (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.googlemail.com with ESMTPSA id v7-20020a4aa507000000b0031c01a4ef37sm1535047ook.32.2022.03.03.14.15.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 14:15:43 -0800 (PST) From: Rob Herring To: Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] dt-bindings: kbuild: Print a warning if yamllint is not found Date: Thu, 3 Mar 2022 16:14:17 -0600 Message-Id: <20220303221417.2486268-1-robh@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 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,T_SCC_BODY_TEXT_LINE 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 Running yamllint is effectively required for binding schemas, so print a warning if not found rather than silently skipping running it. Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/Makefile b/Documentation/devicetree/bindings/Makefile index 5138d10e0601..61ec18ecc931 100644 --- a/Documentation/devicetree/bindings/Makefile +++ b/Documentation/devicetree/bindings/Makefile @@ -3,7 +3,8 @@ DT_DOC_CHECKER ?= dt-doc-validate DT_EXTRACT_EX ?= dt-extract-example DT_MK_SCHEMA ?= dt-mk-schema -DT_SCHEMA_LINT = $(shell which yamllint) +DT_SCHEMA_LINT := $(shell which yamllint || \ + echo "warning: yamllint not installed, skipping. To install, run 'pip install yamllint'" >&2) DT_SCHEMA_MIN_VERSION = 2021.2.1 -- 2.32.0