🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Krzysztof Kozlowski Fri, 09 Oct 2026 08:36
Re: [PATCH net-next 2/4] dt-bindings: net: qcom,ipq9574-ppe: Tighten ethernet port node constraints
#1116
Author: Krzysztof Kozlowski
Date: Fri, 09 Oct 2026 08:36
42 lines
7297 bytes
On Mon, Oct 05, 2026 at 05:29:13PM +0200, Til Kaiser wrote:
> The port node pattern "^ethernet-port@[1-6]+$" also matches multi-digit
> unit addresses such as ethernet-port@11, which the reg property does not
> allow. Drop the stray '+'.
> 
> Also restrict the ethernet-ports object to its declared properties.
> Without this, nodes outside the port pattern are accepted through the
> generic ethernet-switch schema.

Simple test shows that it is not true, so I do not get how you
reproduced it.

Are you sending some LLM output?

> 
> Signed-off-by: Til Kaiser <mail@tk154.de>
> ---
>  .../devicetree/bindings/net/qcom,ipq9574-ppe.yaml     | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/net/qcom,ipq9574-ppe.yaml b/Documentation/devicetree/bindings/net/qcom,ipq9574-ppe.yaml
> index 6d0b21a10732..1a78e2c82b90 100644
> --- a/Documentation/devicetree/bindings/net/qcom,ipq9574-ppe.yaml
> +++ b/Documentation/devicetree/bindings/net/qcom,ipq9574-ppe.yaml
> @@ -174,8 +174,17 @@ properties:
>        - interrupt-names
>  
>    ethernet-ports:
> +    type: object
> +    additionalProperties: false
> +
> +    properties:
> +      '#address-cells':
> +        const: 1
> +      '#size-cells':
> +        const: 0

No need for any of these.

Best regards,
Krzysztof
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads