Re: [Patch net-next 5/9] net: dsa: microchip: move port memory allocation to ksz_common

From: Vladimir Oltean
Date: Wed May 18 2022 - 08:02:49 EST


On Tue, May 17, 2022 at 03:13:29PM +0530, Arun Ramadoss wrote:
> ksz8795 and ksz9477 init function initializes the memory to dev->ports,
> mib counters and assigns the ds real number of ports. Since both the
> routines are same, moved the allocation of port memory to
> ksz_switch_register after init.
>
> Signed-off-by: Arun Ramadoss <arun.ramadoss@xxxxxxxxxxxxx>
> ---

Reviewed-by: Vladimir Oltean <olteanv@xxxxxxxxx>