Re: [PATCH net-next 01/11] net: dsa: constify cpu_dp member of dsa_port

2017-11-06 Thread Florian Fainelli
On 11/06/2017 01:11 PM, Vivien Didelot wrote: > A DSA port has a dedicated CPU port assigned to it, stored in the cpu_dp > member. It is not meant to be modified by a port, thus make it const. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli

Re: [PATCH net-next 01/11] net: dsa: constify cpu_dp member of dsa_port

2017-11-06 Thread Florian Fainelli
On 11/06/2017 01:11 PM, Vivien Didelot wrote: > A DSA port has a dedicated CPU port assigned to it, stored in the cpu_dp > member. It is not meant to be modified by a port, thus make it const. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian

[PATCH net-next 01/11] net: dsa: constify cpu_dp member of dsa_port

2017-11-06 Thread Vivien Didelot
A DSA port has a dedicated CPU port assigned to it, stored in the cpu_dp member. It is not meant to be modified by a port, thus make it const. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 2 +- net/dsa/slave.c | 2 +- 2 files changed, 2

[PATCH net-next 01/11] net: dsa: constify cpu_dp member of dsa_port

2017-11-06 Thread Vivien Didelot
A DSA port has a dedicated CPU port assigned to it, stored in the cpu_dp member. It is not meant to be modified by a port, thus make it const. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 2 +- net/dsa/slave.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git