lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 15 Sep 2021 17:32:38 +0530 From: Pratyush Yadav <p.yadav@...com> To: Mauro Carvalho Chehab <mchehab@...nel.org> CC: Pratyush Yadav <p.yadav@...com>, Laurent Pinchart <laurent.pinchart@...asonboard.com>, Nikhil Devshatwar <nikhil.nd@...com>, Tomi Valkeinen <tomi.valkeinen@...asonboard.com>, Vignesh Raghavendra <vigneshr@...com>, Benoit Parrot <bparrot@...com>, Maxime Ripard <mripard@...nel.org>, Rob Herring <robh+dt@...nel.org>, Sakari Ailus <sakari.ailus@...ux.intel.com>, Niklas Söderlund <niklas.soderlund+renesas@...natech.se>, <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>, <linux-media@...r.kernel.org> Subject: [PATCH v4 09/11] media: dt-bindings: Make sure items in data-lanes are unique The data-lanes property maps the logical lane numbers to the physical lane numbers. The position of an entry is the logical lane number and its value is the physical lane number. Since one physical lane can only map to one logical lane, no number in the list should repeat. Add the uniqueItems constraint on the property to enforce this. Signed-off-by: Pratyush Yadav <p.yadav@...com> --- Changes in v4: - New in v4. Documentation/devicetree/bindings/media/video-interfaces.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/video-interfaces.yaml b/Documentation/devicetree/bindings/media/video-interfaces.yaml index 4391dce2caee..4bce93efae5f 100644 --- a/Documentation/devicetree/bindings/media/video-interfaces.yaml +++ b/Documentation/devicetree/bindings/media/video-interfaces.yaml @@ -158,6 +158,7 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32-array minItems: 1 maxItems: 8 + uniqueItems: true items: # Assume up to 9 physical lane indices maximum: 8 -- 2.33.0
Powered by blists - more mailing lists