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 7E9B4C47420 for ; Mon, 5 Oct 2020 20:32:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3653421534 for ; Mon, 5 Oct 2020 20:32:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601929930; bh=/li07VcNNOn5mHl+AePQcgRfiINcfhDysRPfTMzAStI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=BjhH1bxcexoPODx3TbMsVC5dC97ePIML2zksAaSk9IQp0qkoMXUBTLl5hZRvHGTIA zI1BtkdIKch2GaOJWYTGzyZWzBJBW2SgswqQy8vqX6fS6OqGWWiSSUpHrXK5MV5LNQ BWFhgdN95jziqxDyinaNoewQ+6Havbc196hmZBPo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727472AbgJEUcA (ORCPT ); Mon, 5 Oct 2020 16:32:00 -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: dmaengine@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 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.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 83F54C47428 for ; Mon, 5 Oct 2020 20:32:08 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0F4A521527 for ; Mon, 5 Oct 2020 20:32:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="G7kOIIM7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0F4A521527 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YZzCqQ7DC1Iz1Gmp5ZcQeSJR1upekx+WAZuDKwvWJOk=; b=G7kOIIM7FKbhhwPTmKJ3lDiA5 9GfhkVa7b3eK6Rn0MPP6jHprmPIu1VvxgCsWzSQ/RWi6FPgNrCwTh/hog787wpUDY5NTYk3zKJ2l8 VrLX06iU3xoUeawpZFvta/OfEWUOfj0wVRbNLmCjIDWUihtL87JcW7bXjyWRrrmQPh4XPgz7BbKnH y/iJldA96rUw/vpJSG1+dYvYo5xKHN5Ii2D4ozFOymHCinWoKQU3QwwXiLjTzblJRwHu9hNCnhw2G cFocJM8DejsVGIjC0J50yHtMarqqwKsyeoq+4Du3us2yyKCsAsz37hw0diVx+iYpc0i/Oueweix6j lHN8G+OVQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPX9N-0005b2-8l; Mon, 05 Oct 2020 20:32:01 +0000 Received: from mail-wm1-f67.google.com ([209.85.128.67]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPX9I-0005Z9-Ii; Mon, 05 Oct 2020 20:31:57 +0000 Received: by mail-wm1-f67.google.com with SMTP id l11so792101wmh.2; 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=COghX+HrcvekPctOwMlN8VVhOF5LFIfoAEceslYqXzJa8dPXWQWPuCekQu4gfDA5iI wHvbV00DpocqrO840lOSQSIvwnbAD8SQD3WbOPTP/h4qbcUSyBerMP2eSsnU5gAs3V0M re+lKAAUSF2h3kukNPHOuuUTUGg3o0VFagVrFgUWKL64vzTjZKccNFsPUaxDoltRNSq0 TUwOBmSLAOIUGRfCjogkpF2+RoQR5uipaT+cEFmJZwE2Hli4n6d1+PowfNy2c9AGPMcg 9OixMQh1NYF8mgpEC/AyYA0BGneXC1/k6K0wHCoj9XiGOZNyuc/aOcH2/bdVVqmrGsRr ryhA== X-Gm-Message-State: AOAM533UkHsMeKmczydkzx8S+/G/YyP5zEz54Pmfxyi2JFnnPbmaDyMw zh1hYqmWQ0JC19Fuei8gVuc= 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 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-Disposition: inline In-Reply-To: <20201005183830.486085-2-robh@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201005_163156_617732_E2ADFFC6 X-CRM114-Status: GOOD ( 19.03 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Ulf Hansson , linux-usb@vger.kernel.org, Peter Meerwald-Stadler , Sam Ravnborg , linux-pwm@vger.kernel.org, linux-iio@vger.kernel.org, Viresh Kumar , Linus Walleij , linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org, Liam Girdwood , linux-ide@vger.kernel.org, Thierry Reding , Srinivas Kandagatla , Laurent Pinchart , Pavel Machek , Miquel Raynal , linux-riscv@lists.infradead.org, linux-hwmon@vger.kernel.org, Lee Jones , linux-clk@vger.kernel.org, linux-leds@vger.kernel.org, Vignesh Raghavendra , linux-rtc@vger.kernel.org, Lars-Peter Clausen , Marc Zyngier , Daniel Lezcano , Chanwoo Choi , MyungJoo Ham , linux-serial@vger.kernel.org, linux-input@vger.kernel.org, Jakub Kicinski , Zhang Rui , linux-mips@vger.kernel.org, Vivien Didelot , Wolfgang Grandegger , linux-media@vger.kernel.org, devicetree@vger.kernel.org, Albert Ou , Jason Cooper , linux-pm@vger.kernel.org, linux-can@vger.kernel.org, linux-gpio@vger.kernel.org, Mark Brown , Marc Kleine-Budde , Sebastian Reichel , Paul Walmsley , Bjorn Helgaas , Thomas Gleixner , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, Jens Axboe , Alessandro Zummo , linux-watchdog@vger.kernel.org, Thomas Bogendoerfer , Mathieu Poirier , Stephen Boyd , Greg Kroah-Hartman , Dmitry Torokhov , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-i2c@vger.kernel.org, Vinod Koul , Palmer Dabbelt , Wim Van Sebroeck , Richard Weinberger , dmaengine@vger.kernel.org, linux-mtd@lists.infradead.org, "David S. Miller" , Jonathan Cameron , Heiner Kallweit Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 CB148C4363A for ; Mon, 5 Oct 2020 20:32:26 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 650DF21527 for ; Mon, 5 Oct 2020 20:32:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hFhSsYpf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 650DF21527 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=znBxOGCagDQBsMH3SY/bIQkHZrBh7mIK08DzbeC5PiQ=; b=hFhSsYpf8sqzDyNHfkNCRsC3h s84PFi/DWIP7KWyAjAEuFLu14Z7mFP1haZIVPNNolvAq/h13hS8obw3uIUDXHCHvoGL9H9bghg5nc WZQ8tfdMoNgRsIHNzPSkUaypJG2BSWYyx8MEe1TqH64SRolkiN7KY3X+IZ9Z44Ryyg1ShTl80F84Z raYOxSyR8fQpJIN4rBrl1koSfszeJPqZoDDog8YF+StMtMW6Fi2L7aXQqYwWQQnhCx5NjsQDmx+6W WaJHurranOOYAVoJr1vqlxw5QIn36j1/mJhFtE+bDd6bxy6LfgAp8scm37wRSuXmtfAi6gcIiY92L MS4co3zdQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPX9L-0005Zx-IP; Mon, 05 Oct 2020 20:31:59 +0000 Received: from mail-wm1-f67.google.com ([209.85.128.67]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPX9I-0005Z9-Ii; Mon, 05 Oct 2020 20:31:57 +0000 Received: by mail-wm1-f67.google.com with SMTP id l11so792101wmh.2; 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=COghX+HrcvekPctOwMlN8VVhOF5LFIfoAEceslYqXzJa8dPXWQWPuCekQu4gfDA5iI wHvbV00DpocqrO840lOSQSIvwnbAD8SQD3WbOPTP/h4qbcUSyBerMP2eSsnU5gAs3V0M re+lKAAUSF2h3kukNPHOuuUTUGg3o0VFagVrFgUWKL64vzTjZKccNFsPUaxDoltRNSq0 TUwOBmSLAOIUGRfCjogkpF2+RoQR5uipaT+cEFmJZwE2Hli4n6d1+PowfNy2c9AGPMcg 9OixMQh1NYF8mgpEC/AyYA0BGneXC1/k6K0wHCoj9XiGOZNyuc/aOcH2/bdVVqmrGsRr ryhA== X-Gm-Message-State: AOAM533UkHsMeKmczydkzx8S+/G/YyP5zEz54Pmfxyi2JFnnPbmaDyMw zh1hYqmWQ0JC19Fuei8gVuc= 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 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-Disposition: inline In-Reply-To: <20201005183830.486085-2-robh@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201005_163156_617732_E2ADFFC6 X-CRM114-Status: GOOD ( 19.03 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Ulf Hansson , linux-usb@vger.kernel.org, Peter Meerwald-Stadler , Sam Ravnborg , linux-pwm@vger.kernel.org, linux-iio@vger.kernel.org, Viresh Kumar , Linus Walleij , linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org, Liam Girdwood , linux-ide@vger.kernel.org, Thierry Reding , Srinivas Kandagatla , Laurent Pinchart , Pavel Machek , Miquel Raynal , linux-riscv@lists.infradead.org, linux-hwmon@vger.kernel.org, Lee Jones , linux-clk@vger.kernel.org, linux-leds@vger.kernel.org, Vignesh Raghavendra , linux-rtc@vger.kernel.org, Lars-Peter Clausen , Marc Zyngier , Daniel Lezcano , Chanwoo Choi , MyungJoo Ham , linux-serial@vger.kernel.org, linux-input@vger.kernel.org, Jakub Kicinski , Zhang Rui , linux-mips@vger.kernel.org, Vivien Didelot , Wolfgang Grandegger , linux-media@vger.kernel.org, devicetree@vger.kernel.org, Albert Ou , Jason Cooper , linux-pm@vger.kernel.org, linux-can@vger.kernel.org, linux-gpio@vger.kernel.org, Mark Brown , Marc Kleine-Budde , Sebastian Reichel , Paul Walmsley , Bjorn Helgaas , Thomas Gleixner , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, Jens Axboe , Alessandro Zummo , linux-watchdog@vger.kernel.org, Thomas Bogendoerfer , Mathieu Poirier , Stephen Boyd , Greg Kroah-Hartman , Dmitry Torokhov , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-i2c@vger.kernel.org, Vinod Koul , Palmer Dabbelt , Wim Van Sebroeck , Richard Weinberger , dmaengine@vger.kernel.org, linux-mtd@lists.infradead.org, "David S. Miller" , Jonathan Cameron , Heiner Kallweit Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.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 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ 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=-8.5 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 963F2C47095 for ; Mon, 5 Oct 2020 20:31:58 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4A0CF21527 for ; Mon, 5 Oct 2020 20:31:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A0CF21527 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7F93B6E0CB; Mon, 5 Oct 2020 20:31:57 +0000 (UTC) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id DE6786E0CB for ; Mon, 5 Oct 2020 20:31:55 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id l15so769807wmh.1 for ; 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=BdrrN2+fp+/5p/yTQN0csh2xiFWcdWfgluzQ65mmYhjqV4eX92OBKHjr+JQWeARBfG p3B/WTJCxon4INZZQh/Vadhrt3WPnf3WZ5szLfPj4+2FV92cWO4A4kuTwd2VLsBgvFv4 Pd8I4Kpmz0YvqRQlfRwuMQeqLwOh4Rw1Z8uD8/seQrOMAlNwFiv8uwHoldAcFzdWXY21 71iO+LZMPwLuDl58P+Lt1ietoNXDEnProuA5F9omz6oMpp+R3yM3NlRs27t5DGLhXwE6 9qlz4L7PMjqE8WTCwjNYBZtroEo+qJMShV7JKbLylqwhPojbLtZYPLFCA7AWbMFwfnfh bVgQ== X-Gm-Message-State: AOAM532ReHl2mlgab6xUW2jjSYaaHeCCyfCJFMxgCs5MDjvd650xhCDp EPlItziQCTgJLpJ3mySRVCs= 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 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-Disposition: inline In-Reply-To: <20201005183830.486085-2-robh@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Ulf Hansson , linux-usb@vger.kernel.org, Peter Meerwald-Stadler , Sam Ravnborg , linux-pwm@vger.kernel.org, linux-iio@vger.kernel.org, Viresh Kumar , linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, Thierry Reding , Srinivas Kandagatla , Laurent Pinchart , Pavel Machek , Miquel Raynal , linux-riscv@lists.infradead.org, linux-hwmon@vger.kernel.org, Lee Jones , linux-clk@vger.kernel.org, linux-leds@vger.kernel.org, Vignesh Raghavendra , linux-rtc@vger.kernel.org, Marc Zyngier , Daniel Lezcano , Chanwoo Choi , MyungJoo Ham , linux-serial@vger.kernel.org, linux-input@vger.kernel.org, Jakub Kicinski , Zhang Rui , linux-mips@vger.kernel.org, Vivien Didelot , Wolfgang Grandegger , linux-media@vger.kernel.org, devicetree@vger.kernel.org, Albert Ou , Jason Cooper , linux-pm@vger.kernel.org, linux-can@vger.kernel.org, linux-gpio@vger.kernel.org, Mark Brown , Marc Kleine-Budde , Sebastian Reichel , Paul Walmsley , Bjorn Helgaas , Thomas Gleixner , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, Jens Axboe , Alessandro Zummo , linux-watchdog@vger.kernel.org, Thomas Bogendoerfer , Mathieu Poirier , Stephen Boyd , Greg Kroah-Hartman , Dmitry Torokhov , linux-mmc@vger.kernel.org, Liam Girdwood , linux-spi@vger.kernel.org, linux-i2c@vger.kernel.org, Vinod Koul , Palmer Dabbelt , Wim Van Sebroeck , Richard Weinberger , dmaengine@vger.kernel.org, linux-mtd@lists.infradead.org, "David S. Miller" , Jonathan Cameron , Heiner Kallweit Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel