Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp43659pxu; Tue, 6 Oct 2020 18:11:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHeYWJ7jG7YwUs5FuU61qBCncMaD4icf3APJH1DlLOLKuOGE13spx0ap/j5kCODeWUbvVI X-Received: by 2002:a17:906:d8e:: with SMTP id m14mr841705eji.448.1602033110961; Tue, 06 Oct 2020 18:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602033110; cv=none; d=google.com; s=arc-20160816; b=Uq7vMF+ZFYTTs39NAhG9QOCo/NWlpVtH7edC3u4ke123Gtlsg37fviZjL8RHbieZ+E VZugBJaOOBxBk+3yoCokuVpBEQfzy64YyyJJvQtqnkQ1QQ2eF2qvJh7po23Yrx5H5PZc KUIuMmW2WLUdvOoGPVp1sdCnIIki7sgqE3/DLrebX5WsI5n836N+5ChR6Joc/BimT4ct 4eLsLl/RWoKkeEhkRNjwIi2x62DQpY6tIr9SypnY6KrPl2z8z/SnBUD2PhQMk6iCAeft QVngSQ9T2ru9idQFd01gD4UrDfQllFQ/CCq+0wvE1yDJCpp0nAyEQPm/VH58GAAf51Z0 y3Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FbVt6UIsanorUvecNc8pgO4I7nA5/YzrR4KBsZs3/tw=; b=PMOoA/uFZy1dWzdi9I+YpKkD/fjWD4qPa1CCAAZz8As2gn04DEgaHerLJyyunVPb8l R4Do5Bwtk3o0DigVQgJpRhPgJFi/08or6zrnF7FaCKeywSNz5dNUQYC6XLhZTvdRaG/t jkeYLdUQkyoofmjgFoORmzOQvTtA85ljKYI2wShVeKrdl7/Y9sVbRm9a8HmJEKBZbHHc P0dChc3+YmBSycICzCGnH2St4tccijSjvZaY2lB6Z1YvP96WePWBdmW7EFHGuwb27rAH QZumltKolX/Uq4nteb9rPJE/tuF5HfTaz2hairmpaBaG8b7pZXLGAItzcLkOpDerIjOi 30qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rJLKmtpw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f25si381044ejh.440.2020.10.06.18.11.28; Tue, 06 Oct 2020 18:11:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rJLKmtpw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727087AbgJGBDT (ORCPT + 99 others); Tue, 6 Oct 2020 21:03:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbgJGBDR (ORCPT ); Tue, 6 Oct 2020 21:03:17 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4F65C061755; Tue, 6 Oct 2020 18:03:15 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id d23so146167pll.7; Tue, 06 Oct 2020 18:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=FbVt6UIsanorUvecNc8pgO4I7nA5/YzrR4KBsZs3/tw=; b=rJLKmtpwxzsaHKtX12nq3eP9neu2dOXEPi6LomqB2knE6KHEDjpS2vUrKJtGSZmd01 7ezWLLISEJuqEQ8aBgOjVvVwuIROWJaVvqWMDhdkIrMnEJj3xWoT+mLh9Gs8gEuP17Q2 UgfknJPVfYtwgcFCoBnLf1OmUFSxA0fdjd+qay5y6bkYLt8ainoMJawHK24rtd7lPeI2 jVsq0CkG7qufIYkkx+FdQj1K8q292mstggL5gEg1P6qasdKVPWKLR/DK34HZkI0mADY7 HUlcFEZ59O0+agAIIrpY+D6Sh+41M2ydy4oYO2vKHgH/8RKm2d5YK6721Lon3s9UNXTV sAgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=FbVt6UIsanorUvecNc8pgO4I7nA5/YzrR4KBsZs3/tw=; b=mLHdeMJ96LIMGCmXnpYzThEi5CTZxZfd0BaTCBO0+uplXdqTwG/kbAS1Setx++HJ30 JsnmwNFFGHMpbFpG5sdEcLEInQtY8uw0TZbSNjtqFTrG8pctr9tSWzBVVHBKSLDTLEAa WR/EVHw5LU9pMBHt0h/U0th7AtMW5y28uTUjf3kfFSIGRwUM4dfPl1Bcb6SPMBgmmS+/ V4atMQpOe5KdzkC0wnlEZcAqSSBx4GKYOkpuhIHNcG7K/4hWONIXgiqGwZYZ1EMj6WY2 VS4LHGozwvpyyqBeUtXvjgydgAZCtF88iEQ1Dw1O5kHpf18EZu3S+iyCR1Jq2QVbMN/Y +Kkg== X-Gm-Message-State: AOAM530Myx9cWc+xiUcCDZVsM+vUEDPC2eTRsslIpCXvGufMpfCX0bH7 K6LIp1PVfuEBa7xC4iBkVU9yU2XD1EvDMw== X-Received: by 2002:a17:90b:692:: with SMTP id m18mr667588pjz.182.1602032595239; Tue, 06 Oct 2020 18:03:15 -0700 (PDT) Received: from dtor-ws ([2620:15c:202:201:a6ae:11ff:fe11:fcc3]) by smtp.gmail.com with ESMTPSA id fa2sm213768pjb.51.2020.10.06.18.03.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Oct 2020 18:03:14 -0700 (PDT) Date: Tue, 6 Oct 2020 18:03:08 -0700 From: Dmitry Torokhov To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Albert Ou , Alessandro Zummo , Andrew Lunn , Bjorn Helgaas , Chanwoo Choi , Daniel Lezcano , "David S. Miller" , dmaengine@vger.kernel.org, dri-devel@lists.freedesktop.org, Greg Kroah-Hartman , Heiner Kallweit , Jakub Kicinski , Jason Cooper , Jens Axboe , Jonathan Cameron , Krzysztof Kozlowski , Lars-Peter Clausen , Laurent Pinchart , Lee Jones , Liam Girdwood , Linus Walleij , Marc Kleine-Budde , Marc Zyngier , Mark Brown , Mathieu Poirier , Mauro Carvalho Chehab , Miquel Raynal , MyungJoo Ham , Palmer Dabbelt , Paul Walmsley , Pavel Machek , Peter Meerwald-Stadler , Richard Weinberger , Sam Ravnborg , Sebastian Reichel , Srinivas Kandagatla , Stephen Boyd , Thierry Reding , Thomas Bogendoerfer , Thomas Gleixner , Ulf Hansson , Vignesh Raghavendra , Vinod Koul , Viresh Kumar , Vivien Didelot , Wim Van Sebroeck , Wolfgang Grandegger , Zhang Rui , linux-arm-kernel@lists.infradead.org, linux-can@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-i2c@vger.kernel.org, linux-ide@vger.kernel.org, linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-media@vger.kernel.org, linux-mips@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, linux-pwm@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Message-ID: <20201007010308.GP1009802@dtor-ws> References: <20201005183830.486085-1-robh@kernel.org> <20201005183830.486085-2-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201005183830.486085-2-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 05, 2020 at 01:38:27PM -0500, Rob Herring wrote: > This doesn't yet do anything in the tools, but make it explicit so we can > check either 'unevaluatedProperties' or 'additionalProperties' is present > in schemas. > > 'unevaluatedProperties' is appropriate when including another schema (via > '$ref') and all possible properties and/or child nodes are not > explicitly listed in the schema with the '$ref'. > > This is in preparation to add a meta-schema to check for missing > 'unevaluatedProperties' or 'additionalProperties'. This has been a > constant source of review issues. > > Signed-off-by: Rob Herring For input: Acked-by: Dmitry Torokhov -- Dmitry