diff options
author | Vivien Didelot <vivien.didelot@gmail.com> | 2019-10-18 17:02:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-10 11:34:52 +0100 |
commit | 96ed7673dcb92986956af16d877fb43dc98202c0 (patch) | |
tree | 03ea027b8887bbeb95324e7f4dec752a17b4bd13 /lib/mpi/mpiutil.c | |
parent | 952f311789b0312217ee4da592534918cc7003c4 (diff) |
net: dsa: fix switch tree list
[ Upstream commit 50c7d2ba9de20f60a2d527ad6928209ef67e4cdd ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions