Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4874534ybi; Tue, 30 Jul 2019 09:37:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwh/4Si3LdxfvgEdH5HxxkJBL4QN3cLDCeAXicZ5aNd+TwK+Lszd0MtM19Qo0OTFbnpr5Tf X-Received: by 2002:a17:902:7202:: with SMTP id ba2mr117968658plb.266.1564504656410; Tue, 30 Jul 2019 09:37:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564504656; cv=none; d=google.com; s=arc-20160816; b=HAGYdc2VZjxF84XM6m2X37XLkIKdPCB6qYNQNZp+t/GcV092zOd5/85rJ4dlrZiksc tDzTyUxM/yWsDF/oboAiJraDAuR3fmfO8SugWHYZIznLDWxVMlnHQV2Y4hOipTHRKRE+ jOWu5IM+Lc+pcSvu6belumG9zR9PURNl1yi/eYR6CA0267IggtcADcRR40BzdEg8xqkJ YyqiccL/V8IvigWjgkOajUJHlJq6zx0XbZEPnk9ie7xM0x9FC2B2AByRSOw/CTJNwQTW e4/pQlUgheRLVyoeuc/2ibs1674IHKS7dTqs6/6aDaP4intqpUvpdHmFAJdy7y4fJ8V7 hSpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=VDQ6N11AAuFuFo85qHNKBrrA+iF4giDQhs8MrBVj2/U=; b=eI84rocvk+Vj5Xolo/lHGS6WOJIDuQRGwjBdDBJwsid1nvK9u8/H+VImanRis3vt4h 9b6ydljg79+bzkH2V3LuxIWmKFvRxfWb48cLylZUwy/p8471T1SkVMbn1ZKyS6OqjeDu JJHrGjtOO5E4u/1bDXwmj5vDdQznnZQyTgQZJtzjnKAuP9fOJK3FIvZKNs8fxWbchRcm dOciNcKBQ68THs2RZHKk5gyeyI36bVcUH8pcPu1BsXYee/6SVOmTrhJOY0U7UxhqMunv jYjB3riSQUCfqAx2mx+6ZwEM1HJweHRbQk1SfiI94t9Cvfbtmq3lac9wsojVSGHOkyMs QvKQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a13si27437884pgn.359.2019.07.30.09.37.21; Tue, 30 Jul 2019 09:37:36 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731949AbfG3O7i (ORCPT + 99 others); Tue, 30 Jul 2019 10:59:38 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:43296 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728526AbfG3O7i (ORCPT ); Tue, 30 Jul 2019 10:59:38 -0400 Received: by mail-io1-f65.google.com with SMTP id k20so128723688ios.10; Tue, 30 Jul 2019 07:59:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VDQ6N11AAuFuFo85qHNKBrrA+iF4giDQhs8MrBVj2/U=; b=FlFDNv7qEiT7xGol/w+JrSk0waaMTEhkacpiTtJc49vXGdfS97geXbVa7KpkoXGqkY u6p/VtA/c9Qmb1PMqWvlV90dl4N7lMfWhqSu8gc0KRLXxHsbjGXD1KZJ11nO9gl+Bk94 E9jifgrwF6ccqvXjb4voO4pcjGAVZksLWEIl7pGwgPOCM0OQdEK3IMbktwJnAgqFKgqr pDi/sBcfzUtWL6o5BEIQavQOzW9JwdTsp/xQuvc9xQ+Ryb+FR4UbhsVxqsl2Be02yFAC vyxM//IBspkLrhTDGGwKGwUDhNnspRAkSzCRLkpZBF6G30+JieGWcaVrJqSfZ5KQZQAF 8a1Q== X-Gm-Message-State: APjAAAVQk6qsdtlkGfZn8GsJRygZmi8R/jyr/+N/51xhZVPVd5exWyo7 3ymHpiSnN7AVa7NuHj2Zp3BBA3Q= X-Received: by 2002:a5d:8253:: with SMTP id n19mr5661994ioo.80.1564498776564; Tue, 30 Jul 2019 07:59:36 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.254]) by smtp.googlemail.com with ESMTPSA id p10sm81147279iob.54.2019.07.30.07.59.35 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 30 Jul 2019 07:59:36 -0700 (PDT) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, =?UTF-8?q?Guido=20G=C3=BCnther?= Subject: [PATCH] dt-bindings: Fix generated example files getting added to schemas Date: Tue, 30 Jul 2019 08:59:35 -0600 Message-Id: <20190730145935.26248-1-robh@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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)) -- 2.20.1