On Tue, Jul 13, 2021 at 01:34:53PM -0600, Rob Herring wrote:
> Another round of removing redundant minItems/maxItems from new schema in
> the recent merge window.
> 
> If a property has an 'items' list, then a 'minItems' or 'maxItems' with the
> same size as the list is redundant and can be dropped. Note that is DT
> schema specific behavior and not standard json-schema behavior. The tooling
> will fixup the final schema adding any unspecified minItems/maxItems.
> 
> This condition is partially checked with the meta-schema already, but
> only if both 'minItems' and 'maxItems' are equal to the 'items' length.
> An improved meta-schema is pending.
> 
> Cc: Stephen Boyd <sb...@kernel.org>
> Cc: Joerg Roedel <j...@8bytes.org>
> Cc: Will Deacon <w...@kernel.org>
> Cc: Krzysztof Kozlowski <krzysztof.kozlow...@canonical.com>
> Cc: Miquel Raynal <miquel.ray...@bootlin.com>
> Cc: Richard Weinberger <rich...@nod.at>
> Cc: Vignesh Raghavendra <vigne...@ti.com>
> Cc: Alessandro Zummo <a.zu...@towertech.it>
> Cc: Alexandre Belloni <alexandre.bell...@bootlin.com>
> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
> Cc: Sureshkumar Relli <naga.sureshkumar.re...@xilinx.com>
> Cc: Brian Norris <computersforpe...@gmail.com>
> Cc: Kamal Dasu <kdasu.k...@gmail.com>
> Cc: Linus Walleij <linus.wall...@linaro.org>
> Cc: Sebastian Siewior <bige...@linutronix.de>
> Cc: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
> Cc: linux-...@vger.kernel.org
> Cc: iommu@lists.linux-foundation.org
> Cc: linux-...@lists.infradead.org
> Cc: linux-...@vger.kernel.org
> Cc: linux-...@vger.kernel.org
> Signed-off-by: Rob Herring <r...@kernel.org>

Reviewed-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to