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

From: Florian Fainelli
Date: Mon Nov 06 2017 - 20:47:58 EST


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 <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>

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