Skip to contentSkip to conversation

dt-bindings: riscv: cpus: Add missing additionalProperties on interrupt-controller node

PATCH Applied Rob Herring 2 participants 3 messages Sep 15, 2023 – Sep 22, 2023

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: riscv: cpus: Add missing additionalProperties on interrupt-controller node

The "interrupt-controller" CPU child node is missing constraints on extra properties. Add "additionalProperties: false" to fix this.

---
 Documentation/devicetree/bindings/riscv/cpus.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/riscv/cpus.yaml +1 -0
index 38c0b5213736..97e8441eda1c 100644
@@ -91,6 +91,7 @@ properties:
 
   interrupt-controller:
     type: object
+    additionalProperties: false
     description: Describes the CPU's local interrupt controller
 
     properties:
Signature · 1 line
2.40.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Rob Herring

The "interrupt-controller" CPU child node is missing constraints on extra properties. Add "additionalProperties: false" to fix this.

Was wondering why I couldn't see this in my dt queue, guess get_maintainer.pl struggled with the multiple claims on the file :)

Thanks,
Conor.

Quoted 19 lines
---
 Documentation/devicetree/bindings/riscv/cpus.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/riscv/cpus.yaml +1 -0
index 38c0b5213736..97e8441eda1c 100644
@@ -91,6 +91,7 @@ properties:
 
   interrupt-controller:
     type: object
+    additionalProperties: false
     description: Describes the CPU's local interrupt controller
 
     properties:
Signature · 1 line
2.40.1
author maintainer Applied
#2 lore raw
In reply to Rob Herring
Quoted 8 lines · Rob Herring

The "interrupt-controller" CPU child node is missing constraints on extra properties. Add "additionalProperties: false" to fix this.

---
 Documentation/devicetree/bindings/riscv/cpus.yaml | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks!