All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: net: can: fix dtbs warning
@ 2022-01-28 13:31 Dinh Nguyen
  2022-02-10  0:28 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Dinh Nguyen @ 2022-01-28 13:31 UTC (permalink / raw)
  To: robh+dt; +Cc: dinguyen, mkl, wg, linux-can, netdev, devicetree

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(+)

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:
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: net: can: fix dtbs warning
  2022-01-28 13:31 [PATCH] dt-bindings: net: can: fix dtbs warning Dinh Nguyen
@ 2022-02-10  0:28 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-02-10  0:28 UTC (permalink / raw)
  To: Dinh Nguyen; +Cc: linux-can, wg, robh+dt, netdev, mkl, devicetree

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-10  1:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 13:31 [PATCH] dt-bindings: net: can: fix dtbs warning Dinh Nguyen
2022-02-10  0:28 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.