Re: [PATCH net-next v4 04/15] net: dsa: vsc73xx: Add define for max num of ports

From: Vladimir Oltean
Date: Wed Feb 14 2024 - 19:09:43 EST


On Tue, Feb 13, 2024 at 11:03:17PM +0100, Pawel Dembicki 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>