Re: [PATCH net-next v5 04/16] net: dsa: vsc73xx: Add define for max num of ports
From: Linus Walleij
Date: Fri Feb 23 2024 - 17:51:01 EST
On Fri, Feb 23, 2024 at 10:02 PM Pawel Dembicki <paweldembicki@xxxxxxxxx> wrote:
> This patch introduces a new define: VSC73XX_MAX_NUM_PORTS, which can be
> used in the future instead of a hardcoded value.
>
> Currently, the only hardcoded value is vsc->ds->num_ports. It is being
> replaced with the new define.
>
> Suggested-by: Vladimir Oltean <olteanv@xxxxxxxxx>
> Signed-off-by: Pawel Dembicki <paweldembicki@xxxxxxxxx>
> Reviewed-by: Vladimir Oltean <olteanv@xxxxxxxxx>
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij