[PATCH net-next 4/8] dt-bindings: net: ethernet-switch: Add missing 'ethernet-ports' level
Arınç ÜNAL
arinc.unal at arinc9.com
Mon Oct 16 23:32:58 PDT 2023
On 17.10.2023 00:44, Rob Herring wrote:
> The '$defs/ethernet-ports' schema is referenced by schemas defining a
> child node 'ethernet-ports', but this schema misses the
> 'ethernet-ports' node. It would work if referring schemas made a
> reference like this:
>
> properties:
> ethernet-ports:
> $ref: ethernet-switch.yaml#/$defs/ethernet-ports
>
> However, that would be different from how dsa.yaml works. For
> consistency, align the schema definition with dsa.yaml and add the
> missing level.
>
> Signed-off-by: Rob Herring <robh at kernel.org>
Acked-by: Arınç ÜNAL <arinc.unal at arinc9.com>
Arınç
More information about the Linux-mediatek
mailing list