Re: [PATCH net-next v2 4/9] net: dsa: mv88e6xxx: allocate the number of ports

2017-03-31 Thread Andrew Lunn
On Thu, Mar 30, 2017 at 05:37:10PM -0400, Vivien Didelot wrote: > The current code allocates DSA_MAX_PORTS ports for a Marvell dsa_switch > structure. Provide the exact number of ports so the corresponding > ds->num_ports is accurate. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn

[PATCH net-next v2 4/9] net: dsa: mv88e6xxx: allocate the number of ports

2017-03-30 Thread Vivien Didelot
The current code allocates DSA_MAX_PORTS ports for a Marvell dsa_switch structure. Provide the exact number of ports so the corresponding ds->num_ports is accurate. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6xxx/chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi