Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4877836ybi; Tue, 30 Jul 2019 09:41:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwf8gihRvAdXd07hoWsEUKoXGdgr0ukhQBYhL2W2Szkk5gMUkxqyDDPC5MuIZDnhzoWLTjI X-Received: by 2002:aa7:95bb:: with SMTP id a27mr43664852pfk.229.1564504864667; Tue, 30 Jul 2019 09:41:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564504864; cv=none; d=google.com; s=arc-20160816; b=o3Wi1PW9ZMdUWBi3bPQE6WPDvxwamfNi6PquFcGS5BbvVvY+NHoV2QDsMn4NKFhFMy WmA6vbp15qonoGEqj2D4oWsZobwEFfLBSuEQMVP2/iaUlnjsNwHMeFLBeY9CPLHc4anX 4LjQ5YABitAQJbuBCgoxPSCDdl8rsJKRik2571jXu8/yd31B0yTYoJZhL/1kr9g9bPZ8 Cm1GPe7XPVKIpX6OIt9pA68lNbxcnTkCwW8RRjKtyZTyFGzAwjQNaOS0f+opOJHL3nRo x03nnaiuMeoA/l74Ybz52XTp7fAQu64+Y5Tk2uGxyiH1d8Owt+6Nr77K41zfrXRYI2VB 3PVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=VsFiHv+hO1eqbMW0ir05c8xhCPu0le6Euq1UfVh2TrA=; b=uYmRMe50smdtyQIipqvlt9tLwR+ljdMU2SIllJ0jG1Uw3FU5mG6W+Ls8Z2vJeE8fVk +QEZqNdJ2h2txHIwPXwy8xcNkkZeLqLJZWj4Hyi0ERH9F/o5W2iTf4qI7hZsQpa+dcQk 4/hcHWnoiMq5WLRLIWX6MXChc2I8hjVehEdq87J++XsZ4Di6Mp9wz4fWme2/Gm1U2SLf 0YQRm/6w1x5cZgllUKrKjx+gQef8BIxyDZGrcaPVe/r7g6K9J/VWuXpQ+F87at4LZ9mc g9eZkaAuJCNbUUlTKFOd4JXjJ+DBRzZZDVJiSEQBTXibgo0WymE2l53cnzrcAjJHxO1k 6Gfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 70si27588569plc.253.2019.07.30.09.40.49; Tue, 30 Jul 2019 09:41:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732020AbfG3PmZ (ORCPT + 99 others); Tue, 30 Jul 2019 11:42:25 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:55100 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725209AbfG3PmZ (ORCPT ); Tue, 30 Jul 2019 11:42:25 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 1EC41FB03; Tue, 30 Jul 2019 17:42:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CtUgzmSSelqj; Tue, 30 Jul 2019 17:42:22 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id D273946BB5; Tue, 30 Jul 2019 17:42:21 +0200 (CEST) Date: Tue, 30 Jul 2019 17:42:21 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: Fix generated example files getting added to schemas Message-ID: <20190730154221.GA379@bogon.m.sigxcpu.org> References: <20190730145935.26248-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190730145935.26248-1-robh@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Jul 30, 2019 at 08:59:35AM -0600, Rob Herring wrote: > Commit 837158b847a4 ("dt-bindings: Check the examples against the > schemas") started generating YAML encoded DT files to validate the > examples against the schema. When running 'make dt_binding_check' in > tree after the 1st time, the generated example .dt.yaml files are > mistakenly added to the list of schema files. Exclude *.example.dt.yaml > files from the search for schema files. > > Fixes: 837158b847a4 ("dt-bindings: Check the examples against the schemas") > Reported-by: Guido G?nther > Signed-off-by: Rob Herring > --- > Documentation/devicetree/bindings/Makefile | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/Makefile b/Documentation/devicetree/bindings/Makefile > index 6b0dfd5c17ba..5138a2f6232a 100644 > --- a/Documentation/devicetree/bindings/Makefile > +++ b/Documentation/devicetree/bindings/Makefile > @@ -19,7 +19,9 @@ quiet_cmd_mk_schema = SCHEMA $@ > > DT_DOCS = $(shell \ > cd $(srctree)/$(src) && \ > - find * \( -name '*.yaml' ! -name $(DT_TMP_SCHEMA) \) \ > + find * \( -name '*.yaml' ! \ > + -name $(DT_TMP_SCHEMA) ! \ > + -name '*.example.dt.yaml' \) \ > ) > > DT_SCHEMA_FILES ?= $(addprefix $(src)/,$(DT_DOCS)) this fixes checking twice in a row for me. Thanks! Tested-by: Guido G?nther -- Guido