From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71E6CC433EF for ; Wed, 23 Mar 2022 18:50:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344120AbiCWSva (ORCPT ); Wed, 23 Mar 2022 14:51:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344141AbiCWSv0 (ORCPT ); Wed, 23 Mar 2022 14:51:26 -0400 Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A92EA652CF; Wed, 23 Mar 2022 11:49:51 -0700 (PDT) Received: by mail-ot1-f48.google.com with SMTP id x8-20020a9d6288000000b005b22c373759so1686968otk.8; Wed, 23 Mar 2022 11:49:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=I1jRfgCA6HYKNBHH0oOGdmPolkRMIm0BBTXMi4QIsc4=; b=3h+deXGpOUJB2GLSc5WvirIFbXqGRFNfNSw4X2rCb7FZnqxQXwwtVFRE+cp0cDzqOb fnbv9mAwg05NRTUm097xeOQlHjeqGzZC64ua+DrNed/bP/PA333UCT27Xr0wrbZTPqrp GoBysBDbi5skW5MmQv1JPy1rfkAFMwOUmgrmMy8k7LIoJYSIiz61ejlt+fjdxDLGqzZ2 GFHDyn4wgqYUktEaSw3zTWRSVjwfbUPUhJs52sNnoPathhRuJ/EiEsFcWr+aaUzJSncF o3mU1+yG8lYx3V4n/pVm/b+zuBeg4yomap5UNskagi1pXmcNDsaVIYbuIHuGnDkSCu2a z75Q== X-Gm-Message-State: AOAM533dVviaG8nVA20zSXxo8hfh4Zdyb5lLsUXSIFZCx9/6zKYn1hv2 ID5GHINw1rBeZ2KJi6GgsxwupHVLQg== X-Google-Smtp-Source: ABdhPJxp8gog6x73KsM+b7yt7SY+QyD+8XRmcuCcMS1qTfi2jOJ5tYrIKCRupqLiV8jN4uGY1z3FHA== X-Received: by 2002:a9d:2051:0:b0:5b2:20d1:b38c with SMTP id n75-20020a9d2051000000b005b220d1b38cmr630472ota.167.1648061390928; Wed, 23 Mar 2022 11:49:50 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id gk6-20020a0568703c0600b000de4880b357sm293918oab.50.2022.03.23.11.49.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 11:49:50 -0700 (PDT) Received: (nullmailer pid 245037 invoked by uid 1000); Wed, 23 Mar 2022 18:49:49 -0000 Date: Wed, 23 Mar 2022 13:49:49 -0500 From: Rob Herring To: Nathan Chancellor Cc: Rob Herring , patches@lists.linux.dev, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: Re: [PATCH -next v2] dt-bindings: kbuild: Make DT_SCHEMA_LINT a recursive variable Message-ID: References: <20220315202542.2071351-1-nathan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220315202542.2071351-1-nathan@kernel.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Tue, 15 Mar 2022 13:25:43 -0700, Nathan Chancellor wrote: > A recent change added a warning when yamllint is not installed, as it is > needed for 'make dt_binding_check'. However, it also changed > DT_SCHEMA_LINT to be a simple make variable, which is evaluated when a > Makefile is evaluated. This causes a warning when running 'make clean', > as Documentation/devicetree/bindings/Makefile has a "clean-files" > variable: > > $ make -s clean > which: no yamllint in (...) > warning: python package 'yamllint' not installed, skipping > > Make DT_SCHEMA_LINT a recursive variable so it is evaluated only when it > is used. The warning still triggers when 'make dt_binding_check' is run. > > Fixes: b3e664a7f449 ("dt-bindings: kbuild: Print a warning if yamllint is not found") > Signed-off-by: Nathan Chancellor > --- > > v1 -> v2: https://lore.kernel.org/r/20220315202032.538911-1-nathan@kernel.org/ > > * Fix stray "i" in commit title (I promise I know how to use vim...), > sorry for the mistake and extra patch. > > Documentation/devicetree/bindings/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Dropped v1 and applied this one, thanks!