Re: [PATCH v4 net-next 5/6] net: dsa: add more const attributes

2017-11-09 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > The notify mechanism does not need to modify the port it is notifying. > So make the parameter const. > > Signed-off-by: Andrew Lunn Reviewed-by: Vivien Didelot

[PATCH v4 net-next 5/6] net: dsa: add more const attributes

2017-11-09 Thread Andrew Lunn
The notify mechanism does not need to modify the port it is notifying. So make the parameter const. Signed-off-by: Andrew Lunn --- net/dsa/dsa_priv.h | 4 ++-- net/dsa/port.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h in