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 X-Spam-Level: X-Spam-Status: No, score=-9.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26421C47095 for ; Mon, 5 Oct 2020 20:32:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D0FED21548 for ; Mon, 5 Oct 2020 20:32:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601929926; bh=/li07VcNNOn5mHl+AePQcgRfiINcfhDysRPfTMzAStI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=nMxW3RXSg4jFuSoclbOYaQnUy3sbEFDzkiRVQQhWvJ+o524oKY0tB/Qkt2gvWhrPF 5ZOIj0uHQRo/jJQJ6fLtg0XX0a44QnacaDm5HZI3Jzq5HRrkP9gssDuV0znMOM3wp7 nZaZncpatN0KejyDR3brEoZ1mcxuQ5xdnBamQc5w= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729723AbgJEUcB (ORCPT ); Mon, 5 Oct 2020 16:32:01 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:40032 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727262AbgJEUb7 (ORCPT ); Mon, 5 Oct 2020 16:31:59 -0400 Received: by mail-wm1-f65.google.com with SMTP id k18so827215wmj.5; Mon, 05 Oct 2020 13:31:55 -0700 (PDT) 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:user-agent; bh=B4PwgTffJiJmPt6zUisqAw6fhFqqUXNEIJ77LrR5pRQ=; b=niGxbyG6YYwt29jP/PAkQMzezk9R40Mp2J3BgZY3UeV0tGC53v2K1c5FIYfJPDMMbr eM9ZY0DWpIEviXKYInyjIRTMIlxteYS1wUlimu9FddZ0Ft2MtPgMQfikxI9ZEcY4k2F3 RregBQBVS0ME2K7Ym95DgX/TF/M7Tq6InzH5CKpOuWFAgxoI7/UK0B3Q1CEIPEWiVtN1 XOwwgMu2YP73ZBtia7NAyOhHq3ZN/OfWC1TCc8vsasVnu2JzVJa7pRm+GFbbITwpk0KK I8iyf7gezRzj69hgd2WNW0e+xZLXzCMQQ6+HMvLHS2CxmHOQ2cgFaemaQ5gR0x6fxYfp iNYA== X-Gm-Message-State: AOAM531Mv08wwGWNgLR6nhCXUuOspTkFLSxtKwulafA16B95cqn3NIzY mDsppDaLcGRtA+izTxiAbqc= X-Google-Smtp-Source: ABdhPJzy/knAUMS+nLZ2ZykupLkPHOuEPodU8SYLBLWYdXtI/NOcJ+WVMZPLLZLhgC0dauFczWhBnQ== X-Received: by 2002:a1c:35c5:: with SMTP id c188mr1144613wma.11.1601929914355; Mon, 05 Oct 2020 13:31:54 -0700 (PDT) Received: from kozik-lap ([194.230.155.194]) by smtp.googlemail.com with ESMTPSA id z11sm1294344wru.88.2020.10.05.13.31.50 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Oct 2020 13:31:53 -0700 (PDT) Date: Mon, 5 Oct 2020 22:31:48 +0200 From: Krzysztof Kozlowski 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, Dmitry Torokhov , dri-devel@lists.freedesktop.org, Greg Kroah-Hartman , Heiner Kallweit , Jakub Kicinski , Jason Cooper , Jens Axboe , Jonathan Cameron , 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: <20201005203148.GA23742@kozik-lap> References: <20201005183830.486085-1-robh@kernel.org> <20201005183830.486085-2-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201005183830.486085-2-robh@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-pci@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 Acked-by: Krzysztof Kozlowski Best regards, Krzysztof