Re: [PATCH net-next v2 2/6] net: dsa: do not cast dst

2017-05-30 Thread Florian Fainelli
On 05/30/2017 11:33 AM, Vivien Didelot wrote: > dsa_ptr is not a void pointer anymore since Nov 2011, as of cf50dcc24f82 > ("dsa: Change dsa_uses_{dsa, trailer}_tags() into inline functions"), > but an explicit dsa_switch_tree pointer, thus remove the (void *) cast. > > Signed-off-by: Vivien

Re: [PATCH net-next v2 2/6] net: dsa: do not cast dst

2017-05-30 Thread Florian Fainelli
On 05/30/2017 11:33 AM, Vivien Didelot wrote: > dsa_ptr is not a void pointer anymore since Nov 2011, as of cf50dcc24f82 > ("dsa: Change dsa_uses_{dsa, trailer}_tags() into inline functions"), > but an explicit dsa_switch_tree pointer, thus remove the (void *) cast. > > Signed-off-by: Vivien

[PATCH net-next v2 2/6] net: dsa: do not cast dst

2017-05-30 Thread Vivien Didelot
dsa_ptr is not a void pointer anymore since Nov 2011, as of cf50dcc24f82 ("dsa: Change dsa_uses_{dsa, trailer}_tags() into inline functions"), but an explicit dsa_switch_tree pointer, thus remove the (void *) cast. Signed-off-by: Vivien Didelot ---

[PATCH net-next v2 2/6] net: dsa: do not cast dst

2017-05-30 Thread Vivien Didelot
dsa_ptr is not a void pointer anymore since Nov 2011, as of cf50dcc24f82 ("dsa: Change dsa_uses_{dsa, trailer}_tags() into inline functions"), but an explicit dsa_switch_tree pointer, thus remove the (void *) cast. Signed-off-by: Vivien Didelot --- net/dsa/dsa2.c | 2 +- net/dsa/legacy.c | 2