diff mbox series

dt-bindings: net: can: fix dtbs warning

Message ID 20220128133142.2135718-1-dinguyen@kernel.org
State Accepted, archived
Headers show
Series dt-bindings: net: can: fix dtbs warning | expand

Checks

Context Check Description
robh/patch-applied success
robh/checkpatch success
robh/dtbs-check success
robh/dt-meta-schema success

Commit Message

Dinh Nguyen Jan. 28, 2022, 1:31 p.m. UTC
Mute the warning from "make dtbs_check":

Documentation/devicetree/bindings/net/can/bosch,m_can.example.dt.yaml:
can@20e8000: bosch,mram-cfg: [[0, 0, 0, 32, 0, 0, 0, 1]] is too short

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
 Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Rob Herring Feb. 10, 2022, 12:28 a.m. UTC | #1
On Fri, 28 Jan 2022 07:31:42 -0600, Dinh Nguyen wrote:
> Mute the warning from "make dtbs_check":
> 
> Documentation/devicetree/bindings/net/can/bosch,m_can.example.dt.yaml:
> can@20e8000: bosch,mram-cfg: [[0, 0, 0, 32, 0, 0, 0, 1]] is too short
> 
> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
> ---
>  Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
index 401ab7cdb379..035964a8609c 100644
--- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
+++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
@@ -101,6 +101,7 @@  properties:
       - description: Tx Buffers 0-32 elements / 0-576 words
         minimum: 0
         maximum: 32
+    minItems: 1
 
   power-domains:
     description: