Re: [PATCH net-next 15/16] net: dsa: allocate ports on touch

From: Florian Fainelli
Date: Sun Oct 20 2019 - 22:56:16 EST




On 10/19/2019 8:19 PM, Vivien Didelot wrote:
> Allocate the struct dsa_port the first time it is accessed with
> dsa_port_touch, and remove the static dsa_port array from the
> dsa_switch structure.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian