Re: [PATCH net-next] net: dsa: mv88e6xxx: rework port state setter

2016-03-10 Thread David Miller
From: Vivien Didelot Date: Mon, 7 Mar 2016 18:24:17 -0500 > Apply a few non-functional changes on the port state setter: > > * add a dynamic debug message with state names to track changes > * explicit states checking instead of assuming their numeric values > * lock mutex only once when

Re: [PATCH net-next] net: dsa: mv88e6xxx: rework port state setter

2016-03-08 Thread Andrew Lunn
On Mon, Mar 07, 2016 at 06:24:17PM -0500, Vivien Didelot wrote: > Apply a few non-functional changes on the port state setter: > > * add a dynamic debug message with state names to track changes > * explicit states checking instead of assuming their numeric values > * lock mutex only once wh

[PATCH net-next] net: dsa: mv88e6xxx: rework port state setter

2016-03-07 Thread Vivien Didelot
Apply a few non-functional changes on the port state setter: * add a dynamic debug message with state names to track changes * explicit states checking instead of assuming their numeric values * lock mutex only once when changing several port states * use bitmap macros to declare and acces