Re: [PATCH net-next 03/16] net: dsa: use ports list in dsa_to_port

2019-10-21 Thread Andrew Lunn
On Sat, Oct 19, 2019 at 11:19:28PM -0400, Vivien Didelot wrote: > Use the new ports list instead of accessing the dsa_switch array > of ports in the dsa_to_port helper. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Andrew

Re: [PATCH net-next 03/16] net: dsa: use ports list in dsa_to_port

2019-10-20 Thread Florian Fainelli
On 10/19/2019 8:19 PM, Vivien Didelot wrote: > Use the new ports list instead of accessing the dsa_switch array > of ports in the dsa_to_port helper. > > Signed-off-by: Vivien Didelot > --- > include/net/dsa.h | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/i

[PATCH net-next 03/16] net: dsa: use ports list in dsa_to_port

2019-10-19 Thread Vivien Didelot
Use the new ports list instead of accessing the dsa_switch array of ports in the dsa_to_port helper. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/net/dsa.h b/include/net/dsa.h index 6ff6dfcdc61d..938de9518