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=-4.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 8876EC47423 for ; Tue, 6 Oct 2020 05:29:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 460AD208C3 for ; Tue, 6 Oct 2020 05:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601962196; bh=IqVDArZkdO/B6tbx3G9IqtpqMW94z4IPv/01HlGFHyY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=16wVjnGBS9CPDt4w34T2/jK45rCZcTLEH8uUemTzwhHRq8MDMJMcuw5jFhSBTdn2H lzXSUzuEO5Ad6esBZb5DyuP6EMDT5wzWLvHfAV5sEL/7+h6168MmfygruAxxpE9dI5 87hdQG9PJQ9eDvAcbdJO+fnLIj1IWUr0/Mb++byw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726944AbgJFF3s (ORCPT ); Tue, 6 Oct 2020 01:29:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:50050 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725912AbgJFF3q (ORCPT ); Tue, 6 Oct 2020 01:29:46 -0400 Received: from localhost (unknown [122.167.144.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1C34120870; Tue, 6 Oct 2020 05:29:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601962185; bh=IqVDArZkdO/B6tbx3G9IqtpqMW94z4IPv/01HlGFHyY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XJYtCNTyvx3ozaL1aRMYZGV+bTbvDa3P+1vHmIpIZkmMpy/W3RdFSo1VlEtqd2ZwS VXm0e3hsDFIgJyUblJEaSpP3cJaPtrtrYpgunMrPuk68lEyTmKEkfZetm3/aycx6/+ f5jbT6MC2Pw1++qOdAXkqzyJva8aLdhWHo97xSwA= Date: Tue, 6 Oct 2020 10:59:40 +0530 From: Vinod Koul 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 , 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 , 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: <20201006052940.GO2968@vkoul-mobl> 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-pci@vger.kernel.org On 05-10-20, 13:38, 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. Acked-By: Vinod Koul -- ~Vinod