Re: [PATCH net-next] net: dsa: bcm_sf2: dst in not an array

2017-08-03 Thread David Miller
From: Vivien Didelot Date: Wed, 2 Aug 2017 15:48:25 -0400 > It's been a while now since ds->dst is not an array anymore, but a > simple pointer to a dsa_switch_tree. > > Fortunately, SF2 does not support multi-chip and thus ds->index is > always 0. > >

Re: [PATCH net-next] net: dsa: bcm_sf2: dst in not an array

2017-08-02 Thread Florian Fainelli
On 08/02/2017 12:48 PM, Vivien Didelot wrote: > It's been a while now since ds->dst is not an array anymore, but a > simple pointer to a dsa_switch_tree. > > Fortunately, SF2 does not support multi-chip and thus ds->index is > always 0. > > This patch substitutes 'ds->dst[ds->index].' with

[PATCH net-next] net: dsa: bcm_sf2: dst in not an array

2017-08-02 Thread Vivien Didelot
It's been a while now since ds->dst is not an array anymore, but a simple pointer to a dsa_switch_tree. Fortunately, SF2 does not support multi-chip and thus ds->index is always 0. This patch substitutes 'ds->dst[ds->index].' with 'ds->dst->'. Signed-off-by: Vivien Didelot