Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp17611pxu; Mon, 5 Oct 2020 22:31:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6nIfD4n0qalN8TDfmfqU5mltcFEQgjNeT8LWWbbm0Cy6sFJM5yXR+5i4qwuM+ExPrEu1w X-Received: by 2002:a17:906:4dc3:: with SMTP id f3mr3521084ejw.50.1601962274427; Mon, 05 Oct 2020 22:31:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601962274; cv=none; d=google.com; s=arc-20160816; b=ePJCLV6GPVVg3/lyjDW1uSZ+dwzcYlidajyKVc1pa7O97bGz6lHTzCakV4G/c0BISc BOZYhyOitN87U6euaHI1d02Hl/kodI8DK/P89d1Xg5cCbkZwsi6sjwstZbGdG2RvWqUM oEfzEXOQVXkAB9Ht5wdksbT8wUOwYTEsadWrvmqdy28LQ0/OHeUI1KdX1nfxqazFHifm ZkedxER3ZmmiBxLbmbxut9QF7KXZEA6BW68rHxmoDelgXeMDb8rv63msJSool27m8kHp 2+wtRVhczKub8LLjuvcS9coPd1Gz7BFFvOkValZk2G/t1XKn3dFIPfawKXiyEmg0d9Nm kwhA== 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=Av94YZQ7NwT5lQO9WyuZN6M5nkNpz7wKJng1iWFSLAY=; b=i39+WDyIwVtS1rM2nrwge94oerTsTMPX+iUxXQkK70f9pEXEumjEcmtOOe8UpRi+E0 MkC6hVHOhSZrYQP4MTR+VzY2WXb/SUz94i/qHgBSHFtuehKBMZ6Ifpg/PoWdSoNBwnbF 0si4c/HL5MSlm6unrm6Wfzs8ubBZBj/sh6qTzwZiZYY75nGFX2lmIVhTfpNveYdji3Hq MiQXF9BaWs5eD/LM1tspSkcOT7cRZ+X0g2+ql9wBjeLCCi8nFCQWMdWwZKSux5wYQMos 6kKLbJUnAWSmQDSb/2/6/nS0C/FyQEusU0p9lREAdp8U+StvTmyECyFnAi7aGfzgIwUX pB+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XJYtCNTy; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r21si1476724ejo.559.2020.10.05.22.30.51; Mon, 05 Oct 2020 22:31:14 -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=@kernel.org header.s=default header.b=XJYtCNTy; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726956AbgJFF3s (ORCPT + 99 others); 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-kernel@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