Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4826072rdb; Fri, 15 Sep 2023 13:35:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFRuDRslfcGm+V6zm1S+bSEI4uX5gqJzTIDTDfSj1166QFCEaKp58SwOmC9mHkFgrfKyUQR X-Received: by 2002:a17:90b:a4a:b0:268:d05c:2d7e with SMTP id gw10-20020a17090b0a4a00b00268d05c2d7emr2555842pjb.14.1694810108496; Fri, 15 Sep 2023 13:35:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694810108; cv=none; d=google.com; s=arc-20160816; b=x0sHZaBYqUshTnt+FIAEglBSQhjzWGviJGzxqfDXJnJLw9/ODykCOg29A2RBPwqX7O pWId8tu+iknK1Ev0xLZn653MsS+LGWGkNi2LMJPaIAaSbleqUKl7xns2TX4O8hLE2wJ3 2z9S/JBNoikK8D5pa4vZzMFyWHRABrEP8jfvOUaCY+EEYQ5yFhZLl1BqXSdrcoCk3Hz8 30DyimEnNf2n0oONKUJZzRIbUe0GCVNONsQ1viAgiPbYO25PmchBQD3Aylln0+x608AS p85dE7ce0usT/+K4oXbli1EZ5wOl2a0z85tjUCAMrBiU7U1uPndy0HahFoVv5Pdb5SGu vqog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=xqRTbYPun9slZLiiZQDtVCZ0oExKi5f+VqMKIt4cLWQ=; fh=o65QgtyZ+3vB3G3Hs4J8hl/kpM/x5Koz7+rP9ljamOw=; b=yhRdKBt3lyMQ3cgRaZ53Ir35t0wQN427lT4e8xeh9SIvibHzqTI4B4+KeDcTanA0/U qu5JMCCQe7CHSli3udiUiViwawJNUz0dc4d5dyJBcbkE2uQMMf10sHHOzjidO3jOWObD QeRGG7k8nAz0nxq4cQiH/IpHiUa/vO5LMUtwTCvsiVBVr00yIkWMcGHxuiUWXTgx7pRG xKerrug0n/0ny+tzDHPlNtSXrS0pCvOgvKFzUWJeGR5Rf5SlbnB1MF3QvLFnzwDl66PJ tsjsfMHxZb/aU9x50em6ThDK58DPluxSH+pFIYmTZSM6DlFrSkOJNeWUuBJLPBKjJqBJ Se5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lU1+XHUX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id rm12-20020a17090b3ecc00b00273e22de340si6507775pjb.0.2023.09.15.13.35.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 13:35:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lU1+XHUX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 437EA83A98C0; Fri, 15 Sep 2023 13:19:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237104AbjIOUT0 (ORCPT + 99 others); Fri, 15 Sep 2023 16:19:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237315AbjIOUTB (ORCPT ); Fri, 15 Sep 2023 16:19:01 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 881A73C29; Fri, 15 Sep 2023 13:16:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BC22C433C7; Fri, 15 Sep 2023 20:16:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694808992; bh=nGXQTgrcs3KREIWY3zBQSQp1+XIT8pojI0mg2noKVnQ=; h=From:To:Cc:Subject:Date:From; b=lU1+XHUXZMAUFUqsXQSsCWZn+Uos3RB5wXCnDq9MbGB1AQW8Yjz153kXHq9JDHDux oyJ36pykFKv4/NmdromUyG1gfDJgVMkp21Rr+qTjY7C68fpabAt54ULJVlDpq7X8Ti U8mXKhd6tfQyIcE1ZDlr1KmYQkrANrN4qcIYLCvXD9oWadQdIu7srChOLtjs17efBx Fz2T4AroD88ycXuZ2ZELyInvT9zp5SV6oefZWwiATWrDnzCH2AT5OT/y+KvNlU9aJ4 btd2tkIB1hl6o+YLESH/MQ0zCndF1ulhWXnYwWjGjbSnRM2gPuZDmGw44wlqIqBzWO 5V/83jeoyrXdg== Received: (nullmailer pid 4180862 invoked by uid 1000); Fri, 15 Sep 2023 20:16:30 -0000 From: Rob Herring To: Damien Le Moal , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: ata: pata-common: Add missing additionalProperties on child nodes Date: Fri, 15 Sep 2023 15:16:20 -0500 Message-Id: <20230915201626.4180606-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 13:19:54 -0700 (PDT) The PATA child node schema is missing constraints to prevent unknown properties. As none of the users of this common binding extend the child nodes with additional properties, adding "additionalProperties: false" here is sufficient. Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/ata/pata-common.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/ata/pata-common.yaml b/Documentation/devicetree/bindings/ata/pata-common.yaml index 337ddf1113c4..4e867dd4d402 100644 --- a/Documentation/devicetree/bindings/ata/pata-common.yaml +++ b/Documentation/devicetree/bindings/ata/pata-common.yaml @@ -38,6 +38,7 @@ patternProperties: ID number 0 and the slave drive will have ID number 1. The PATA port nodes will be named "ide-port". type: object + additionalProperties: false properties: reg: -- 2.40.1