Re: [PATCH net] net: dsa: fix switch tree list

2019-10-19 Thread David Miller
From: Vivien Didelot Date: Fri, 18 Oct 2019 17:02:46 -0400 > If there are multiple switch trees on the device, only the last one > will be listed, because the arguments of list_add_tail are swapped. > > Fixes: 83c0afaec7b7 ("net: dsa: Add new binding implementation") > Signed-off-by: Vivien Dide

Re: [PATCH net] net: dsa: fix switch tree list

2019-10-18 Thread Florian Fainelli
On 10/18/19 2:02 PM, Vivien Didelot wrote: > If there are multiple switch trees on the device, only the last one > will be listed, because the arguments of list_add_tail are swapped. > > Fixes: 83c0afaec7b7 ("net: dsa: Add new binding implementation") > Signed-off-by: Vivien Didelot Reviewed-by:

[PATCH net] net: dsa: fix switch tree list

2019-10-18 Thread Vivien Didelot
If there are multiple switch trees on the device, only the last one will be listed, because the arguments of list_add_tail are swapped. Fixes: 83c0afaec7b7 ("net: dsa: Add new binding implementation") Signed-off-by: Vivien Didelot --- net/dsa/dsa2.c | 2 +- 1 file changed, 1 insertion(+), 1 dele