Re: [PATCH net-next] net: dsa: mv88e6xxx: replace ds with ps where possible

2016-05-01 Thread David Miller
From: Vivien Didelot Date: Thu, 28 Apr 2016 21:24:06 -0400 > From: Andrew Lunn > > The dsa_switch structure ds is actually needed in very few places, > mostly during setup of the switch. The private structure ps is however > needed nearly everywhere. Pass ps, not ds internally. > > [vd: rebase

Re: [PATCH net-next] net: dsa: mv88e6xxx: replace ds with ps where possible

2016-04-29 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > On Thu, Apr 28, 2016 at 09:24:06PM -0400, Vivien Didelot wrote: >> From: Andrew Lunn >> >> The dsa_switch structure ds is actually needed in very few places, >> mostly during setup of the switch. The private structure ps is however >> needed nearly everywhere.

Re: [PATCH net-next] net: dsa: mv88e6xxx: replace ds with ps where possible

2016-04-29 Thread Andrew Lunn
On Thu, Apr 28, 2016 at 09:24:06PM -0400, Vivien Didelot wrote: > From: Andrew Lunn > > The dsa_switch structure ds is actually needed in very few places, > mostly during setup of the switch. The private structure ps is however > needed nearly everywhere. Pass ps, not ds internally. > > [vd: reb

[PATCH net-next] net: dsa: mv88e6xxx: replace ds with ps where possible

2016-04-28 Thread Vivien Didelot
From: Andrew Lunn The dsa_switch structure ds is actually needed in very few places, mostly during setup of the switch. The private structure ps is however needed nearly everywhere. Pass ps, not ds internally. [vd: rebased Andrew's patch.] Signed-off-by: Andrew Lunn Signed-off-by: Vivien Didel