commit | 50c7d2ba9de20f60a2d527ad6928209ef67e4cdd | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@gmail.com> | Fri Oct 18 17:02:46 2019 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 19 12:19:41 2019 -0700 |
tree | 40ca1db2461bd0a1479c2a041194b92fb49193ec | |
parent | 05908d72cc8fa39058cd9535db2833089cc3df6f [diff] |
net: dsa: fix switch tree list 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 <vivien.didelot@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>